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
Domain Data Mgmt Services
Wellbore
Wellbore Domain Services
Commits
85c1592a
Commit
85c1592a
authored
Sep 02, 2021
by
Yunhua Koglin
Browse files
restore
parent
9125be6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
provider/os-wellbore-ddms-aws/build-aws/buildspec.yaml
View file @
85c1592a
...
...
@@ -57,14 +57,18 @@ phases:
-
./tests/aws-test/build-aws/prepare-dist.sh
-
aws codeartifact login --tool pip --domain osdu-dev --domain-owner $AWS_ACCOUNT_ID --repository pypi-store
-
pip config set global.extra-index-url https://community.opengroup.org/api/v4/projects/465/packages/pypi/simple/
-
pip install -r ./requirements.txt
-
pip install -r ./requirements_dev.txt
# using jar instead of executable since exe requires 32 bit image and doesn't work on codebuild 4.0
-
|
java -jar sonar-scanner-4.6.2.2472/lib/sonar-scanner-cli-4.6.2.2472.jar -Dsonar.projectKey=wellbore-ddms -Dsonar.host.url=${SONAR_URL} \
-Dsonar.login=${SONAR_USERNAME} -Dsonar.password=${SONAR_PASSWORD} -Dsonar.branch.name=${BRANCH_NAME}
-
safety check -r requirements.txt -r requirements_dev.txt -o safety_check.txt; EXITCODE=$?
-
echo "Logging into Docker Hub..."
-
docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
...
...
@@ -74,9 +78,7 @@ phases:
-
echo "Pushing docker image..."
-
docker push ${ECR_IMAGE}
-
docker push ${ECR_IMAGE_BRANCH_LATEST}
-
pip install -r ./requirements.txt
-
pip install -r ./requirements_dev.txt
-
python -m pytest --junit-xml=unit_tests_report.xml --cov=app --cov-report=html --cov-report=xml ./tests/unit
-
echo "Generate build-info.json"
...
...
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