Skip to content

Commit

Permalink
add acceptance tests on jammy
Browse files Browse the repository at this point in the history
we should test this release and jammy and bionic stemcells as these
are both currently in use with the OSS community. add additional
acceptance job for jammy and update contraints on passing both jobs.
  • Loading branch information
nouseforaname committed Jul 20, 2022
1 parent 83597c9 commit 9144afc
Showing 1 changed file with 33 additions and 4 deletions.
37 changes: 33 additions & 4 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
groups:
- name: os-conf-release
jobs:
- os-conf-release-acceptance-tests
- os-conf-release-acceptance-tests-bionic
- os-conf-release-acceptance-tests-jammy
- finalize-release
- bump-deps

Expand All @@ -29,7 +30,12 @@ resources:
- name: ubuntu-bionic-stemcell
type: bosh-io-stemcell
source:
name: bosh-google-kvm-ubuntu-bionic-go_agent
name: bosh-google-kvm-ubuntu-jammy-go_agent

- name: ubuntu-jammy-stemcell
type: bosh-io-stemcell
source:
name: bosh-google-kvm-ubuntu-jammy-go_agent

- name: os-conf-bosh-release
type: bosh-release-resource
Expand Down Expand Up @@ -64,7 +70,30 @@ resources:
password: ((docker.password))

jobs:
- name: os-conf-release-acceptance-tests
- name: os-conf-release-acceptance-tests-jammy
plan:
- in_parallel:
- get: os-conf-release
trigger: true
- get: ubuntu-jammy-stemcell
trigger: true
- get: bosh-ecosystem-docker-image
- task: run-ubuntu-jammy-os-conf-acceptance-tests
file: os-conf-release/ci/tasks/run-acceptance-tests.yml
image: bosh-ecosystem-docker-image
params:
BOSH_CA_CERT: ((iaas_directors_gcp-director_bosh_ca_cert.ca))
BOSH_CLIENT: ((iaas_directors_gcp-director_bosh_client.username))
BOSH_CLIENT_SECRET: ((iaas_directors_gcp-director_bosh_client.password))
BOSH_DEPLOYMENT: os-conf-jammy
BOSH_ENVIRONMENT: ((iaas_directors_gcp-director_bosh_environment))
BOSH_JUMPBOX_IP: ((iaas_directors_gcp-director_bosh_jumpbox_ip))
BOSH_JUMPBOX_PRIVATE_KEY: ((iaas_directors_gcp-director_bosh_jumpbox_ssh.private_key))
BOSH_JUMPBOX_USER: ((iaas_directors_gcp-director_bosh_jumpbox_username))
BOSH_STEMCELL: ubuntu-jammy
input_mapping:
stemcell: ubuntu-jammy-stemcell
- name: os-conf-release-acceptance-tests-bionic
plan:
- in_parallel:
- get: os-conf-release
Expand Down Expand Up @@ -92,7 +121,7 @@ jobs:
plan:
- in_parallel:
- get: os-conf-release
passed: [os-conf-release-acceptance-tests]
passed: [os-conf-release-acceptance-tests-jammy,os-conf-release-acceptance-tests-bionic]
- get: os-conf-version
- put: os-conf-bosh-release
params:
Expand Down

0 comments on commit 9144afc

Please sign in to comment.