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

Commit

Permalink
Merge pull request #7 from AntelopeIO/larryk85/use_new_packages
Browse files Browse the repository at this point in the history
update to new packages and bump version
  • Loading branch information
Bucky Kittinger authored Aug 18, 2022
2 parents 61cd4c2 + ded0afb commit 09d8f4d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions scripts/bootstrap_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@

ARCH=`uname -m`

ORG="eosnetworkfoundation"
NODE_VERSION="3.1.0-rc2"
CDT_VERSION="3.0.0-rc1"
ORG="AntelopeIO"
NODE_VERSION="3.1.0-rc4"
CDT_VERSION="3.0.0-rc2"


CONTAINER_PACKAGE=eosnetworkfoundation/experimental-binaries
CONTAINER_PACKAGE=AntelopeIO/experimental-binaries
GH_ANON_BEARER=$(curl -s "https://ghcr.io/token?service=registry.docker.io&scope=repository:${CONTAINER_PACKAGE}:pull" | jq -r .token)
curl -s -L -H "Authorization: Bearer ${GH_ANON_BEARER}" https://ghcr.io/v2/${CONTAINER_PACKAGE}/blobs/$(curl -s -L -H "Authorization: Bearer ${GH_ANON_BEARER}" https://ghcr.io/v2/${CONTAINER_PACKAGE}/manifests/v3.1.0-rc2 | jq -r .layers[0].digest) | tar zx
curl -s -L -H "Authorization: Bearer ${GH_ANON_BEARER}" https://ghcr.io/v2/${CONTAINER_PACKAGE}/blobs/$(curl -s -L -H "Authorization: Bearer ${GH_ANON_BEARER}" https://ghcr.io/v2/${CONTAINER_PACKAGE}/manifests/v${NODE_VERSION} | jq -r .layers[0].digest) | tar -xz

if [ "${ARCH}" = "x86_64" ]; then
wget https://github.com/${ORG}/mandel/releases/download/v${NODE_VERSION}/mandel-${NODE_VERSION}-ubuntu20.04-x86_64.deb
apt install ./mandel-${NODE_VERSION}-ubuntu20.04-x86_64.deb
apt install ./mandel-dev-${NODE_VERSION}-ubuntu20.04-x86_64.deb
wget https://github.com/${ORG}/mandel.cdt/releases/download/v${CDT_VERSION}/cdt_${CDT_VERSION}_amd64.deb
wget https://github.com/${ORG}/leap/releases/download/v${NODE_VERSION}/leap-${NODE_VERSION}-ubuntu20.04-x86_64.deb
apt install ./leap-${NODE_VERSION}-ubuntu20.04-x86_64.deb
apt install ./leap-dev-${NODE_VERSION}-ubuntu20.04-x86_64.deb
wget https://github.com/${ORG}/cdt/releases/download/v${CDT_VERSION}/cdt_${CDT_VERSION}_amd64.deb
apt install ./cdt_${CDT_VERSION}_amd64.deb
else
apt install ./mandel-${NODE_VERSION}-ubuntu20.04-aarch64.deb
apt install ./mandel-dev-${NODE_VERSION}-ubuntu20.04-aarch64.deb
wget https://github.com/${ORG}/mandel.cdt/releases/download/v${CDT_VERSION}/cdt_${CDT_VERSION}_arm64.deb
apt install ./leap-${NODE_VERSION}-ubuntu20.04-aarch64.deb
apt install ./leap-dev-${NODE_VERSION}-ubuntu20.04-aarch64.deb
wget https://github.com/${ORG}/cdt/releases/download/v${CDT_VERSION}/cdt_${CDT_VERSION}_arm64.deb
apt install ./cdt_${CDT_VERSION}_arm64.deb
fi

Expand Down
2 changes: 1 addition & 1 deletion src/dune/dune.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def version_minor():
def version_patch():
return 0
def version_suffix():
return "rc1"
return "rc2"
def version_full():
return "v"+str(version_major())+"."+str(version_minor())+"."+str(version_patch())+"."+version_suffix()
class dune_error(Exception):
Expand Down

0 comments on commit 09d8f4d

Please sign in to comment.