mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-11940 - fix upstream flow - update-project script and upstream trigger (#8125)
* fix conflict * fix conflict * fix conflict * change pipe name * change PR name env variable * update PR title * fix pr condition * fix pr condition * final check
This commit is contained in:
9
.github/workflows/adf_alpha.yml
vendored
9
.github/workflows/adf_alpha.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: "alpha-adf"
|
||||
name: "upstream adf"
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
@@ -20,7 +20,7 @@ env:
|
||||
TRAVIS_COMMIT: ${{ github.sha }}
|
||||
BUILD_ID: ${{ github.run_id }}
|
||||
TRAVIS_RUN_NUMBER: ${{ github.run_attempt }}
|
||||
TRAVIS_BUILD_NUMBER: github-run-${{ github.run_id }}
|
||||
TRAVIS_BUILD_NUMBER: ${{ github.run_id }}
|
||||
JOB_ID: ${{ github.run_id }}
|
||||
PROXY_HOST_BPM: ${{ secrets.E2E_HOST }}
|
||||
E2E_HOST_APA: ${{ secrets.E2E_HOST_APA }}
|
||||
@@ -58,7 +58,7 @@ env:
|
||||
|
||||
jobs:
|
||||
trigger_adf:
|
||||
name: trigger adf test
|
||||
name: trigger adf
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@@ -73,7 +73,8 @@ jobs:
|
||||
- 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 12 * * *' }}
|
||||
run: |
|
||||
run: |
|
||||
pull_number=$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")
|
||||
npm install github-api
|
||||
./scripts/travis/update/update-project.sh -p $TRAVIS_BUILD_NUMBER -t $GH_TOKEN -v alpha -c $TRAVIS_COMMIT
|
||||
|
8
.github/workflows/pull-request.yml
vendored
8
.github/workflows/pull-request.yml
vendored
@@ -7,7 +7,10 @@ on:
|
||||
description: 'enable dry-run on artifact push'
|
||||
required: false
|
||||
type: boolean
|
||||
default: true
|
||||
default: true
|
||||
push:
|
||||
branches:
|
||||
- AAE-12046-pr-condition
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
branches:
|
||||
@@ -66,7 +69,8 @@ env:
|
||||
|
||||
jobs:
|
||||
setup:
|
||||
# long timeout required when cache has to be recreated
|
||||
|
||||
# long timeout required when cache has to be recreated
|
||||
timeout-minutes: 30
|
||||
name: "Setup"
|
||||
runs-on: ubuntu-22.04
|
||||
|
Reference in New Issue
Block a user