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

pass expires-on date for regression tests #4372

Merged
merged 1 commit into from
Jan 19, 2024
Merged
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
7 changes: 6 additions & 1 deletion .github/workflows/regression.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ jobs:
- name: Create Jumpbox Environment
if: always()
working-directory: automation/jumpbox
run: terraform apply --auto-approve
run: |
TF_VAR_expires_on="$(date -d '2 days' '+%Y-%m-%d')"
export TF_VAR_expires_on
terraform apply --auto-approve
- name: Notify Slack
if: failure() && github.ref_name == 'main'
uses: 8398a7/action-slack@v3
Expand Down Expand Up @@ -242,6 +245,8 @@ jobs:
fi
export TF_VAR_kots_addon_package_url="${{ github.event.inputs.addon_package_url || inputs.addon_package_url }}"
export TF_VAR_testim_branch="master"
TF_VAR_expires_on="$(date -d '2 days' '+%Y-%m-%d')"
export TF_VAR_expires_on
./${{ matrix.test.terraform_script }} apply
- name: Wait for instance to be ready
working-directory: automation/cluster
Expand Down
Loading