mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-10 11:01:14 +00:00
Only outsource test for mods due to long run-time
This commit is contained in:
134
.github/workflows/action_branch.yml
vendored
134
.github/workflows/action_branch.yml
vendored
@@ -54,26 +54,27 @@ jobs:
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: base
|
||||
run_tests: true
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
base-test:
|
||||
needs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
with:
|
||||
enabled: true
|
||||
can_deploy: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/release-') }}
|
||||
build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: base
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
#base-test:
|
||||
# needs:
|
||||
# - params
|
||||
# - configure
|
||||
# - base
|
||||
# uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
# with:
|
||||
# enabled: true
|
||||
# can_deploy: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/release-') }}
|
||||
# build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
# has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
# artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
# flavour: base
|
||||
# secrets:
|
||||
# dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
# dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------------------------
|
||||
@@ -84,7 +85,6 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
uses: ./.github/workflows/zzz-reuse-build.yml
|
||||
with:
|
||||
enabled: true
|
||||
@@ -93,6 +93,7 @@ jobs:
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: mods
|
||||
run_tests: false
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
@@ -102,7 +103,6 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
with:
|
||||
@@ -125,7 +125,6 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
uses: ./.github/workflows/zzz-reuse-build.yml
|
||||
@@ -136,30 +135,31 @@ jobs:
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: prod
|
||||
run_tests: true
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
prod-test:
|
||||
needs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
with:
|
||||
enabled: true
|
||||
can_deploy: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/release-') }}
|
||||
build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: prod
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
#prod-test:
|
||||
# needs:
|
||||
# - params
|
||||
# - configure
|
||||
# - base
|
||||
# - base-test
|
||||
# - mods
|
||||
# - mods-test
|
||||
# - prod
|
||||
# uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
# with:
|
||||
# enabled: true
|
||||
# can_deploy: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/release-') }}
|
||||
# build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
# has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
# artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
# flavour: prod
|
||||
# secrets:
|
||||
# dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
# dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------------------------
|
||||
@@ -170,11 +170,8 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
- prod-test
|
||||
uses: ./.github/workflows/zzz-reuse-build.yml
|
||||
with:
|
||||
enabled: true
|
||||
@@ -183,32 +180,33 @@ jobs:
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: work
|
||||
run_tests: true
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
work-test:
|
||||
needs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
- prod-test
|
||||
- work
|
||||
uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
with:
|
||||
enabled: true
|
||||
can_deploy: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/release-') }}
|
||||
build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: work
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
#work-test:
|
||||
# needs:
|
||||
# - params
|
||||
# - configure
|
||||
# - base
|
||||
# - base-test
|
||||
# - mods
|
||||
# - mods-test
|
||||
# - prod
|
||||
# - prod-test
|
||||
# - work
|
||||
# uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
# with:
|
||||
# enabled: true
|
||||
# can_deploy: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/release-') }}
|
||||
# build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
# has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
# artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
# flavour: work
|
||||
# secrets:
|
||||
# dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
# dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------------------------
|
||||
@@ -219,13 +217,9 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
- prod-test
|
||||
- work
|
||||
- work-test
|
||||
uses: ./.github/workflows/zzz-reuse-deploy-images.yml
|
||||
with:
|
||||
enabled: true
|
||||
@@ -246,13 +240,9 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
- prod-test
|
||||
- work
|
||||
- work-test
|
||||
- push-image
|
||||
uses: ./.github/workflows/zzz-reuse-deploy-manifests.yml
|
||||
with:
|
||||
|
||||
134
.github/workflows/action_pull_request.yml
vendored
134
.github/workflows/action_pull_request.yml
vendored
@@ -56,26 +56,27 @@ jobs:
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: base
|
||||
run_tests: true
|
||||
secrets:
|
||||
dockerhub_username: ""
|
||||
dockerhub_password: ""
|
||||
|
||||
base-test:
|
||||
needs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
with:
|
||||
enabled: true
|
||||
can_deploy: false
|
||||
build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: base
|
||||
secrets:
|
||||
dockerhub_username: ""
|
||||
dockerhub_password: ""
|
||||
#base-test:
|
||||
# needs:
|
||||
# - params
|
||||
# - configure
|
||||
# - base
|
||||
# uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
# with:
|
||||
# enabled: true
|
||||
# can_deploy: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/release-') }}
|
||||
# build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
# has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
# artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
# flavour: base
|
||||
# secrets:
|
||||
# dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
# dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------------------------
|
||||
@@ -86,7 +87,6 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
uses: ./.github/workflows/zzz-reuse-build.yml
|
||||
with:
|
||||
enabled: true
|
||||
@@ -95,6 +95,7 @@ jobs:
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: mods
|
||||
run_tests: false
|
||||
secrets:
|
||||
dockerhub_username: ""
|
||||
dockerhub_password: ""
|
||||
@@ -104,7 +105,6 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
with:
|
||||
@@ -127,7 +127,6 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
uses: ./.github/workflows/zzz-reuse-build.yml
|
||||
@@ -138,30 +137,31 @@ jobs:
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: prod
|
||||
run_tests: true
|
||||
secrets:
|
||||
dockerhub_username: ""
|
||||
dockerhub_password: ""
|
||||
|
||||
prod-test:
|
||||
needs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
with:
|
||||
enabled: true
|
||||
can_deploy: false
|
||||
build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: prod
|
||||
secrets:
|
||||
dockerhub_username: ""
|
||||
dockerhub_password: ""
|
||||
#prod-test:
|
||||
# needs:
|
||||
# - params
|
||||
# - configure
|
||||
# - base
|
||||
# - base-test
|
||||
# - mods
|
||||
# - mods-test
|
||||
# - prod
|
||||
# uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
# with:
|
||||
# enabled: true
|
||||
# can_deploy: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/release-') }}
|
||||
# build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
# has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
# artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
# flavour: prod
|
||||
# secrets:
|
||||
# dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
# dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------------------------
|
||||
@@ -172,11 +172,8 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
- prod-test
|
||||
uses: ./.github/workflows/zzz-reuse-build.yml
|
||||
with:
|
||||
enabled: true
|
||||
@@ -185,32 +182,33 @@ jobs:
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: work
|
||||
run_tests: true
|
||||
secrets:
|
||||
dockerhub_username: ""
|
||||
dockerhub_password: ""
|
||||
|
||||
work-test:
|
||||
needs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
- prod-test
|
||||
- work
|
||||
uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
with:
|
||||
enabled: true
|
||||
can_deploy: false
|
||||
build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: work
|
||||
secrets:
|
||||
dockerhub_username: ""
|
||||
dockerhub_password: ""
|
||||
#work-test:
|
||||
# needs:
|
||||
# - params
|
||||
# - configure
|
||||
# - base
|
||||
# - base-test
|
||||
# - mods
|
||||
# - mods-test
|
||||
# - prod
|
||||
# - prod-test
|
||||
# - work
|
||||
# uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
# with:
|
||||
# enabled: true
|
||||
# can_deploy: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/release-') }}
|
||||
# build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
# has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
# artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
# flavour: work
|
||||
# secrets:
|
||||
# dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
# dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------------------------
|
||||
@@ -221,13 +219,9 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
- prod-test
|
||||
- work
|
||||
- work-test
|
||||
uses: ./.github/workflows/zzz-reuse-deploy-images.yml
|
||||
with:
|
||||
enabled: true
|
||||
@@ -248,13 +242,9 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
- prod-test
|
||||
- work
|
||||
- work-test
|
||||
- push-image
|
||||
uses: ./.github/workflows/zzz-reuse-deploy-manifests.yml
|
||||
with:
|
||||
|
||||
134
.github/workflows/action_schedule_master.yml
vendored
134
.github/workflows/action_schedule_master.yml
vendored
@@ -56,26 +56,27 @@ jobs:
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: base
|
||||
run_tests: true
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
base-test:
|
||||
needs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
with:
|
||||
enabled: true
|
||||
can_deploy: true
|
||||
build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: base
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
#base-test:
|
||||
# needs:
|
||||
# - params
|
||||
# - configure
|
||||
# - base
|
||||
# uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
# with:
|
||||
# enabled: true
|
||||
# can_deploy: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/release-') }}
|
||||
# build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
# has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
# artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
# flavour: base
|
||||
# secrets:
|
||||
# dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
# dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------------------------
|
||||
@@ -86,7 +87,6 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
uses: ./.github/workflows/zzz-reuse-build.yml
|
||||
with:
|
||||
enabled: true
|
||||
@@ -95,6 +95,7 @@ jobs:
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: mods
|
||||
run_tests: false
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
@@ -104,7 +105,6 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
with:
|
||||
@@ -127,7 +127,6 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
uses: ./.github/workflows/zzz-reuse-build.yml
|
||||
@@ -138,30 +137,31 @@ jobs:
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: prod
|
||||
run_tests: true
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
prod-test:
|
||||
needs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
with:
|
||||
enabled: true
|
||||
can_deploy: true
|
||||
build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: prod
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
#prod-test:
|
||||
# needs:
|
||||
# - params
|
||||
# - configure
|
||||
# - base
|
||||
# - base-test
|
||||
# - mods
|
||||
# - mods-test
|
||||
# - prod
|
||||
# uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
# with:
|
||||
# enabled: true
|
||||
# can_deploy: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/release-') }}
|
||||
# build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
# has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
# artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
# flavour: prod
|
||||
# secrets:
|
||||
# dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
# dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------------------------
|
||||
@@ -172,11 +172,8 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
- prod-test
|
||||
uses: ./.github/workflows/zzz-reuse-build.yml
|
||||
with:
|
||||
enabled: true
|
||||
@@ -185,32 +182,33 @@ jobs:
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: work
|
||||
run_tests: true
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
work-test:
|
||||
needs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
- prod-test
|
||||
- work
|
||||
uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
with:
|
||||
enabled: true
|
||||
can_deploy: true
|
||||
build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: work
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
#work-test:
|
||||
# needs:
|
||||
# - params
|
||||
# - configure
|
||||
# - base
|
||||
# - base-test
|
||||
# - mods
|
||||
# - mods-test
|
||||
# - prod
|
||||
# - prod-test
|
||||
# - work
|
||||
# uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
# with:
|
||||
# enabled: true
|
||||
# can_deploy: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/release-') }}
|
||||
# build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
# has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
# artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
# flavour: work
|
||||
# secrets:
|
||||
# dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
# dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------------------------
|
||||
@@ -221,13 +219,9 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
- prod-test
|
||||
- work
|
||||
- work-test
|
||||
uses: ./.github/workflows/zzz-reuse-deploy-images.yml
|
||||
with:
|
||||
enabled: true
|
||||
@@ -248,13 +242,9 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
- prod-test
|
||||
- work
|
||||
- work-test
|
||||
- push-image
|
||||
uses: ./.github/workflows/zzz-reuse-deploy-manifests.yml
|
||||
with:
|
||||
|
||||
134
.github/workflows/action_schedule_tags.yml
vendored
134
.github/workflows/action_schedule_tags.yml
vendored
@@ -56,26 +56,27 @@ jobs:
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: base
|
||||
run_tests: true
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
base-test:
|
||||
needs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
with:
|
||||
enabled: true
|
||||
can_deploy: true
|
||||
build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: base
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
#base-test:
|
||||
# needs:
|
||||
# - params
|
||||
# - configure
|
||||
# - base
|
||||
# uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
# with:
|
||||
# enabled: true
|
||||
# can_deploy: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/release-') }}
|
||||
# build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
# has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
# artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
# flavour: base
|
||||
# secrets:
|
||||
# dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
# dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------------------------
|
||||
@@ -86,7 +87,6 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
uses: ./.github/workflows/zzz-reuse-build.yml
|
||||
with:
|
||||
enabled: true
|
||||
@@ -95,6 +95,7 @@ jobs:
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: mods
|
||||
run_tests: false
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
@@ -104,7 +105,6 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
with:
|
||||
@@ -127,7 +127,6 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
uses: ./.github/workflows/zzz-reuse-build.yml
|
||||
@@ -138,30 +137,31 @@ jobs:
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: prod
|
||||
run_tests: true
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
prod-test:
|
||||
needs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
with:
|
||||
enabled: true
|
||||
can_deploy: true
|
||||
build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: prod
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
#prod-test:
|
||||
# needs:
|
||||
# - params
|
||||
# - configure
|
||||
# - base
|
||||
# - base-test
|
||||
# - mods
|
||||
# - mods-test
|
||||
# - prod
|
||||
# uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
# with:
|
||||
# enabled: true
|
||||
# can_deploy: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/release-') }}
|
||||
# build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
# has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
# artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
# flavour: prod
|
||||
# secrets:
|
||||
# dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
# dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------------------------
|
||||
@@ -172,11 +172,8 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
- prod-test
|
||||
uses: ./.github/workflows/zzz-reuse-build.yml
|
||||
with:
|
||||
enabled: true
|
||||
@@ -185,32 +182,33 @@ jobs:
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: work
|
||||
run_tests: true
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
work-test:
|
||||
needs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
- prod-test
|
||||
- work
|
||||
uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
with:
|
||||
enabled: true
|
||||
can_deploy: true
|
||||
build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
flavour: work
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
#work-test:
|
||||
# needs:
|
||||
# - params
|
||||
# - configure
|
||||
# - base
|
||||
# - base-test
|
||||
# - mods
|
||||
# - mods-test
|
||||
# - prod
|
||||
# - prod-test
|
||||
# - work
|
||||
# uses: ./.github/workflows/zzz-reuse-test.yml
|
||||
# with:
|
||||
# enabled: true
|
||||
# can_deploy: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/release-') }}
|
||||
# build_matrix: ${{ needs.configure.outputs.matrix_build }}
|
||||
# has_refs: ${{ needs.configure.outputs.has_refs }}
|
||||
# artifact_prefix: ${{ needs.configure.outputs.artifact_prefix }}
|
||||
# flavour: work
|
||||
# secrets:
|
||||
# dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
# dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------------------------
|
||||
@@ -221,13 +219,9 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
- prod-test
|
||||
- work
|
||||
- work-test
|
||||
uses: ./.github/workflows/zzz-reuse-deploy-images.yml
|
||||
with:
|
||||
enabled: true
|
||||
@@ -248,13 +242,9 @@ jobs:
|
||||
- params
|
||||
- configure
|
||||
- base
|
||||
- base-test
|
||||
- mods
|
||||
- mods-test
|
||||
- prod
|
||||
- prod-test
|
||||
- work
|
||||
- work-test
|
||||
- push-image
|
||||
uses: ./.github/workflows/zzz-reuse-deploy-manifests.yml
|
||||
with:
|
||||
|
||||
16
.github/workflows/zzz-reuse-build.yml
vendored
16
.github/workflows/zzz-reuse-build.yml
vendored
@@ -31,6 +31,11 @@ on:
|
||||
description: 'The flavour to build (base, mods, prod or work).'
|
||||
required: true
|
||||
type: string
|
||||
run_tests:
|
||||
description: 'Dertermines weather we run integration tests or not.'
|
||||
required: true
|
||||
type: boolean
|
||||
|
||||
###
|
||||
### Secrets
|
||||
###
|
||||
@@ -170,6 +175,17 @@ jobs:
|
||||
make build VERSION=${{ matrix.version }} FLAVOUR=${{ inputs.flavour }} ARCH=${{ matrix.arch }}
|
||||
|
||||
|
||||
# ------------------------------------------------------------
|
||||
# Test
|
||||
# ------------------------------------------------------------
|
||||
- name: Test
|
||||
uses: cytopia/shell-command-retry-action@v0.1.2
|
||||
with:
|
||||
command: |
|
||||
make test VERSION=${{ matrix.version }} FLAVOUR=${{ inputs.flavour }} ARCH=${{ matrix.arch }}
|
||||
if: ${{ inputs.run_tests }}
|
||||
|
||||
|
||||
# ------------------------------------------------------------
|
||||
# Artifact Expot (base)
|
||||
# ------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user