2022-05-09 12:54:16 -07:00
|
|
|
name: CI Docker
|
2022-02-18 14:53:27 -08:00
|
|
|
|
2022-05-25 15:19:40 -07:00
|
|
|
# These jobs *don't* depend on cached Google Cloud state disks,
|
|
|
|
# so they can be skipped when the modified files make the actual workflow run.
|
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'
|
2022-05-09 12:54:16 -07:00
|
|
|
- '.github/workflows/continous-integration-docker.yml'
|
|
|
|
- '.github/workflows/deploy-gcp-tests.yml'
|
2023-06-25 16:24:10 -07:00
|
|
|
- '.github/workflows/find-cached-disks.yml'
|
2022-05-09 12:54:16 -07:00
|
|
|
- '.github/workflows/build-docker-image.yml'
|
2022-05-04 15:55:02 -07:00
|
|
|
|
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"'
|
|
|
|
|
|
|
|
test-all:
|
|
|
|
name: Test all
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|
|
|
|
|
2022-10-26 15:19:53 -07:00
|
|
|
test-all-getblocktemplate-rpcs:
|
|
|
|
name: Test all with getblocktemplate-rpcs feature
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|
|
|
|
|
2022-02-18 14:53:27 -08:00
|
|
|
test-fake-activation-heights:
|
|
|
|
name: Test with fake activation heights
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|
|
|
|
|
|
|
|
test-empty-sync:
|
|
|
|
name: Test checkpoint sync from empty state
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|
|
|
|
|
2022-03-27 15:40:53 -07:00
|
|
|
test-lightwalletd-integration:
|
|
|
|
name: Test integration with lightwalletd
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|
|
|
|
|
2023-01-22 22:41:59 -08:00
|
|
|
test-configuration-file:
|
|
|
|
name: Test Zebra default Docker config file
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|
|
|
|
|
|
|
|
test-zebra-conf-path:
|
|
|
|
name: Test Zebra custom Docker config file
|
|
|
|
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-04-26 21:39:43 -07:00
|
|
|
generate-checkpoints-mainnet:
|
|
|
|
name: Generate checkpoints mainnet / Run generate-checkpoints-mainnet test
|
|
|
|
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"'
|