Skip to content

Commit

Permalink
Replace psycopg2 dependency within certain tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elnappo committed Apr 10, 2019
1 parent 4591702 commit ebda16f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ license_management:
entrypoint: [""]
allow_failure: true
script:
- replace_psycopg2
- license_management
artifacts:
paths: [gl-license-management-report.json]
Expand Down Expand Up @@ -201,6 +202,7 @@ dependency_scanning:
- docker:stable-dind
script:
- setup_docker
- replace_psycopg2
- dependency_scanning
artifacts:
reports:
Expand Down Expand Up @@ -1004,5 +1006,9 @@ rollout 100%:
kubectl delete secret --ignore-not-found -n "$KUBE_NAMESPACE" "$secret_name"
}

function replace_psycopg2() {
sed -i -- 's/psycopg2/psycopg2-binary/g' requirements.txt
}

before_script:
- *auto_devops

0 comments on commit ebda16f

Please sign in to comment.