From 7e43b00f233d51534ea748deccf074b6b18ce497 Mon Sep 17 00:00:00 2001 From: PHAM HOANG HUNG Date: Tue, 16 Jul 2024 14:21:11 +0700 Subject: [PATCH 1/7] add dev-10 build --- .github/workflows/dev-10.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/dev-10.yml diff --git a/.github/workflows/dev-10.yml b/.github/workflows/dev-10.yml new file mode 100644 index 0000000..54120e2 --- /dev/null +++ b/.github/workflows/dev-10.yml @@ -0,0 +1,23 @@ +name: Dev-Build + +on: + workflow_call: + inputs: + mvnArgs: + type: string + required: false + ivyVersion: + type: string + default: nightly-10.0 + description: the ivy version to use (e.g. dev/nightly/nightly-10/...) + secrets: + mvnArgs: + required: false + +jobs: + build: + uses: axonivy-market/github-workflows/.github/workflows/ci.yml@v2 + with: + mvnArgs: '"-Divy.engine.download.url=https://dev.axonivy.com/permalink/${{ inputs.ivyVersion }}/axonivy-engine.zip" "-Divy.engine.version=(10.0.0,]" ${{ inputs.mvnArgs }}' + secrets: + mvnArgs: '${{ secrets.mvnArgs }}' From a4ea2655a042bc23c5549d8d25889e7448cf8892 Mon Sep 17 00:00:00 2001 From: PHAM HOANG HUNG Date: Tue, 16 Jul 2024 14:24:17 +0700 Subject: [PATCH 2/7] Change name to dev-10-build --- .github/workflows/dev-10.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dev-10.yml b/.github/workflows/dev-10.yml index 54120e2..fb6ae4e 100644 --- a/.github/workflows/dev-10.yml +++ b/.github/workflows/dev-10.yml @@ -1,4 +1,4 @@ -name: Dev-Build +name: Dev-10-Build on: workflow_call: From 0da4b00e4bdb3945288a1458b5219d6b9ea6a1d5 Mon Sep 17 00:00:00 2001 From: PHAM HOANG HUNG Date: Tue, 16 Jul 2024 15:04:14 +0700 Subject: [PATCH 3/7] trigger run dev-10 build for the branch release/10.0 --- .github/workflows/dev-10.yml | 5 ++++- .github/workflows/dev.yml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev-10.yml b/.github/workflows/dev-10.yml index fb6ae4e..8252c16 100644 --- a/.github/workflows/dev-10.yml +++ b/.github/workflows/dev-10.yml @@ -9,10 +9,13 @@ on: ivyVersion: type: string default: nightly-10.0 - description: the ivy version to use (e.g. dev/nightly/nightly-10/...) + description: the ivy version to use (e.g. dev/nightly/nightly-10.0/...) secrets: mvnArgs: required: false + pull_request: + branches: + - release/10.0 jobs: build: diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 86ba3b2..28559ef 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -9,7 +9,7 @@ on: ivyVersion: type: string default: dev - description: the ivy version to use (e.g. dev/nightly/nightly-10/...) + description: the ivy version to use (e.g. dev/nightly/nightly-10.0/...) secrets: mvnArgs: required: false From 1d8009dcbdf0c367f7ba737ea57e9ee820f049ed Mon Sep 17 00:00:00 2001 From: PHAM HOANG HUNG Date: Tue, 16 Jul 2024 15:10:36 +0700 Subject: [PATCH 4/7] change dev build for branch master --- .github/workflows/dev.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 28559ef..2df9b7d 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -13,6 +13,9 @@ on: secrets: mvnArgs: required: false + pull_request: + branches: + - master jobs: build: From 7a6afe83f7480edc3b9cb97e90019223fbc164c8 Mon Sep 17 00:00:00 2001 From: PHAM HOANG HUNG Date: Tue, 16 Jul 2024 15:26:07 +0700 Subject: [PATCH 5/7] update to push event --- .github/workflows/dev-10.yml | 2 +- .github/workflows/dev.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev-10.yml b/.github/workflows/dev-10.yml index 8252c16..7b56db4 100644 --- a/.github/workflows/dev-10.yml +++ b/.github/workflows/dev-10.yml @@ -13,7 +13,7 @@ on: secrets: mvnArgs: required: false - pull_request: + push: branches: - release/10.0 diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 2df9b7d..6d8391a 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -13,7 +13,7 @@ on: secrets: mvnArgs: required: false - pull_request: + push: branches: - master From 4fd2cf97d8bd23f09ff47cc374c6dce29df257c0 Mon Sep 17 00:00:00 2001 From: PHAM HOANG HUNG Date: Tue, 16 Jul 2024 15:58:17 +0700 Subject: [PATCH 6/7] change build with ci build v3 --- .github/workflows/dev-10.yml | 2 +- .github/workflows/dev.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev-10.yml b/.github/workflows/dev-10.yml index 7b56db4..01ded5b 100644 --- a/.github/workflows/dev-10.yml +++ b/.github/workflows/dev-10.yml @@ -19,7 +19,7 @@ on: jobs: build: - uses: axonivy-market/github-workflows/.github/workflows/ci.yml@v2 + uses: axonivy-market/github-workflows/.github/workflows/ci.yml@v3 with: mvnArgs: '"-Divy.engine.download.url=https://dev.axonivy.com/permalink/${{ inputs.ivyVersion }}/axonivy-engine.zip" "-Divy.engine.version=(10.0.0,]" ${{ inputs.mvnArgs }}' secrets: diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 6d8391a..a48ddb9 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -19,7 +19,7 @@ on: jobs: build: - uses: axonivy-market/github-workflows/.github/workflows/ci.yml@v2 + uses: axonivy-market/github-workflows/.github/workflows/ci.yml@v3 with: mvnArgs: '"-Divy.engine.download.url=https://dev.axonivy.com/permalink/${{ inputs.ivyVersion }}/axonivy-engine.zip" "-Divy.engine.version=(10.0.0,]" ${{ inputs.mvnArgs }}' secrets: From 20ee60fbc5473294a6f23f73ca561e8e00e1cfea Mon Sep 17 00:00:00 2001 From: PHAM HOANG HUNG Date: Wed, 17 Jul 2024 11:38:48 +0700 Subject: [PATCH 7/7] revert ci v3 to v2 for testing --- .github/workflows/dev-10.yml | 2 +- .github/workflows/dev.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev-10.yml b/.github/workflows/dev-10.yml index 01ded5b..7b56db4 100644 --- a/.github/workflows/dev-10.yml +++ b/.github/workflows/dev-10.yml @@ -19,7 +19,7 @@ on: jobs: build: - uses: axonivy-market/github-workflows/.github/workflows/ci.yml@v3 + uses: axonivy-market/github-workflows/.github/workflows/ci.yml@v2 with: mvnArgs: '"-Divy.engine.download.url=https://dev.axonivy.com/permalink/${{ inputs.ivyVersion }}/axonivy-engine.zip" "-Divy.engine.version=(10.0.0,]" ${{ inputs.mvnArgs }}' secrets: diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index a48ddb9..6d8391a 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -19,7 +19,7 @@ on: jobs: build: - uses: axonivy-market/github-workflows/.github/workflows/ci.yml@v3 + uses: axonivy-market/github-workflows/.github/workflows/ci.yml@v2 with: mvnArgs: '"-Divy.engine.download.url=https://dev.axonivy.com/permalink/${{ inputs.ivyVersion }}/axonivy-engine.zip" "-Divy.engine.version=(10.0.0,]" ${{ inputs.mvnArgs }}' secrets: