Skip to content

Commit

Permalink
Merge branch 'main' into eoroshiba/deduplicate_pending_nonce
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanoroshiba committed Jul 29, 2024
1 parent 6a7cb1c commit ab37180
Show file tree
Hide file tree
Showing 79 changed files with 3,932 additions and 1,435 deletions.
29 changes: 8 additions & 21 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,10 @@ jobs:
uses: helm/kind-action@v1
with:
install_only: true
- name: Install astria cli (rust)
run: just install-cli
- name: Fetch and install celestia-appd
run: just get-celestia-appd v1.9.0 Linux x86_64
- name: Log in to GHCR
uses: docker/login-action@v2
with:
Expand All @@ -204,27 +208,10 @@ jobs:
just deploy cluster
kubectl create secret generic regcred --from-file=.dockerconfigjson=$HOME/.docker/config.json --type=kubernetes.io/dockerconfigjson
echo -e "\n\nDeploying with astria images tagged $TAG"
just deploy ibc-test-infra $TAG
just build-and-load-bridge-tester-image $TAG
- name: Run IBC Bridge Tester
timeout-minutes: 2
run: |
TAG=sha-$(git rev-parse --short HEAD)
printlogs() {
echo "IBC Transfer Test failed, printing logs..."
kubectl describe job bridge-tester-chart -n astria-dev-cluster
kubectl logs job/bridge-tester-chart --all-containers -n astria-dev-cluster
exit 1
}
just deploy bridge-tester $TAG
# timeout before the gh job times out so we can print logs
kubectl wait --for=condition=complete --timeout=90s job/bridge-tester-chart -n astria-dev-cluster || printlogs
JOB_STATUS=$(kubectl get job bridge-tester-chart -n astria-dev-cluster -o jsonpath='{.status.succeeded}')
if [ "$JOB_STATUS" != "1" ]; then
printlogs
else
echo "IBC Transfer Test passed"
fi
just ibc-test deploy $TAG
- name: Run IBC ICS20 Transfer test
timeout-minutes: 3
run: just ibc-test run ./celestia ./celestia-appd

docker:
if: ${{ always() && !cancelled() }}
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,3 @@ target/

# We don't want to commit the dependency directory of charts
charts/*/charts

crates/astria-bridge-withdrawer/src/withdrawer/ethereum/generated/
26 changes: 21 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 0 additions & 23 deletions charts/bridge-test/.helmignore

This file was deleted.

28 changes: 0 additions & 28 deletions charts/bridge-test/Chart.yaml

This file was deleted.

58 changes: 0 additions & 58 deletions charts/bridge-test/files/scripts/test-ibc-transfer.sh

This file was deleted.

23 changes: 0 additions & 23 deletions charts/bridge-test/templates/_helpers.tpl

This file was deleted.

26 changes: 0 additions & 26 deletions charts/bridge-test/templates/configmap.yaml

This file was deleted.

41 changes: 0 additions & 41 deletions charts/bridge-test/templates/job.yaml

This file was deleted.

38 changes: 0 additions & 38 deletions charts/bridge-test/values.yaml

This file was deleted.

Loading

0 comments on commit ab37180

Please sign in to comment.