Skip to content

Commit

Permalink
fix expires-on date command (#4375)
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig O'Donnell authored Jan 19, 2024
1 parent 25e4fc4 commit e77ce67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/regression.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
if: always()
working-directory: automation/jumpbox
run: |
TF_VAR_expires_on="$(date -d '2 days' '+%Y-%m-%d')"
TF_VAR_expires_on="$(date -d '+2 days' '+%Y-%m-%d')"
export TF_VAR_expires_on
terraform apply --auto-approve
- name: Notify Slack
Expand Down Expand Up @@ -245,7 +245,7 @@ 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')"
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
Expand Down

0 comments on commit e77ce67

Please sign in to comment.