Skip to content

Commit

Permalink
Merge pull request #33 from eclipse-iofog/neha/update-versions
Browse files Browse the repository at this point in the history
Updated agent and iofogctl version
  • Loading branch information
NehaNaithani committed Feb 18, 2021
2 parents f671e3c + afcdcc8 commit cc616a3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG-2.0.md
@@ -1,3 +1,10 @@

## v2.0.4
* Update iofogctl, controller and agent version

## v2.0.3
* Update iofogctl, controller and agent version

## v2.0.2
* Update iofogctl, controller and agent version

Expand Down
4 changes: 2 additions & 2 deletions bootstrap.sh
Expand Up @@ -53,11 +53,11 @@ install_iofogctl(){
case "$DIST" in
*ubuntu*|*debian*|*raspbian*)
curl https://packagecloud.io/install/repositories/iofog/iofogctl/script.deb.sh | sudo bash
sudo apt-get install iofogctl=2.0.2
sudo apt-get install iofogctl=2.0.4
;;
*fedora*|*centos*)
curl https://packagecloud.io/install/repositories/iofog/iofogctl/script.rpm.sh | sudo bash
sudo yum install iofogctl-2.0.2-1.x86_64
sudo yum install iofogctl-2.0.4-1.x86_64
;;
*)
echo "Failed to install iofogctl"
Expand Down
2 changes: 1 addition & 1 deletion start.sh
Expand Up @@ -84,7 +84,7 @@ startEnvironment() {

ENVIRONMENT=''
IOFOG_BUILD_NO_CACHE=''
AGENT_IMAGE='docker.io/iofog/agent:2.0.2'
AGENT_IMAGE='docker.io/iofog/agent:2.0.4'
CONTROLLER_IMAGE='docker.io/iofog/controller:2.0.1'
while [[ "$#" -ge 1 ]]; do
case "$1" in
Expand Down
6 changes: 3 additions & 3 deletions utils.sh
Expand Up @@ -26,7 +26,7 @@ checkForDebug() {
# Display a nice title line for any output. You can optionally populate it with a string
#
# Usage: prettyTitle "Bootstrapping ioFog"
#

prettyTitle() {
echoInfo "## $1 ####################################################"
}
Expand All @@ -38,7 +38,7 @@ prettyTitle() {
#
prettyHeader() {
echoInfo "## $1 ####################################################"
echoInfo "## Copyright (C) 2020, Edgeworx, Inc."
echoInfo "## Copyright (C) 2021, Edgeworx, Inc."
echo
}

Expand Down Expand Up @@ -106,7 +106,7 @@ versionCompare() {
}

checkIofogctl() {
IOFOGCTL_MINIMAL_VERSION="2.0.2"
IOFOGCTL_MINIMAL_VERSION="2.0.4"
if [[ -z "$(command -v iofogctl)" ]] ; then
echoError "iofogctl not found!"
exit 1;
Expand Down

0 comments on commit cc616a3

Please sign in to comment.