-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As a controller processes events, it may not be able to act successfully on these events: there may be a transient problem when writing to the API server, or the system may not be in a converged state and it may be necessary to reprocess the update at a later time. The `requeue` channel provides a bounded, multi-producer/single- consumer, delay-queue channel. Applications can use this channel to reschedule updates for a later time. While this is especially useful for controllers, this channel is not inherently tied to Kubernetes in any way.
- Loading branch information
Showing
6 changed files
with
400 additions
and
3 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
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,36 @@ | ||
name: test | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- Cargo.lock | ||
- '**/*.rs' | ||
- .github/workflows/test.yml | ||
|
||
permissions: | ||
contents: read | ||
|
||
env: | ||
CARGO_ACTION_FMT_VERSION: v0.1.3 | ||
CARGO_INCREMENTAL: 0 | ||
CARGO_NET_RETRY: 10 | ||
RUST_BACKTRACE: short | ||
RUSTUP_MAX_RETRIES: 10 | ||
|
||
jobs: | ||
test: | ||
timeout-minutes: 10 | ||
runs-on: ubuntu-latest | ||
container: | ||
image: docker://rust:1.58.1 | ||
steps: | ||
- name: install cargo-action-fmt | ||
run: | | ||
curl --proto =https --tlsv1.3 -vsSfLo /usr/local/bin/cargo-action-fmt "https://github.com/olix0r/cargo-action-fmt/releases/download/release%2F${CARGO_ACTION_FMT_VERSION}/cargo-action-fmt-x86_64-unknown-linux-gnu" | ||
chmod 755 /usr/local/bin/cargo-action-fmt | ||
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 | ||
- run: cargo fetch | ||
- name: cargo test --no-run | ||
run: cargo test --frozen --workspace --all-features --no-run --message-format=json | cargo-action-fmt | ||
- name: cargo test | ||
run: cargo test --frozen --workspace --all-features |
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
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
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
Oops, something went wrong.