Skip to content

ci: Add workflows to run beta, nightly builds #1483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 11, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/beta.yml
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"before they bite us hit stable" seems grammatically weird...was one of those supposed to be deleted?

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
32 changes: 32 additions & 0 deletions .github/workflows/nightly.yml
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same grammar bug here

# stable.
name: nightly
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps this should be named "nightly rust" or something, so it doesn't imply that it's a nightly build of the proxy? not a hard blocker


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