Skip to content

Commit

Permalink
Fix postgres integration test job
Browse files Browse the repository at this point in the history
This commit fetches postgres integration image and runs the rake task to
execute integration tests.

Signed-off-by: Aram Price <aram.price@broadcom.com>
  • Loading branch information
rajathagasthya authored and aramprice committed Jan 13, 2025
1 parent 395967a commit 954fd9b
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ jobs:
build_logs_to_retain: 250
plan:
- in_parallel:
- get: bosh-src
- get: bosh-ci
resource: bosh-src
trigger: true
- get: version-semver
params: {bump: patch}
Expand All @@ -95,21 +96,22 @@ jobs:
trigger: true
- get: integration-tests-parallel-runtime
- get: config-server
- get: integration-postgres-15-image

- task: build-linux-amd64
file: bosh-cli/ci/tasks/build-linux-amd64.yml

- task: tests
privileged: true
input_mapping:
bosh: bosh-src
bosh-ci: bosh-src
bosh: bosh-ci
bosh-cli: compiled-linux-amd64
file: bosh-src/ci/tasks/test-integration.yml
file: bosh-ci/ci/tasks/test-rake-task.yml
image: integration-postgres-15-image
params:
DB: postgresql
DB_VERSION: 15
DB_TLS: true
RAKE_TASK: "spec:integration"
COVERAGE: false

- name: pre-release-fan-in
public: true
Expand Down Expand Up @@ -442,6 +444,14 @@ resources:
username: ((bosh-dockerhub.username))
password: ((bosh-dockerhub.password))

- name: integration-postgres-15-image
type: docker-image
source:
password: ((dockerhub_password))
repository: bosh/main-postgres-15
tag: main
username: ((dockerhub_username))

- name: release-bucket-linux
type: gcs-resource
source:
Expand Down

0 comments on commit 954fd9b

Please sign in to comment.