mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Cron - Separate cron e2e from upstream and for different repo (#8300)
* separate cron e2e from upstream and for different repo * remove useless env --------- Co-authored-by: alfresco-build <alfresco-build@hyland.com>
This commit is contained in:
5
.github/workflows/adf_alpha.yml
vendored
5
.github/workflows/adf_alpha.yml
vendored
@@ -22,10 +22,11 @@ on:
|
||||
type: choice
|
||||
required: true
|
||||
options:
|
||||
- all
|
||||
- alfresco-content-app
|
||||
- alfresco-applications
|
||||
- alfresco-apps
|
||||
- alfresco-content-app
|
||||
default: alfresco-applications
|
||||
default: all
|
||||
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
name: "cron schedule"
|
||||
name: "cron e2e daily"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
@@ -53,15 +53,3 @@ jobs:
|
||||
name: run e2e
|
||||
uses: ./.github/workflows/pull-request.yml
|
||||
secrets: inherit
|
||||
|
||||
adf-alpha-test:
|
||||
name: trigger alpha test
|
||||
uses: ./.github/workflows/adf_alpha.yml
|
||||
secrets: inherit
|
||||
|
||||
adf-upstream-alpha-hxp:
|
||||
name: trigger upstream alpha for hxp monorepo
|
||||
uses: ./.github/workflows/adf_alpha.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
repo_to_update: alfresco-apps
|
27
.github/workflows/cron-upstream.yml
vendored
Normal file
27
.github/workflows/cron-upstream.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: "cron upstream daily"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 12 * * *'
|
||||
|
||||
jobs:
|
||||
adf-upstream-alpha-alfresco-aca:
|
||||
name: trigger upstream alpha for alfresco-content-app
|
||||
uses: ./.github/workflows/adf_alpha.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
repo_to_update: alfresco-content-app
|
||||
|
||||
adf-upstream-alpha-alfresco-apps:
|
||||
name: trigger upstream alpha for alfresco-applications
|
||||
uses: ./.github/workflows/adf_alpha.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
repo_to_update: alfresco-applications
|
||||
|
||||
adf-upstream-alpha-hxp:
|
||||
name: trigger upstream alpha for hxp monorepo
|
||||
uses: ./.github/workflows/adf_alpha.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
repo_to_update: alfresco-apps
|
@@ -157,15 +157,16 @@ rm -rf $TEMP_GENERATOR_DIR
|
||||
|
||||
|
||||
if [ "$DRY_RUN" = "false" ]; then
|
||||
if [ "$REPO" = "alfresco-apps" ]; then
|
||||
update $REPO
|
||||
else
|
||||
if [ "$REPO" = "all" ]; then
|
||||
update "generator-alfresco-adf-app"
|
||||
update "alfresco-content-app"
|
||||
update "alfresco-applications"
|
||||
update "alfresco-apps"
|
||||
else
|
||||
update $REPO
|
||||
fi
|
||||
else
|
||||
echo "[dry-run] it would have update repos: 'generator-alfresco-adf-app', 'alfresco-content-app', $REPO"
|
||||
echo "[dry-run] it would have update repos: $REPO "
|
||||
fi
|
||||
|
||||
exit $?
|
||||
|
Reference in New Issue
Block a user