2023-11-22 11:43:29 -08:00
|
|
|
# Workflow patches for skipping Google Cloud integration test CI when Rust code or dependencies
|
|
|
|
# aren't modified in a PR.
|
2023-10-17 23:16:02 -07:00
|
|
|
name: Integration Tests on GCP
|
2022-02-18 14:53:27 -08:00
|
|
|
|
2023-11-22 11:43:29 -08:00
|
|
|
# Run on PRs with unmodified code and dependency files.
|
2022-02-18 14:53:27 -08:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
2022-05-04 15:55:02 -07:00
|
|
|
# code and tests
|
2022-02-18 14:53:27 -08:00
|
|
|
- '**/*.rs'
|
2022-05-04 15:55:02 -07:00
|
|
|
# hard-coded checkpoints and proptest regressions
|
2022-02-18 14:53:27 -08:00
|
|
|
- '**/*.txt'
|
2022-05-04 15:55:02 -07:00
|
|
|
# test data snapshots
|
2022-03-02 06:23:05 -08:00
|
|
|
- '**/*.snap'
|
2022-05-04 15:55:02 -07:00
|
|
|
# dependencies
|
2022-02-18 14:53:27 -08:00
|
|
|
- '**/Cargo.toml'
|
|
|
|
- '**/Cargo.lock'
|
2022-08-26 11:06:32 -07:00
|
|
|
# configuration files
|
|
|
|
- '.cargo/config.toml'
|
|
|
|
- '**/clippy.toml'
|
2022-05-04 15:55:02 -07:00
|
|
|
# workflow definitions
|
2022-02-18 14:53:27 -08:00
|
|
|
- 'docker/**'
|
2023-06-25 16:24:10 -07:00
|
|
|
- '.dockerignore'
|
2023-10-17 23:16:02 -07:00
|
|
|
- '.github/workflows/ci-unit-tests-docker.yml'
|
|
|
|
- '.github/workflows/sub-deploy-integration-tests-gcp.yml'
|
|
|
|
- '.github/workflows/sub-find-cached-disks.yml'
|
|
|
|
- '.github/workflows/sub-build-docker-image.yml'
|
2022-05-04 15:55:02 -07:00
|
|
|
|
2023-11-22 11:43:29 -08:00
|
|
|
# IMPORTANT
|
|
|
|
#
|
2023-11-23 02:56:19 -08:00
|
|
|
# The job names in `ci-integration-tests-gcp.yml`, `ci-integration-tests-gcp.patch.yml` and
|
|
|
|
# `ci-integration-tests-gcp.patch-external.yml` must be kept in sync.
|
2022-02-18 14:53:27 -08:00
|
|
|
jobs:
|
2023-05-07 18:19:16 -07:00
|
|
|
# We don't patch the testnet job, because testnet isn't required to merge (it's too unstable)
|
2022-05-19 16:07:28 -07:00
|
|
|
get-available-disks:
|
2023-05-07 18:19:16 -07:00
|
|
|
name: Check if cached state disks exist for Mainnet / Check if cached state disks exist
|
2022-05-19 16:07:28 -07:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|
|
|
|
|
2022-02-18 14:53:27 -08:00
|
|
|
build:
|
2022-11-06 17:59:32 -08:00
|
|
|
name: Build CI Docker / Build images
|
2022-02-18 14:53:27 -08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|
|
|
|
|
2022-05-23 20:10:53 -07:00
|
|
|
test-stateful-sync:
|
|
|
|
name: Zebra checkpoint update / Run sync-past-checkpoint test
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|
|
|
|
|
2022-07-25 15:13:25 -07:00
|
|
|
test-update-sync:
|
|
|
|
name: Zebra tip update / Run update-to-tip test
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|
|
|
|
|
2023-10-11 12:17:37 -07:00
|
|
|
checkpoints-mainnet:
|
|
|
|
name: Generate checkpoints mainnet / Run checkpoints-mainnet test
|
2023-04-26 21:39:43 -07:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|
|
|
|
|
2022-05-23 20:10:53 -07:00
|
|
|
lightwalletd-rpc-test:
|
|
|
|
name: Zebra tip JSON-RPC / Run fully-synced-rpc test
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|
|
|
|
|
|
|
|
lightwalletd-transactions-test:
|
|
|
|
name: lightwalletd tip send / Run lwd-send-transactions test
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|
|
|
|
|
2022-12-01 11:39:01 -08:00
|
|
|
get-block-template-test:
|
|
|
|
name: get block template / Run get-block-template test
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|
|
|
|
|
2022-11-09 19:40:21 -08:00
|
|
|
submit-block-test:
|
|
|
|
name: submit block / Run submit-block test
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|
|
|
|
|
2022-05-23 20:10:53 -07:00
|
|
|
lightwalletd-full-sync:
|
|
|
|
name: lightwalletd tip / Run lwd-full-sync test
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|
|
|
|
|
|
|
|
lightwalletd-update-sync:
|
|
|
|
name: lightwalletd tip update / Run lwd-update-sync test
|
2022-05-04 15:55:02 -07:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|
2022-05-26 21:49:22 -07:00
|
|
|
|
|
|
|
lightwalletd-grpc-test:
|
|
|
|
name: lightwalletd GRPC tests / Run lwd-grpc-wallet test
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|