Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Fix initcontainer and wait for sequencer sts #185

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 3 additions & 1 deletion .github/workflows/helm-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
git config user.email "[email protected]"

- name: Install Helm
uses: azure/setup-helm@v3
uses: azure/setup-helm@v4
with:
version: v3.14.2

- name: Run chart-releaser
uses: helm/[email protected]
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v3
uses: azure/setup-helm@v4
with:
version: v3.12.1
version: v3.14.2

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
check-latest: true
Expand Down
2 changes: 1 addition & 1 deletion charts/rollup/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ resources:
memory: 256Mi
limits:
cpu: 2
memory: 1Gi
memory: 4Gi

storage:
enabled: false
Expand Down
2 changes: 1 addition & 1 deletion charts/sequencer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.10.0
version: 0.10.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/sequencer/templates/statefulsets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
args:
- cp -LR /data/ /cometbft/data && cp -LR /config /cometbft/config && chmod -R 0777 /cometbft
name: config-cometbft
image: "ghcr.io/tomwright/dasel:alpine"
image: "alpine:latest"
volumeMounts:
- mountPath: /config/
name: cometbft-config-volume
Expand Down
3 changes: 2 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ delete-sequencer-validator name=validatorName:
helm uninstall {{name}}-sequencer-chart -n astria-validator-{{name}}
delete-sequencer-validators: (delete-sequencer-validator "node0") (delete-sequencer-validator "node1") (delete-sequencer-validator "node2")

# https://github.com/kubernetes/kubernetes/issues/79606#issuecomment-779779928
wait-for-sequencer:
kubectl wait -n astria-dev-cluster deployment celestia-local --for=condition=Available=True --timeout=600s
kubectl wait -n astria-dev-cluster deployment sequencer --for=condition=Available=True --timeout=600s
kubectl wait -n astria-dev-cluster rollout status --watch --timeout=600s statefulset/sequencer

defaultRollupName := "astria"
defaultNetworkId := ""
Expand Down
Loading