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

Apply license in backup tests #1264

Closed
wants to merge 2 commits into from
Closed
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
4 changes: 4 additions & 0 deletions .expeditor/verify_private.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,10 @@ steps:
- integration/run_test integration/tests/backup.sh
timeout_in_minutes: 20
expeditor:
secrets:
A2_LICENSE:
path: secret/a2/license
field: license
executor:
linux:
privileged: true
Expand Down
6 changes: 6 additions & 0 deletions integration/tests/backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ test_name="backup"
test_backup_restore=true
test_diagnostics_filters="~iam-v2"

do_deploy() {
do_deploy_default
log_info "applying dev license"
chef-automate license apply "$A2_LICENSE"
}

do_restore() {
test_metadata_sha256_mismatch_fails || return 1
test_missing_checksums_file_fails || return 1
Expand Down