Skip to content

Commit

Permalink
disable internal testnet genesis check
Browse files Browse the repository at this point in the history
  • Loading branch information
pirtleshell committed Oct 24, 2023
1 parent 90b6b24 commit 3862ed1
Showing 1 changed file with 32 additions and 31 deletions.
63 changes: 32 additions & 31 deletions .github/workflows/ci-default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,37 +33,38 @@ jobs:
run: make test
- name: run e2e tests
run: make docker-build test-e2e
validate-internal-testnet-genesis:
runs-on: ubuntu-latest
steps:
- name: checkout repo from current commit
uses: actions/checkout@v3
- name: save version of kava that will be deployed if this pr is merged
id: kava-version
run: |
echo "KAVA_VERSION=$(cat ./ci/env/kava-internal-testnet/KAVA.VERSION)" >> $GITHUB_OUTPUT
- name: checkout repo from master
uses: actions/checkout@v3
with:
ref: master
- name: checkout version of kava that will be deployed if this pr is merged
run: |
git pull -p
git checkout $KAVA_VERSION
env:
KAVA_VERSION: ${{ steps.kava-version.outputs.KAVA_VERSION }}
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.20"
check-latest: true
cache: true
- name: build kava cli
run: make install
- name: checkout repo from current commit to validate current branch's genesis
uses: actions/checkout@v3
- name: validate testnet genesis
run: kava validate-genesis ci/env/kava-internal-testnet/genesis.json
# this is only applicable for PRs based on master. Disabling for this release branch.
# validate-internal-testnet-genesis:
# runs-on: ubuntu-latest
# steps:
# - name: checkout repo from current commit
# uses: actions/checkout@v3
# - name: save version of kava that will be deployed if this pr is merged
# id: kava-version
# run: |
# echo "KAVA_VERSION=$(cat ./ci/env/kava-internal-testnet/KAVA.VERSION)" >> $GITHUB_OUTPUT
# - name: checkout repo from master
# uses: actions/checkout@v3
# with:
# ref: master
# - name: checkout version of kava that will be deployed if this pr is merged
# run: |
# git pull -p
# git checkout $KAVA_VERSION
# env:
# KAVA_VERSION: ${{ steps.kava-version.outputs.KAVA_VERSION }}
# - name: Set up Go
# uses: actions/setup-go@v3
# with:
# go-version: "1.20"
# check-latest: true
# cache: true
# - name: build kava cli
# run: make install
# - name: checkout repo from current commit to validate current branch's genesis
# uses: actions/checkout@v3
# - name: validate testnet genesis
# run: kava validate-genesis ci/env/kava-internal-testnet/genesis.json
validate-protonet-genesis:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 3862ed1

Please sign in to comment.