From 100f95ed606afd1cdd485c86b78dc4ee1dabeba0 Mon Sep 17 00:00:00 2001 From: Gustavo Valverde Date: Tue, 17 Oct 2023 23:49:04 +0100 Subject: [PATCH] fix: revert test coverage on CD --- .../workflows/cd-deploy-nodes-gcp.patch.yml | 45 +++++++++++++++++++ .github/workflows/cd-deploy-nodes-gcp.yml | 20 ++++++++- 2 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/cd-deploy-nodes-gcp.patch.yml diff --git a/.github/workflows/cd-deploy-nodes-gcp.patch.yml b/.github/workflows/cd-deploy-nodes-gcp.patch.yml new file mode 100644 index 00000000000..4550a65bae8 --- /dev/null +++ b/.github/workflows/cd-deploy-nodes-gcp.patch.yml @@ -0,0 +1,45 @@ +name: Deploy Nodes to GCP + +on: + pull_request: + paths-ignore: + # code and tests + - '**/*.rs' + # hard-coded checkpoints and proptest regressions + - '**/*.txt' + # dependencies + - '**/Cargo.toml' + - '**/Cargo.lock' + # configuration files + - '.cargo/config.toml' + - '**/clippy.toml' + # workflow definitions + - 'docker/**' + - '.dockerignore' + - '.github/workflows/cd-deploy-nodes-gcp.yml' + - '.github/workflows/sub-build-docker-image.yml' + +jobs: + build: + name: Build CD Docker / Build images + runs-on: ubuntu-latest + steps: + - run: 'echo "No build required"' + + test-configuration-file: + name: Test CD default Docker config file + runs-on: ubuntu-latest + steps: + - run: 'echo "No build required"' + + test-configuration-file-testnet: + name: Test CD testnet Docker config file + runs-on: ubuntu-latest + steps: + - run: 'echo "No build required"' + + test-zebra-conf-path: + name: Test CD custom Docker config file + runs-on: ubuntu-latest + steps: + - run: 'echo "No build required"' \ No newline at end of file diff --git a/.github/workflows/cd-deploy-nodes-gcp.yml b/.github/workflows/cd-deploy-nodes-gcp.yml index 26185b33a68..655828f6a59 100644 --- a/.github/workflows/cd-deploy-nodes-gcp.yml +++ b/.github/workflows/cd-deploy-nodes-gcp.yml @@ -29,6 +29,24 @@ on: type: boolean default: false + pull_request: + paths: + # code and tests + - '**/*.rs' + # hard-coded checkpoints and proptest regressions + - '**/*.txt' + # dependencies + - '**/Cargo.toml' + - '**/Cargo.lock' + # configuration files + - '.cargo/config.toml' + - '**/clippy.toml' + # workflow definitions + - 'docker/**' + - '.dockerignore' + - '.github/workflows/cd-deploy-nodes-gcp.yml' + - '.github/workflows/sub-build-docker-image.yml' + # TODO: Temporarily disabled to reduce network load, see #6894. #push: # branches: @@ -47,7 +65,7 @@ on: # # workflow definitions # - 'docker/**' # - '.dockerignore' - # - '.github/workflows/continous-delivery.yml' + # - '.github/workflows/cd-deploy-nodes-gcp.yml' # - '.github/workflows/sub-build-docker-image.yml' release: