Commit f9e698dd authored by Yunhua Koglin's avatar Yunhua Koglin
Browse files


parent a26cf5bb
......@@ -72,13 +72,10 @@ phases:
- aws codeartifact login --tool pip --domain osdu-dev --domain-owner $AWS_ACCOUNT_ID --repository pypi-store
- pip config set global.extra-index-url
- 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- -Dsonar.projectKey=wellbore-ddms${SONAR_URL} \
-Dsonar.login=${SONAR_USERNAME} -Dsonar.password=${SONAR_PASSWORD}${BRANCH_NAME}
- safety check -r requirements.txt -r requirements_dev.txt -o safety_check.txt; EXITCODE=$?
- echo "Logging into Docker Hub..."
......@@ -91,6 +88,8 @@ phases:
- 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"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment