Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run acceptance tests on bionic stemcell #61

Merged
merged 1 commit into from
Jun 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ resources:
source:
name: bosh-google-kvm-ubuntu-xenial-go_agent

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

- name: os-conf-bosh-release
type: bosh-release-resource
source:
Expand Down Expand Up @@ -69,6 +74,8 @@ jobs:
trigger: true
- get: ubuntu-xenial-stemcell
trigger: true
- get: ubuntu-bionic-stemcell
trigger: true
- do:
- put: bbl-state
params:
Expand All @@ -87,6 +94,13 @@ jobs:
BOSH_DEPLOYMENT: os-conf-xenial
input_mapping:
stemcell: ubuntu-xenial-stemcell
- task: run-ubuntu-bionic-os-conf-acceptance-tests
file: os-conf-release/ci/tasks/run-acceptance-tests.yml
params:
BOSH_STEMCELL: ubuntu-bionic
BOSH_DEPLOYMENT: os-conf-bionic
input_mapping:
stemcell: ubuntu-bionic-stemcell
ensure:
put: bbl-state
params:
Expand Down
4 changes: 2 additions & 2 deletions sbin/test-acceptance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ set -e
BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"

export BOSH_BINARY_PATH=${BOSH_BINARY_PATH:-/usr/local/bin/bosh}
export BOSH_DEPLOYMENT=${BOSH_DEPLOYMENT:-os-conf-xenial}
export BOSH_STEMCELL=${BOSH_STEMCELL:-ubuntu-xenial}
export BOSH_DEPLOYMENT=${BOSH_DEPLOYMENT:-os-conf-bionic}
export BOSH_STEMCELL=${BOSH_STEMCELL:-ubuntu-bionic}

if [ -z ${BBL_STATE_DIR} ]; then
echo "'BBL_STATE_DIR' not set. You need to specify the path to the 'bbl-state.json' of a working bbl environment."
Expand Down