Skip to content
Snippets Groups Projects
Commit aa2749b6 authored by Vihar Mamania's avatar Vihar Mamania
Browse files

Moving to single CI/CD pipeline

parent 0f8bbfd7
No related branches found
No related tags found
1 merge request!986Moving to single CI/CD pipeline
Pipeline #308464 canceled
......@@ -64,8 +64,21 @@ include:
- project: "osdu/platform/ci-cd-pipelines"
file: "cloud-providers/ibm.yml"
- local: "devops/gc/pipeline/override-stages.yml"
- local: "devops/core-plus/pipeline/override-stages.yml"
- project: "osdu/platform/ci-cd-pipelines"
file: "cloud-providers/aws-one-pipeline.yml"
- project: "osdu/platform/ci-cd-pipelines"
file: "cloud-providers/azure-one-pipeline.yml"
- project: "osdu/platform/ci-cd-pipelines"
file: "cloud-providers/gc-one-pipeline.yml"
- project: "osdu/platform/ci-cd-pipelines"
file: "cloud-providers/ibm-one-pipeline.yml"
- local: "devops/gc/pipeline/override-stages.yml"
- local: "/publish.yml"
# disable the eslint scanner
......
......@@ -30,15 +30,6 @@
</license>
</licenses>
<modules>
<module>storage-core</module>
<module>storage-core-plus</module>
<module>provider/storage-aws</module>
<module>provider/storage-azure</module>
<module>provider/storage-gc</module>
<module>provider/storage-ibm</module>
</modules>
<properties>
<java.version>17</java.version>
<maven.compiler.target>17</maven.compiler.target>
......@@ -232,6 +223,40 @@
</publish.releases.url>
</properties>
</profile>
<profile>
<id>core</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>storage-core</module>
<module>storage-core-plus</module>
</modules>
</profile>
<profile>
<id>aws</id>
<modules>
<module>provider/storage-aws</module>
</modules>
</profile>
<profile>
<id>azure</id>
<modules>
<module>provider/storage-azure</module>
</modules>
</profile>
<profile>
<id>ibm</id>
<modules>
<module>provider/storage-ibm</module>
</modules>
</profile>
<profile>
<id>gc</id>
<modules>
<module>provider/storage-gc</module>
</modules>
</profile>
</profiles>
<repositories>
......
......@@ -73,8 +73,8 @@ phases:
- if [ "$GIT_SECRETS_SCAN_RESULT" = "FAILED" ]; then echo "Secrets detected!" && exit 1; fi
- echo "Building primary service assemblies..."
- mvn -ntp -B test install -pl .,storage-core,provider/storage-aws -Ddeployment.environment=prod
- mvn sonar:sonar -pl .,provider/storage-aws -Dsonar.login=${SONAR_USERNAME} -Dsonar.password=${SONAR_PASSWORD} -Dsonar.branch.name=${BRANCH_NAME} -Dsonar.host.url=${SONAR_URL}
- mvn -ntp -B test install -pl .,storage-core,provider/storage-aws -P core,aws -Ddeployment.environment=prod
- mvn sonar:sonar -pl .,provider/storage-aws -P aws -Dsonar.login=${SONAR_USERNAME} -Dsonar.password=${SONAR_PASSWORD} -Dsonar.branch.name=${BRANCH_NAME} -Dsonar.host.url=${SONAR_URL}
- echo "Building integration testing assemblies and gathering artifacts..."
- ./testing/storage-test-aws/build-aws/prepare-dist.sh
......
......@@ -123,7 +123,7 @@
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>oauth2-oidc-sdk</artifactId>
<version>9.15</version>
<version>10.15</version>
</dependency>
</dependencies>
......
......@@ -46,7 +46,7 @@
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>oauth2-oidc-sdk</artifactId>
<version>9.15</version>
<version>10.15</version>
</dependency>
<dependency>
<groupId>junit</groupId>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment