Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
noot committed Jan 15, 2024
2 parents 4c2eaa2 + 08c66e5 commit c195abd
Show file tree
Hide file tree
Showing 339 changed files with 14,383 additions and 11,603 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/buf-pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Protobuf
on:
# Exclude feature branches, only run if the PR is targeting main.
pull_request_target:
types:
- opened
pull_request:
branches:
- "main"
jobs:
# Ensure there are no breaking changes to the protocol specs,
# by running the "buf lint" action against the changes in this PR.
lint:
name: Lint protobuf
runs-on: ubuntu-latest
Expand All @@ -16,7 +16,6 @@ jobs:
with:
buf_api_token: ${{ secrets.BUF_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
# input: 'proto'

- uses: bufbuild/buf-lint-action@v1
with:
Expand Down Expand Up @@ -44,10 +43,11 @@ jobs:
# The 'main' branch of the GitHub repository that defines the module.
against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=main,subdir=proto"

# Run our bespoke tooling for codegen, consuming the protocol buffer definitions
# and emitting generated code. Afterward, there should be no uncommitted changes.
protobuf-fresh:
name: Compile protobuf specs to rust code
runs-on: buildjet-16vcpu-ubuntu-2204
# runs-on: ubuntu-latest
steps:
- name: Checkout the source code
uses: actions/checkout@v4
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,3 @@ jobs:
- name: bounce grpcui
run: kubectl rollout restart deployment grpcui-preview

- name: bounce osiris
run: kubectl rollout restart deployment osiris-preview

# We only run one (1) relayer instance, and re-deploy it as part of the preview update.
# The other end of the configured path is the long-running testnet.
# We ignore errors on the bounce, because we may have removed the deployment out of band:
# we're still working on reliable packet relaying between test chains.
- name: bounce relayer
run: |-
kubectl rollout restart deployment relayer-preview || true
12 changes: 0 additions & 12 deletions .github/workflows/deploy-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,6 @@ jobs:
- name: bounce grpcui
run: kubectl rollout restart deployment grpcui-testnet

- name: bounce osiris
shell: bash
run: |-
export PENUMBRA_VERSION='${{ github.event.inputs.image_tag || github.ref_name }}'
# Set the exact version for the current testnet for Osiris, so deps match.
kubectl set image deployments \
-l "app.kubernetes.io/instance=osiris-testnet" \
"osiris=ghcr.io/penumbra-zone/osiris:penumbra-${PENUMBRA_VERSION}"
# Wait for rollout to complete. Will block until pods are marked Ready.
kubectl rollout status deployment \
-l "app.kubernetes.io/instance=osiris-testnet"
- name: bounce galileo
shell: bash
run: |-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Load rust cache
uses: astriaorg/[email protected]
- name: Run cargo check, failing on warnings
run: cargo check --release
run: cargo check --release --all-targets
env:
# The `-D warnings` option causes an error on warnings;
# we must duplicate the rustflags from `.cargo/config.toml`.
Expand Down
Loading

0 comments on commit c195abd

Please sign in to comment.