Skip to content

Commit

Permalink
Merge pull request #2152 from gravitl/story/GRA-1484
Browse files Browse the repository at this point in the history
updating versions / pointers for release
  • Loading branch information
0xdcarns authored Mar 30, 2023
2 parents 9af42ee + 7c07f47 commit 9f5e9c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
7 changes: 2 additions & 5 deletions scripts/nm-quick.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ usage () {
echo " -t tag of build; if buildtype=version, tag=version. If builtype=branch or builtype=local, tag=branch"
echo " -a auto-build; skip prompts and use defaults, if none provided"
echo "examples:"
echo " nm-quick.sh -e -b version -t v0.18.5"
echo " nm-quick.sh -e -b version -t $LATEST"
echo " nm-quick.sh -e -b local -t feature_v0.17.2_newfeature"
echo " nm-quick.sh -e -b branch -t develop"
exit 1
Expand Down Expand Up @@ -210,11 +210,8 @@ configure_netclient() {
# setup_nmctl - pulls nmctl and makes it executable
setup_nmctl() {

# DEV_TEMP - Temporary instructions for testing
wget -O /usr/bin/nmctl https://fileserver.netmaker.org/testing/nmctl
wget -O /usr/bin/nmctl https://github.com/gravitl/netmaker/releases/download/$LATEST/nmctl_linux_amd64

# RELEASE_REPLACE - Use this once release is ready
# wget https://github.com/gravitl/netmaker/releases/download/v0.17.1/nmctl
chmod +x /usr/bin/nmctl
echo "using server api.$NETMAKER_BASE_DOMAIN"
echo "using master key $MASTER_KEY"
Expand Down
21 changes: 6 additions & 15 deletions scripts/nm-upgrade.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

LATEST="testing"
LATEST="v0.18.5"

# check_version - make sure current version is 0.17.1 before continuing
check_version() {
Expand Down Expand Up @@ -337,17 +337,11 @@ set_compose() {
rm /root/wait.sh
rm /root/mosquitto.conf

# DEV_TEMP
wget -O /root/wait.sh https://raw.githubusercontent.com/gravitl/netmaker/develop/docker/wait.sh
# RELEASE_REPLACE - Use this once release is ready
# wget -O /root/wait.sh https://raw.githubusercontent.com/gravitl/netmaker/master/docker/wait.sh
wget -O /root/wait.sh https://raw.githubusercontent.com/gravitl/netmaker/master/docker/wait.sh

chmod +x /root/wait.sh

# DEV_TEMP
wget -O /root/mosquitto.conf https://raw.githubusercontent.com/gravitl/netmaker/develop/docker/mosquitto.conf
# RELEASE_REPLACE - Use this once release is ready
# wget -O /root/wait.sh https://raw.githubusercontent.com/gravitl/netmaker/master/docker/wait.sh
wget -O /root/mosquitto.conf https://raw.githubusercontent.com/gravitl/netmaker/master/docker/mosquitto.conf

chmod +x /root/mosquitto.conf

Expand Down Expand Up @@ -431,7 +425,7 @@ setup_netclient() {
netclient uninstall
set -e

wget -O /tmp/netclient https://fileserver.netmaker.org/$LATEST/netclient
wget -O /tmp/netclient https://github.com/gravitl/netclient/releases/download/$LATEST/netclient_linux_amd64

chmod +x /tmp/netclient
/tmp/netclient install
Expand All @@ -446,11 +440,8 @@ setup_netclient() {
# setup_nmctl - pulls nmctl and makes it executable
setup_nmctl() {

# DEV_TEMP - Temporary instructions for testing
wget https://fileserver.netmaker.org/testing/nmctl

# RELEASE_REPLACE - Use this once release is ready
# wget https://github.com/gravitl/netmaker/releases/download/v0.17.1/nmctl
wget -O nmctl https://github.com/gravitl/netmaker/releases/download/$LATEST/nmctl_linux_amd64

chmod +x nmctl
echo "using server $SERVER_HTTP_HOST"
echo "using master key $MASTER_KEY"
Expand Down

0 comments on commit 9f5e9c1

Please sign in to comment.