Continuous integration run by marshtompsxd #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous integration | |
run-name: Continuous integration run by ${{ github.actor }} | |
on: | |
# push: | |
# branches: | |
# - main | |
# paths-ignore: | |
# - "README.md" | |
# - ".gitignore" | |
# - "doc/**" | |
pull_request: | |
merge_group: | |
workflow_dispatch: | |
jobs: | |
fluent-verification: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download Verus | |
uses: actions/checkout@v2 | |
with: | |
repository: verus-lang/verus | |
path: verus | |
ref: 8a5eed3c564d7a3b0d865a1c8eb28c57b0e84137 | |
- name: Move Verus | |
run: mv verus ../verus | |
- name: Install Rust toolchain | |
run: | | |
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y | |
- name: Build Verus | |
run: | | |
cd ../verus/source | |
./tools/get-z3.sh | |
source ../tools/activate | |
vargo build --release | |
- name: Verify fluent controller | |
run: VERUS_DIR="$(dirname "${PWD}")/verus" ./build.sh fluent_controller.rs --time --rlimit 20 | |
rabbitmq-verification: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download Verus | |
uses: actions/checkout@v2 | |
with: | |
repository: verus-lang/verus | |
path: verus | |
ref: 8a5eed3c564d7a3b0d865a1c8eb28c57b0e84137 | |
- name: Move Verus | |
run: mv verus ../verus | |
- name: Install Rust toolchain | |
run: | | |
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y | |
- name: Build Verus | |
run: | | |
cd ../verus/source | |
./tools/get-z3.sh | |
source ../tools/activate | |
vargo build --release | |
- name: Verify rabbitmq controller | |
run: VERUS_DIR="$(dirname "${PWD}")/verus" ./build.sh rabbitmq_controller.rs --time --rlimit 20 | |
zookeeper-verification: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download Verus | |
uses: actions/checkout@v2 | |
with: | |
repository: verus-lang/verus | |
path: verus | |
ref: 8a5eed3c564d7a3b0d865a1c8eb28c57b0e84137 | |
- name: Move Verus | |
run: mv verus ../verus | |
- name: Install Rust toolchain | |
run: | | |
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y | |
- name: Build Verus | |
run: | | |
cd ../verus/source | |
./tools/get-z3.sh | |
source ../tools/activate | |
vargo build --release | |
- name: Verify zookeeper controller | |
run: VERUS_DIR="$(dirname "${PWD}")/verus" ./build.sh zookeeper_controller.rs --time --rlimit 20 | |
unit-tests: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download Verus | |
uses: actions/checkout@v2 | |
with: | |
repository: verus-lang/verus | |
path: verus | |
ref: 8a5eed3c564d7a3b0d865a1c8eb28c57b0e84137 | |
- name: Move Verus | |
run: mv verus ../verus | |
- name: Install Rust toolchain | |
run: | | |
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y | |
- name: Build Verus | |
run: | | |
cd ../verus/source | |
./tools/get-z3.sh | |
source ../tools/activate | |
vargo build --release | |
- name: Run unit tests | |
run: cargo test | |
fluent-e2e-test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "^1.20" | |
- name: Install kind | |
run: go install sigs.k8s.io/[email protected] | |
- name: Install Rust toolchain | |
run: | | |
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y | |
- name: Deploy fluent controller | |
run: ./local-test.sh fluent | |
- name: Run fluent e2e tests | |
run: cd e2e && cargo run -- fluent | |
rabbitmq-e2e-test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "^1.20" | |
- name: Install kind | |
run: go install sigs.k8s.io/[email protected] | |
- name: Install Rust toolchain | |
run: | | |
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y | |
- name: Deploy rabbitmq controller | |
run: ./local-test.sh rabbitmq | |
- name: Run rabbitmq e2e tests | |
run: cd e2e && cargo run -- rabbitmq | |
rabbitmq-scaling-e2e-test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "^1.20" | |
- name: Install kind | |
run: go install sigs.k8s.io/[email protected] | |
- name: Install Rust toolchain | |
run: | | |
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y | |
- name: Deploy rabbitmq controller | |
run: ./local-test.sh rabbitmq | |
- name: Run rabbitmq e2e tests for scaling | |
run: cd e2e && cargo run -- rabbitmq-scaling | |
rabbitmq-ephemeral-e2e-test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "^1.20" | |
- name: Install kind | |
run: go install sigs.k8s.io/[email protected] | |
- name: Install Rust toolchain | |
run: | | |
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y | |
- name: Deploy rabbitmq controller | |
run: ./local-test.sh rabbitmq | |
- name: Run rabbitmq e2e tests for ephemeral | |
run: cd e2e && cargo run -- rabbitmq-ephemeral | |
zookeeper-e2e-test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "^1.20" | |
- name: Install kind | |
run: go install sigs.k8s.io/[email protected] | |
- name: Install Rust toolchain | |
run: | | |
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y | |
- name: Deploy zookeeper controller | |
run: ./local-test.sh zookeeper | |
- name: Run zookeeper e2e tests | |
run: cd e2e && cargo run -- zookeeper | |
zookeeper-scaling-e2e-test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "^1.20" | |
- name: Install kind | |
run: go install sigs.k8s.io/[email protected] | |
- name: Install Rust toolchain | |
run: | | |
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y | |
- name: Deploy zookeeper controller | |
run: ./local-test.sh zookeeper | |
- name: Run zookeeper e2e tests for scaling | |
run: cd e2e && cargo run -- zookeeper-scaling | |
zookeeper-ephemeral-e2e-test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "^1.20" | |
- name: Install kind | |
run: go install sigs.k8s.io/[email protected] | |
- name: Install Rust toolchain | |
run: | | |
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y | |
- name: Deploy zookeeper controller | |
run: ./local-test.sh zookeeper | |
- name: Run zookeeper e2e tests for ephemeral storage | |
run: cd e2e && cargo run -- zookeeper-ephemeral | |