refactor(actions): rename workflow files (#3941)
* refactor(actions): rename workflow files * refactor(worflows): change files according new approach
This commit is contained in:
parent
c190e3027c
commit
228f16be50
|
@ -24,7 +24,7 @@ env:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
uses: ./.github/workflows/docker-image-build.yml
|
||||
uses: ./.github/workflows/build-docker-image.yml
|
||||
with:
|
||||
dockerfile_path: ./docker/Dockerfile
|
||||
dockerfile_target: runtime
|
|
@ -1,4 +1,4 @@
|
|||
name: Test
|
||||
name: CI Docker
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
@ -16,9 +16,9 @@ on:
|
|||
- '**/Cargo.lock'
|
||||
# workflow definitions
|
||||
- 'docker/**'
|
||||
- '.github/workflows/test.yml'
|
||||
- '.github/workflows/gcp-test-deploy.yml'
|
||||
- '.github/workflows/docker-image-build.yml'
|
||||
- '.github/workflows/continous-integration-docker.yml'
|
||||
- '.github/workflows/deploy-gcp-tests.yml'
|
||||
- '.github/workflows/build-docker-image.yml'
|
||||
|
||||
push:
|
||||
branches:
|
||||
|
@ -35,9 +35,9 @@ on:
|
|||
- '**/Cargo.lock'
|
||||
# workflow definitions
|
||||
- 'docker/**'
|
||||
- '.github/workflows/test.yml'
|
||||
- '.github/workflows/gcp-test-deploy.yml'
|
||||
- '.github/workflows/docker-image-build.yml'
|
||||
- '.github/workflows/continous-integration-docker.yml'
|
||||
- '.github/workflows/deploy-gcp-tests.yml'
|
||||
- '.github/workflows/build-docker-image.yml'
|
||||
|
||||
jobs:
|
||||
build:
|
|
@ -1,4 +1,4 @@
|
|||
name: Test
|
||||
name: CI Docker
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
@ -37,9 +37,9 @@ on:
|
|||
- '**/Cargo.lock'
|
||||
# workflow definitions
|
||||
- 'docker/**'
|
||||
- '.github/workflows/test.yml'
|
||||
- '.github/workflows/gcp-test-deploy.yml'
|
||||
- '.github/workflows/docker-image-build.yml'
|
||||
- '.github/workflows/continous-integration-docker.yml'
|
||||
- '.github/workflows/deploy-gcp-tests.yml'
|
||||
- '.github/workflows/build-docker-image.yml'
|
||||
|
||||
push:
|
||||
branches:
|
||||
|
@ -56,12 +56,12 @@ on:
|
|||
- '**/Cargo.lock'
|
||||
# workflow definitions
|
||||
- 'docker/**'
|
||||
- '.github/workflows/test.yml'
|
||||
- '.github/workflows/gcp-test-deploy.yml'
|
||||
- '.github/workflows/docker-image-build.yml'
|
||||
- '.github/workflows/continous-integration-docker.yml'
|
||||
- '.github/workflows/deploy-gcp-tests.yml'
|
||||
- '.github/workflows/build-docker-image.yml'
|
||||
|
||||
env:
|
||||
# TODO: use the output from ./.github/workflows/docker-image-build.yml
|
||||
# TODO: use the output from ./.github/workflows/build-docker-image.yml
|
||||
IMAGE_NAME: zebrad-test
|
||||
GAR_BASE: us-docker.pkg.dev/zealous-zebra/zebra
|
||||
|
||||
|
@ -85,7 +85,7 @@ jobs:
|
|||
zebra-state/**/constants.rs
|
||||
|
||||
build:
|
||||
uses: ./.github/workflows/docker-image-build.yml
|
||||
uses: ./.github/workflows/build-docker-image.yml
|
||||
with:
|
||||
dockerfile_path: ./docker/Dockerfile
|
||||
dockerfile_target: tester
|
||||
|
@ -182,7 +182,7 @@ jobs:
|
|||
# - on request
|
||||
regenerate-stateful-disks:
|
||||
needs: [ build, changed-files]
|
||||
uses: ./.github/workflows/gcp-test-deploy.yml
|
||||
uses: ./.github/workflows/deploy-gcp-tests.yml
|
||||
# Only run this job if the database format version has (likely) changed.
|
||||
if: ${{ (needs.changed-files.outputs.rebuild == 'true' && github.event_name == 'push') || github.event.inputs.regenerate-disks == 'true' }}
|
||||
with:
|
||||
|
@ -214,7 +214,7 @@ jobs:
|
|||
# - on request
|
||||
test-full-sync:
|
||||
needs: build
|
||||
uses: ./.github/workflows/gcp-test-deploy.yml
|
||||
uses: ./.github/workflows/deploy-gcp-tests.yml
|
||||
# TODO change `github.ref_name == 'main'` to `startsWith(github.head_ref, 'mergify/merge-queue/')`
|
||||
# to only run on Mergify head branches, and on manual dispatch:
|
||||
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-your-workflow-based-on-the-head-or-base-branch-of-a-pull-request-1
|
|
@ -1,4 +1,4 @@
|
|||
name: CI
|
||||
name: CI OSes
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
@ -9,7 +9,7 @@ on:
|
|||
- '**/Cargo.toml'
|
||||
- '**/Cargo.lock'
|
||||
- '**/deny.toml'
|
||||
- '.github/workflows/ci.yml'
|
||||
- '.github/workflows/continous-integration-os.yml'
|
||||
|
||||
jobs:
|
||||
test:
|
|
@ -1,4 +1,4 @@
|
|||
name: CI
|
||||
name: CI OSes
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
@ -32,7 +32,7 @@ on:
|
|||
- '**/Cargo.lock'
|
||||
- '**/deny.toml'
|
||||
# workflow definitions
|
||||
- '.github/workflows/ci.yml'
|
||||
- '.github/workflows/continous-integration-os.yml'
|
||||
|
||||
env:
|
||||
CARGO_INCREMENTAL: 0
|
|
@ -1,4 +1,4 @@
|
|||
name: Test instance deployment
|
||||
name: Deploy GCP tests
|
||||
|
||||
on:
|
||||
workflow_call:
|
|
@ -13,11 +13,11 @@ on:
|
|||
# workflow definitions
|
||||
- 'docker/zcash-params/Dockerfile'
|
||||
- '.github/workflows/zcash-params.yml'
|
||||
- '.github/workflows/docker-image-build.yml'
|
||||
- '.github/workflows/build-docker-image.yml'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
uses: ./.github/workflows/docker-image-build.yml
|
||||
uses: ./.github/workflows/build-docker-image.yml
|
||||
with:
|
||||
dockerfile_path: ./docker/zcash-params/Dockerfile
|
||||
dockerfile_target: builder
|
||||
|
|
Loading…
Reference in New Issue