mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
AAE-11940 - fix alpha adf test in cron workflow (#8113)
* AAE-11940 add env variable to alpha test * fix adf test output * fix adf test output * fix module dependency * fix update-project script output * fix update-project script output * fix update-project script output * fix update-project script output * fix update-project script output * fix update-project script output * fix update-project script output * adding a dry-run mode for adf alpha test script * add dry-run and set cron at 12:00 * change tag sha action * change tag sha action * change tag sha action * remove check bundle from cron workflow * adjust cron
This commit is contained in:
7
.github/workflows/adf_alpha.yml
vendored
7
.github/workflows/adf_alpha.yml
vendored
@@ -15,6 +15,7 @@ env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
GITHUB_BRANCH: ${{ github.ref_name }}
|
||||
GH_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
|
||||
TRAVIS_BUILD_DIR: ${{ github.workspace }}
|
||||
TRAVIS_COMMIT: ${{ github.sha }}
|
||||
BUILD_ID: ${{ github.run_id }}
|
||||
@@ -66,6 +67,8 @@ jobs:
|
||||
fetch-depth: 0
|
||||
- name: Trigger Alpha ADF child build
|
||||
shell: bash
|
||||
if: ${{ contains(github.event.head_commit.message, '[trigger adf]') || inputs.cluster_operation == 'TRIGGER_ALPHA_ADF' || github.event.schedule == '0 0 1 * *' }}
|
||||
run: ./scripts/travis/update/update-project.sh -p $TRAVIS_BUILD_NUMBER -t $GITHUB_TOKEN -v alpha -c $TRAVIS_COMMIT
|
||||
if: ${{ contains(github.event.head_commit.message, '[trigger adf]') || inputs.cluster_operation == 'TRIGGER_ALPHA_ADF' || github.event.schedule == '0 11 * * *' }}
|
||||
run: |
|
||||
npm install github-api
|
||||
./scripts/travis/update/update-project.sh -p $TRAVIS_BUILD_NUMBER -t $GH_TOKEN -v alpha -c $TRAVIS_COMMIT -d
|
||||
|
12
.github/workflows/cron.yml
vendored
12
.github/workflows/cron.yml
vendored
@@ -2,7 +2,7 @@ name: "cron schedule"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 1 * *'
|
||||
- cron: '0 11 * * *'
|
||||
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
@@ -52,15 +52,7 @@ jobs:
|
||||
run-e2e:
|
||||
name: run e2e
|
||||
uses: ./.github/workflows/pull-request.yml
|
||||
secrets: inherit
|
||||
|
||||
npm-check-bundle:
|
||||
timeout-minutes: 10
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- uses: ./.github/actions/npm-check-bundle
|
||||
secrets: inherit
|
||||
|
||||
adf-alpha-test:
|
||||
name: trigger alpha test
|
||||
|
Reference in New Issue
Block a user