Skip to content

Commit

Permalink
Merge branch 'main' into tx-decompose
Browse files Browse the repository at this point in the history
Signed-off-by: Tal Derei <[email protected]>
  • Loading branch information
TalDerei committed Nov 13, 2023
2 parents 49a6dba + 7beb920 commit e9fb717
Show file tree
Hide file tree
Showing 192 changed files with 22,834 additions and 2,533 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/buf-pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Protobuf
on: pull_request
on:
# Exclude feature branches, only run if the PR is targeting main.
pull_request_target:
types:
- opened
branches:
- "main"
jobs:
lint:
name: Lint protobuf
Expand All @@ -10,7 +16,7 @@ jobs:
with:
buf_api_token: ${{ secrets.BUF_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
input: 'proto'
# input: 'proto'

- uses: bufbuild/buf-lint-action@v1
with:
Expand Down Expand Up @@ -55,11 +61,11 @@ jobs:
toolchain: stable
override: false

- uses: bufbuild/buf-setup-action@v1.27.1
- uses: bufbuild/buf-setup-action@v1
with:
buf_api_token: ${{ secrets.BUF_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
input: 'proto'
# input: 'proto'

- name: Install protobuf compiler
shell: bash
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ jobs:
permissions:
contents: read
packages: write
needs:
- penumbra
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -121,6 +123,10 @@ jobs:
permissions:
contents: read
packages: write
# The upstream container references the Penumbra container by tag,
# so ensure it exists.
needs:
- penumbra
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -142,6 +148,8 @@ jobs:
hermes:
runs-on: ubuntu-latest
needs:
- penumbra
permissions:
contents: read
packages: write
Expand Down
14 changes: 3 additions & 11 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,9 @@ jobs:
location: us-central1

- name: install helmfile
run: |
helmfile_version="0.157.0"
helmfile_url="https://github.com/helmfile/helmfile/releases/download/v${helmfile_version}/helmfile_${helmfile_version}_linux_amd64.tar.gz"
mkdir -p /tmp/helmfile-download
cd /tmp/helmfile-download || exit 1
curl -SfL -O "$helmfile_url"
tar -xzf helmfile*.tar.gz
mkdir -p "$HOME/bin"
cp helmfile "$HOME/bin/"
export PATH="$HOME/bin:$PATH"
which helmfile
uses: mamezou-tech/[email protected]
with:
helmfile-version: "v0.157.0"

- name: deploy
run: |-
Expand Down
16 changes: 5 additions & 11 deletions .github/workflows/deploy-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,9 @@ jobs:
location: us-central1

- name: install helmfile
run: |
helmfile_version="0.157.0"
helmfile_url="https://github.com/helmfile/helmfile/releases/download/v${helmfile_version}/helmfile_${helmfile_version}_linux_amd64.tar.gz"
mkdir -p /tmp/helmfile-download
cd /tmp/helmfile-download || exit 1
curl -SfL -O "$helmfile_url"
tar -xzf helmfile*.tar.gz
mkdir -p "$HOME/bin"
cp helmfile "$HOME/bin/"
export PATH="$HOME/bin:$PATH"
which helmfile
uses: mamezou-tech/[email protected]
with:
helmfile-version: "v0.157.0"

- name: deploy
run: |-
Expand All @@ -75,6 +67,7 @@ jobs:
- 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" \
Expand All @@ -86,6 +79,7 @@ jobs:
- name: bounce galileo
shell: bash
run: |-
export PENUMBRA_VERSION='${{ github.event.inputs.image_tag || github.ref_name }}'
# Set the exact version for the current testnet for Galileo, so deps match.
kubectl set image deployments \
-l "app.kubernetes.io/instance=galileo" \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Rust
run: rustup update 1.67.1 --no-self-update && rustup default 1.67.1
run: rustup update 1.73.0 --no-self-update && rustup default 1.73.0
- name: Install cargo-dist
run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.0.5/cargo-dist-v0.0.5-installer.sh | sh
- id: create-release
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
with:
lfs: true
- name: Install Rust
run: rustup update 1.67.1 --no-self-update && rustup default 1.67.1
run: rustup update 1.73.0 --no-self-update && rustup default 1.73.0
- name: Install cargo-dist
run: ${{ matrix.install-dist }}
- name: Run cargo-dist
Expand Down
Loading

0 comments on commit e9fb717

Please sign in to comment.