Skip to content

Commit

Permalink
fix(tests): update smoke test for removal of clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
mboersma committed Oct 22, 2014
1 parent 59cfb19 commit 356967e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 16 deletions.
6 changes: 2 additions & 4 deletions contrib/bumpver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ $ ./contrib/bumpver/bumpver -f 0.13.0-dev 0.13.3 \
deisctl/deisctl.go \
deisctl/README.md \
controller/deis/__init__.py \
README.md \
tests/bin/test-latest.sh
README.md
$ # update from the first semver string found
$ # this type of command should now be enough to bump everything
$ ./contrib/bumpver/bumpver 0.14.0 \
Expand All @@ -49,8 +48,7 @@ $ ./contrib/bumpver/bumpver 0.14.0 \
deisctl/README.md \
contrib/coreos/user-data \
controller/deis/__init__.py \
README.md \
tests/bin/test-latest.sh
README.md
```

Of course, you should **always** check the changes with `git diff` before committing
Expand Down
3 changes: 1 addition & 2 deletions docs/contributing/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ deis repo
deisctl/cmd/cmd.go \
contrib/coreos/user-data \
controller/deis/__init__.py \
README.md \
tests/bin/test-latest.sh
README.md
- Commit and push the deis/deis release and tag
* ``git commit -a -m 'chore(release): update version to vX.Y.Z'``
Expand Down
4 changes: 2 additions & 2 deletions tests/bin/test-latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ log_phase "Installing clients"

# install deis CLI from http://deis.io/ website
pushd $DEIS_ROOT/deisctl
curl -sSL http://deis.io/deis-cli/install.sh | sh -s 0.14.0
curl -sSL http://deis.io/deis-cli/install.sh | sh
popd

# install deisctl from http://deis.io/ website
# installs latest unit files to $HOME/.deis/units
pushd $DEIS_ROOT/client
curl -sSL http://deis.io/deisctl/install.sh | sh -s 0.14.0
curl -sSL http://deis.io/deisctl/install.sh | sh
popd

# ensure we use distributed unit files
Expand Down
8 changes: 0 additions & 8 deletions tests/smoke_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,6 @@ deis login http://deis.{{.Domain}} \
// Add the "deis" SSH key, or skip if it's been added already.
{"", `
deis keys:add {{.AuthKey}}.pub || true
`},
// Destroy the "dev" cluster if it exists.
{"", `
deis clusters:destroy dev --confirm=dev || true
`},
// Create a cluster named "dev".
{"", `
deis init dev {{.Domain}} --hosts={{.Hosts}} --auth={{.SSHKey}}
`},
// Clone the example app git repository locally.
{"", `
Expand Down

0 comments on commit 356967e

Please sign in to comment.