Skip to content

Commit

Permalink
Merge branch 'develop' into import-fmt-2
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis authored May 22, 2024
2 parents 8048cf9 + 6369109 commit 591870f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ env:

jobs:
build-and-test:
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
timeout-minutes: 15
concurrency:
group: "build-and-test"
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
run: rm -rf *

e2e-test:
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
timeout-minutes: 25
steps:
- uses: actions/checkout@v4
Expand Down
13 changes: 10 additions & 3 deletions contrib/localnet/scripts/start-upgrade-orchestrator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ UPGRADE_HEIGHT=$1
CHAINID="athens_101-1"
UPGRADE_AUTHORITY_ACCOUNT="zeta10d07y265gmmuvt4z0w9aw880jnsr700jvxasvr"

if [[ -z $ZETACORED_URL ]]; then
ZETACORED_URL='http://upgrade-host:8000/zetacored'
fi
if [[ -z $ZETACLIENTD_URL ]]; then
ZETACLIENTD_URL='http://upgrade-host:8000/zetaclientd'
fi

# Wait for authorized_keys file to exist (populated by zetacore0)
while [ ! -f ~/.ssh/authorized_keys ]; do
echo "Waiting for authorized_keys file to exist..."
Expand Down Expand Up @@ -32,7 +39,7 @@ if [[ $(hostname) != "zetacore0" ]]; then
fi

# get new zetacored version
curl -o /tmp/zetacored.new http://upgrade-host:8000/zetacored
curl -L -o /tmp/zetacored.new "${ZETACORED_URL}"
chmod +x /tmp/zetacored.new
UPGRADE_NAME=$(/tmp/zetacored.new version)

Expand Down Expand Up @@ -77,8 +84,8 @@ esac
cat > upgrade_plan_info.json <<EOF
{
"binaries": {
"linux/${GOARCH}": "http://upgrade-host:8000/zetacored",
"zetaclientd-linux/${GOARCH}": "http://upgrade-host:8000/zetaclientd"
"linux/${GOARCH}": "${ZETACORED_URL}",
"zetaclientd-linux/${GOARCH}": "${ZETACLIENTD_URL}"
}
}
EOF
Expand Down

0 comments on commit 591870f

Please sign in to comment.