Skip to content

Commit

Permalink
Bumped version of iofogctl
Browse files Browse the repository at this point in the history
  • Loading branch information
NehaNaithani committed Oct 27, 2020
1 parent af4cb25 commit 8de2018
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG-2.0.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v2.0.0-rc1
## v2.0.2
* Update iofogctl, controller and agent version

## v2.0.0-beta
* Remove Connector
* Update yamls schemas
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Supported operating systems:
Requires tools:

* Docker 1.10+ ([installation instructions](https://docs.docker.com/install/))
* iofogctl 1.3.0+ ([installation instructions](https://github.com/eclipse-iofog/iofogctl/tree/v1.3.0#install))
* iofogctl 2.0.2 ([installation instructions](https://github.com/eclipse-iofog/iofogctl/tree/release/2.0#install))


# Try ioFog - Simple Edge Compute Network
Expand Down Expand Up @@ -86,16 +86,15 @@ The initialization scripts used to setup the ioFog stack / ECN are using the CLI

Full reference of the CLI is available at the iofogctl github repository:

* https://github.com/eclipse-iofog/iofogctl/tree/v1.3.0#usage
* https://github.com/eclipse-iofog/iofogctl/tree/release/2.0#usage

## Interacting With The ioFog Stack - REST API


Full reference of the REST API for all ioFog stack components is available at the ioFog website:

* https://iofog.org/docs/1.0.0/controllers/rest-api.html
* https://iofog.org/docs/1.0.0/agents/local-api.html
* https://iofog.org/docs/1.0.0/connectors/api-reference.html
* https://iofog.org/docs/2/reference-controller/rest-api.html
* https://iofog.org/docs/2/reference-agent/rest-api.html

You can try using the REST API directly on your machine with the ioFog stack running.
```sh
Expand Down Expand Up @@ -130,7 +129,6 @@ iofogctl delete application tutorial
* services # Service Dockerfiles and customization files
- iofog
+ iofog-agent # Agent service files - part of the iofog stack
+ iofog-connector # Connector service files - part of the iofog stack
+ iofog-controller # Controller service files - part of the iofog stack
* init
- iofog # plain ioFog stack initialization yaml file
Expand Down
4 changes: 2 additions & 2 deletions bootstrap.sh
Original file line number Diff line number Diff line change
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.0
sudo apt-get install iofogctl=2.0.2
;;
*fedora*|*centos*)
curl https://packagecloud.io/install/repositories/iofog/iofogctl/script.rpm.sh | sudo bash
sudo yum install iofogctl-2.0.0-1.x86_64
sudo yum install iofogctl-2.0.2-1.x86_64
;;
*)
echo "Failed to install iofogctl"
Expand Down
6 changes: 3 additions & 3 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ startEnvironment() {

ENVIRONMENT=''
IOFOG_BUILD_NO_CACHE=''
AGENT_IMAGE='docker.io/iofog/agent:2.0.0-rc2'
CONTROLLER_IMAGE='docker.io/iofog/controller:2.0.0-rc2'
AGENT_IMAGE='docker.io/iofog/agent:2.0.2'
CONTROLLER_IMAGE='docker.io/iofog/controller:2.0.1'
while [[ "$#" -ge 1 ]]; do
case "$1" in
-h|--help)
Expand Down Expand Up @@ -135,5 +135,5 @@ fi
./status.sh

if [[ "${ENVIRONMENT}" == "tutorial" ]]; then
echoSuccess "## Visit https://iofog.org/docs/2.0.0/tutorial/introduction.html to continue with the ioFog tutorial."
echoSuccess "## Visit https://iofog.org/docs/2/tutorial/introduction.html to continue with the ioFog tutorial."
fi
2 changes: 1 addition & 1 deletion utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ versionCompare() {
}

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

0 comments on commit 8de2018

Please sign in to comment.