Skip to content

Commit

Permalink
add utc. improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenruizdegauna committed Feb 20, 2025
1 parent 59c76d0 commit c160495
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: set README and a file that will not be rolled back
run: |
echo "This folder is meant to test the disaster recevery dry-run." > DISASTER_TEST_README.md
echo "This folder is meant to test the disaster recovery test." > DISASTER_TEST_README.md
echo "Just to periodically ensure the procedure works" >> DISASTER_TEST_README.md
aws s3 cp DISASTER_TEST_README.md s3://${{ env.BUCKET_NAME }}/${{ env.MANDATORY_PREFIX }}/README.md
echo "This file should be present after running the procedure" > PERPETUAL_FILE.md
Expand All @@ -67,7 +67,7 @@ jobs:
- name: Get current datetime and sleep for a couple of minutes
run: |
now=$( date +"%m-%d-%Y %H:%M:%S %z" )
now=$( date --utc +"%m-%d-%Y %H:%M:%S %z" )
echo "INIT_DATETIME=$now" >> $GITHUB_ENV
sleep 120
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
with:
payload: |
{
"text": ":rotating_light: Dry-Run Recover S3 Repository failed :warning: :warning: :warning: @hero check <${{ env.GITHUB_JOB_URL }}> :rotating_light:"
"text": ":rotating_light: Testing Recover S3 Repository failed :warning: :warning: :warning: @hero check <${{ env.GITHUB_JOB_URL }}> :rotating_light:"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.OHAI_SLACK_WEBHOOK }}
Expand All @@ -128,7 +128,7 @@ jobs:
with:
payload: |
{
"text": ":rotating_light: Dry-Run Recover S3 Repository failed :warning: :warning: :warning: @hero check <${{ env.GITHUB_JOB_URL }}> :rotating_light:"
"text": ":rotating_light: Testing Recover S3 Repository failed :warning: :warning: :warning: @hero check <${{ env.GITHUB_JOB_URL }}> :rotating_light:"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.AC_SLACK_WEBHOOK }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: set README and a file that will not be rolled back
run: |
echo "This folder is meant to test the disaster recevery dry-run." > DISASTER_TEST_README.md
echo "This folder is meant to test the disaster recovery test." > DISASTER_TEST_README.md
echo "Just to periodically ensure the procedure works" >> DISASTER_TEST_README.md
aws s3 cp DISASTER_TEST_README.md s3://${{ env.BUCKET_NAME }}/${{ env.MANDATORY_PREFIX }}/README.md
echo "This file should be present after running the procedure" > PERPETUAL_FILE.md
Expand All @@ -67,7 +67,7 @@ jobs:
- name: Get current datetime and sleep for a couple of minutes
run: |
now=$( date +"%m-%d-%Y %H:%M:%S %z" )
now=$( date --utc +"%m-%d-%Y %H:%M:%S %z" )
echo "INIT_DATETIME=$now" >> $GITHUB_ENV
sleep 120
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
with:
payload: |
{
"text": ":rotating_light: Dry-Run Recover S3 Repository failed :warning: :warning: :warning: @hero check <${{ env.GITHUB_JOB_URL }}> :rotating_light:"
"text": ":rotating_light: Testing Recover S3 Repository failed :warning: :warning: :warning: @hero check <${{ env.GITHUB_JOB_URL }}> :rotating_light:"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.OHAI_SLACK_WEBHOOK }}
Expand All @@ -128,7 +128,7 @@ jobs:
with:
payload: |
{
"text": ":rotating_light: Dry-Run Recover S3 Repository failed :warning: :warning: :warning: @hero check <${{ env.GITHUB_JOB_URL }}> :rotating_light:"
"text": ":rotating_light: Testing Recover S3 Repository failed :warning: :warning: :warning: @hero check <${{ env.GITHUB_JOB_URL }}> :rotating_light:"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.AC_SLACK_WEBHOOK }}
Expand Down

0 comments on commit c160495

Please # to comment.