diff --git a/bootstrap.sh b/bootstrap.sh index 4477805..a33b80b 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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-rc1 + sudo apt-get install iofogctl=2.0.0-rc3 ;; *fedora*|*centos*) curl https://packagecloud.io/install/repositories/iofog/iofogctl/script.rpm.sh | sudo bash - sudo yum install iofogctl-2.0.0-rc1-1.x86_64 + sudo yum install iofogctl-2.0.0_rc3-1.x86_64 ;; *) echo "Failed to install iofogctl" diff --git a/init/tutorial/config.yaml b/init/tutorial/config.yaml index 0a71b60..81ffed2 100644 --- a/init/tutorial/config.yaml +++ b/init/tutorial/config.yaml @@ -44,4 +44,5 @@ spec: env: [] routes: - from: Sensors - to: Rest API \ No newline at end of file + to: Rest API + name: sensor-to-rest \ No newline at end of file diff --git a/start.sh b/start.sh index db4e815..0572715 100755 --- a/start.sh +++ b/start.sh @@ -84,8 +84,8 @@ startEnvironment() { ENVIRONMENT='' IOFOG_BUILD_NO_CACHE='' -AGENT_IMAGE='docker.io/iofog/agent:2.0.0-rc1' -CONTROLLER_IMAGE='docker.io/iofog/controller:2.0.0-rc1' +AGENT_IMAGE='docker.io/iofog/agent:2.0.0-rc2' +CONTROLLER_IMAGE='docker.io/iofog/controller:2.0.0-rc2' while [[ "$#" -ge 1 ]]; do case "$1" in -h|--help) diff --git a/templates/job.yaml b/templates/job.yaml index cc241e5..e6b9c34 100644 --- a/templates/job.yaml +++ b/templates/job.yaml @@ -61,6 +61,7 @@ jobs: # displayName: 'Pull latest images' - script: | + $(cssh) $(agent) -- cat $(dir)/init/tutorial/config.yaml $(cssh) $(agent) -- bash $(dir)/start.sh tutorial # Use dev version of agent and controller until 1.3.0 release # ./start.sh -ct gcr.io/focal-freedom-236620/controller:develop -a gcr.io/focal-freedom-236620/agent:develop diff --git a/test.sh b/test.sh index 0379946..9329eb9 100755 --- a/test.sh +++ b/test.sh @@ -40,6 +40,6 @@ echoInfo "Running Test Runner..." docker run --rm --name test-runner --network host \ -v ~/.iofog/:/root/.iofog/ \ -v /var/run/docker.sock:/var/run/docker.sock \ - iofog/test-runner:2.0.0-rc1 + iofog/test-runner:2.0.0-rc3 echoNotify "## Test Runner Tests complete"