Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
Reference and Helper Services
CRS Catalog
Commits
0422ea45
Commit
0422ea45
authored
Aug 25, 2021
by
Yunhua Koglin
Browse files
merge aws eks to gitlab
parent
aeaad863
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
0422ea45
...
...
@@ -13,6 +13,9 @@ variables:
AWS_SERVICE
:
crs-catalog
AWS_ENVIRONMENT
:
dev
AWS_INT_TEST_TYPE
:
python
AWS_DEPLOY_TARGET
:
EKS
AWS_EKS_DEPLOYMENT_NAME
:
os-crs-catalog
IBM_BUILD_SUBDIR
:
provider/crs-catalog-ibm/crs-catalog-ocp
IBM_INT_TEST_PY_SUBDIR
:
testing/catalog_test_ibm
IBM_INT_TEST_PY_FILE
:
run_test.py
...
...
provider/crs-catalog-aws/build-aws/buildspec.yaml
View file @
0422ea45
...
...
@@ -21,6 +21,11 @@ env:
secrets-manager
:
DOCKER_USERNAME
:
/osdu/devops/docker_credentials:username
DOCKER_PASSWORD
:
/osdu/devops/docker_credentials:password
SONAR_USERNAME
:
/osdu/devops/sonar_credentials:username
SONAR_PASSWORD
:
/osdu/devops/sonar_credentials:password
parameter-store
:
SONAR_URL
:
/osdu/devops/sonar_url
phases
:
install
:
...
...
@@ -58,7 +63,7 @@ phases:
-
printenv
-
echo "Building primary service assemblies..."
-
mvn -B test install -pl crs-catalog-core,provider/crs-catalog-aws -Ddeployment.environment=prod
-
mvn -B test install
sonar:sonar
-pl
.,
crs-catalog-core,provider/crs-catalog-aws -Ddeployment.environment=prod
-Dsonar.login=${SONAR_USERNAME} -Dsonar.password=${SONAR_PASSWORD} -Dsonar.branch.name=${BRANCH_NAME}
-
echo "Building integration testing assemblies and gathering artifacts..."
-
./testing/catalog_test_aws/build-aws/prepare-dist.sh
...
...
@@ -78,6 +83,9 @@ phases:
python provider/crs-catalog-aws/build-aws/build-info.py --branch ${CODEBUILD_SOURCE_VERSION} --commit ${CODEBUILD_RESOLVED_SOURCE_VERSION} \
--buildid ${CODEBUILD_BUILD_ID} --buildnumber ${CODEBUILD_BUILD_NUMBER} --reponame ${REPO_NAME} --outdir ${OUTPUT_DIR} \
--artifact ${ECR_IMAGE}
post_build
:
commands
:
-
cp provider/crs-catalog-aws/target/dependency-check-report.html ${OUTPUT_DIR}
reports
:
SurefireReports
:
# CodeBuild will create a report group called "SurefireReports".
files
:
#Store all of the files
...
...
provider/crs-catalog-aws/maven/settings.xml
View file @
0422ea45
...
...
@@ -53,6 +53,17 @@
<azure.devops.token>
no-default
</azure.devops.token>
</properties>
</profile>
<profile>
<id>
sonar
</id>
<activation>
<activeByDefault>
true
</activeByDefault>
</activation>
<properties>
<sonar.host.url>
${env.SONAR_URL}
</sonar.host.url>
</properties>
</profile>
</profiles>
<servers>
...
...
provider/crs-catalog-aws/pom.xml
View file @
0422ea45
...
...
@@ -85,6 +85,18 @@
<redirectTestOutputToFile>
true
</redirectTestOutputToFile>
</configuration>
</plugin>
<plugin>
<groupId>
org.owasp
</groupId>
<artifactId>
dependency-check-maven
</artifactId>
<version>
6.2.2
</version>
<executions>
<execution>
<goals>
<goal>
check
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment