enabling dry run

This commit is contained in:
maurizio-cacace 2023-01-11 12:19:29 +01:00
parent c4dbda49eb
commit e7624f031a
No known key found for this signature in database
GPG Key ID: BC860F452395F645
2 changed files with 3 additions and 2 deletions

View File

@ -67,7 +67,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Trigger Alpha ADF child build - name: Trigger Alpha ADF child build
shell: bash shell: bash
if: ${{ contains(github.event.head_commit.message, '[trigger adf]') || inputs.cluster_operation == 'TRIGGER_ALPHA_ADF' || github.event.schedule == '0 11 * * *' }} if: ${{ contains(github.event.head_commit.message, '[trigger adf]') || inputs.cluster_operation == 'TRIGGER_ALPHA_ADF' || github.event.schedule == '0 12 * * *' }}
run: | run: |
npm install github-api npm install github-api
./scripts/travis/update/update-project.sh -p $TRAVIS_BUILD_NUMBER -t $GH_TOKEN -v alpha -c $TRAVIS_COMMIT -d ./scripts/travis/update/update-project.sh -p $TRAVIS_BUILD_NUMBER -t $GH_TOKEN -v alpha -c $TRAVIS_COMMIT -d

View File

@ -2,7 +2,7 @@ name: "cron schedule"
on: on:
schedule: schedule:
- cron: '0 11 * * *' - cron: '0 12 * * *'
env: env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
@ -57,3 +57,4 @@ jobs:
adf-alpha-test: adf-alpha-test:
name: trigger alpha test name: trigger alpha test
uses: ./.github/workflows/adf_alpha.yml uses: ./.github/workflows/adf_alpha.yml
secrets: inherit