-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Add workflows to run beta, nightly builds
We currently only really catch Rust regressions as they hit stable. This change adds workflows to build the proxy daily against `nightly` and weekly against `beta`. These workflows are separated so that they can run on different schedules and so that a failure on one toolchain does not interfere with the other. Signed-off-by: Oliver Gould <[email protected]>
- Loading branch information
Showing
2 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Builds the proxy on the beta toolchain to help catch Rust regressions before they bite us hit stable. | ||
name: beta | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- .github/workflows/beta.yml | ||
schedule: | ||
# Run weekly on wednesday @ midnightish Pacific-time. | ||
- cron: "30 7 * * 3" | ||
|
||
env: | ||
CARGO_INCREMENTAL: 0 | ||
CARGO_NET_RETRY: 10 | ||
RUST_BACKTRACE: short | ||
RUSTUP_MAX_RETRIES: 10 | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: docker://rust:1.56.1-buster | ||
timeout-minutes: 20 | ||
continue-on-error: true | ||
steps: | ||
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 | ||
- run: rustup toolchain install --profile=minimal beta | ||
- run: cargo +beta build --release -p linkerd2-proxy |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Builds the proxy on the nightly toolchain to help catch Rust regressions before they bite us hit | ||
# stable. | ||
name: nightly | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- .github/workflows/nightly.yml | ||
schedule: | ||
# Run daily @ midnightish Pacific-time. | ||
- cron: "0 8 * * *" | ||
|
||
env: | ||
CARGO_INCREMENTAL: 0 | ||
CARGO_NET_RETRY: 10 | ||
RUST_BACKTRACE: short | ||
RUSTUP_MAX_RETRIES: 10 | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: docker://rust:1.56.1-buster | ||
timeout-minutes: 20 | ||
continue-on-error: true | ||
steps: | ||
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 | ||
- run: rustup toolchain install --profile=minimal nightly | ||
- run: cargo +nightly build --release -p linkerd2-proxy |