Skip to content

Commit

Permalink
fix(*): remove deprecated @1 unit names
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Monroy committed Oct 18, 2014
1 parent aee7c7c commit 14e0ad9
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 37 deletions.
4 changes: 2 additions & 2 deletions builder/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ full-clean: check-docker check-registry clean
docker images -q $(IMAGE_PREFIX)$(COMPONENT) | xargs docker rmi -f

install: check-deisctl
deisctl scale $(COMPONENT)=1
deisctl install $(COMPONENT)

uninstall: check-deisctl
deisctl scale $(COMPONENT)=0
deisctl uninstall $(COMPONENT)

start: check-deisctl
deisctl start $(COMPONENT)
Expand Down
4 changes: 2 additions & 2 deletions cache/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ full-clean: check-docker check-registry
docker images -q $(IMAGE_PREFIX)$(COMPONENT) | xargs docker rmi -f

install: check-deisctl
deisctl scale $(COMPONENT)=1
deisctl install $(COMPONENT)

uninstall: check-deisctl
deisctl scale $(COMPONENT)=0
deisctl uninstall $(COMPONENT)

start: check-deisctl
deisctl start $(COMPONENT)
Expand Down
12 changes: 6 additions & 6 deletions contrib/gce/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,13 @@ Verify that all the units are active after the operation completes:
```console
$ deisctl list
UNIT MACHINE LOAD ACTIVE SUB
deis-builder@1.service dea53588.../172.17.8.100 loaded active running
deis-cache@1.service dea53588.../172.17.8.100 loaded active running
deis-controller@1.service dea53588.../172.17.8.100 loaded active running
deis-database@1.service dea53588.../172.17.8.100 loaded active running
deis-builder.service dea53588.../172.17.8.100 loaded active running
deis-cache.service dea53588.../172.17.8.100 loaded active running
deis-controller.service dea53588.../172.17.8.100 loaded active running
deis-database.service dea53588.../172.17.8.100 loaded active running
deis-logger-data.service dea53588.../172.17.8.100 loaded active exited
deis-logger@1.service dea53588.../172.17.8.100 loaded active running
deis-registry@1.service dea53588.../172.17.8.100 loaded active running
deis-logger.service dea53588.../172.17.8.100 loaded active running
deis-registry.service dea53588.../172.17.8.100 loaded active running
[email protected] dea53588.../172.17.8.100 loaded active running
```

Expand Down
4 changes: 2 additions & 2 deletions controller/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ full-clean: check-docker check-registry
docker images -q $(IMAGE_PREFIX)$(COMPONENT) | xargs docker rmi -f

install: check-deisctl
deisctl scale $(COMPONENT)=1
deisctl install $(COMPONENT)

uninstall: check-deisctl
deisctl scale $(COMPONENT)=0
deisctl uninstall $(COMPONENT)

start: check-deisctl
deisctl start $(COMPONENT)
Expand Down
4 changes: 2 additions & 2 deletions database/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ full-clean: check-docker check-registry
docker images -q $(IMAGE_PREFIX)$(COMPONENT) | xargs docker rmi -f

install: check-deisctl
deisctl scale $(COMPONENT)=1
deisctl install $(COMPONENT)

uninstall: check-deisctl
deisctl scale $(COMPONENT)=0
deisctl uninstall $(COMPONENT)

start: check-deisctl
deisctl start $(COMPONENT)
Expand Down
2 changes: 1 addition & 1 deletion deisctl/deisctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Commands:
Example Commands:
deisctl install platform
deisctl uninstall builder@1
deisctl uninstall builder
deisctl scale router=2
deisctl start router@2
deisctl stop router builder
Expand Down
2 changes: 1 addition & 1 deletion docs/managing_deis/backing_up_data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dump of the database.

.. code-block:: console
dev $ fleetctl ssh deis-database@1.service
dev $ fleetctl ssh deis-database.service
coreos $ nse deis-database
coreos $ sudo -u postgres pg_dumpall > pg_dump.sql
Expand Down
4 changes: 2 additions & 2 deletions logger/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ full-clean: check-docker check-registry
docker images -q $(IMAGE_PREFIX)$(COMPONENT) | xargs docker rmi -f

install: check-deisctl
deisctl scale $(COMPONENT)=1
deisctl install $(COMPONENT)

uninstall: check-deisctl
deisctl scale $(COMPONENT)=0
deisctl uninstall $(COMPONENT)

start: check-deisctl
deisctl start $(COMPONENT)
Expand Down
4 changes: 2 additions & 2 deletions registry/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ full-clean: check-docker check-registry
docker images -q $(IMAGE_PREFIX)$(COMPONENT) | xargs docker rmi -f

install: check-deisctl
deisctl scale $(COMPONENT)=1
deisctl install $(COMPONENT)

uninstall: check-deisctl
deisctl scale $(COMPONENT)=0
deisctl uninstall $(COMPONENT)

start: check-deisctl
deisctl start $(COMPONENT)
Expand Down
8 changes: 4 additions & 4 deletions store/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,20 @@ full-clean: check-docker check-registry
install: check-deisctl
deisctl install store-monitor
deisctl install store-daemon
deisctl scale store-gateway=1
deisctl install store-gateway

uninstall: check-deisctl
deisctl scale store-gateway=0
deisctl uninstall store-gateway
deisctl uninstall store-daemon
deisctl uninstall store-monitor

start: check-deisctl
deisctl start store-monitor
deisctl start store-daemon
deisctl start store-gateway@1
deisctl start store-gateway

stop: check-deisctl
deisctl stop store-gateway@1
deisctl stop store-gateway
deisctl stop store-daemon
deisctl stop store-monitor

Expand Down
2 changes: 0 additions & 2 deletions tests/bin/test-acceptance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ set_release controller ${OLD_TAG}
set_release registry ${OLD_TAG}

deisctl install platform
deisctl scale router=3
deisctl start router@1 router@2 router@3
time deisctl start platform

log_phase "Running smoke tests"
Expand Down
2 changes: 0 additions & 2 deletions tests/bin/test-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ make dev-release
log_phase "Provisioning Deis"

deisctl install platform
deisctl scale router=3
deisctl start router@1 router@2 router@3
time deisctl start platform

log_phase "Running integration suite"
Expand Down
2 changes: 0 additions & 2 deletions tests/bin/test-latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ log_phase "Provisioning Deis"

# provision deis from master using :latest
deisctl install platform
deisctl scale router=3
deisctl start router@1 router@2 router@3
time deisctl start platform

log_phase "Running integration tests"
Expand Down
10 changes: 5 additions & 5 deletions tests/bin/test-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ function dump_logs {
export FLEETCTL_TUNNEL=$DEISCTL_TUNNEL
set -x
fleetctl -strict-host-key-checking=false list-units
fleetctl -strict-host-key-checking=false ssh deis-controller@1 etcdctl ls / --recursive
fleetctl -strict-host-key-checking=false ssh deis-controller@1 docker logs deis-controller
fleetctl -strict-host-key-checking=false ssh deis-registry@1 docker logs deis-registry
fleetctl -strict-host-key-checking=false ssh deis-builder@1 docker logs deis-builder
fleetctl -strict-host-key-checking=false ssh deis-logger@1 docker logs deis-logger
fleetctl -strict-host-key-checking=false ssh deis-controller etcdctl ls / --recursive
fleetctl -strict-host-key-checking=false ssh deis-controller docker logs deis-controller
fleetctl -strict-host-key-checking=false ssh deis-registry docker logs deis-registry
fleetctl -strict-host-key-checking=false ssh deis-builder docker logs deis-builder
fleetctl -strict-host-key-checking=false ssh deis-logger docker logs deis-logger
set +x
exit 1
}
2 changes: 0 additions & 2 deletions tests/bin/test-smoke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ make dev-release
log_phase "Provisioning Deis"

time deisctl install platform
deisctl scale router=3
deisctl start router@1 router@2 router@3
time deisctl start platform

log_phase "Starting smoke tests"
Expand Down

0 comments on commit 14e0ad9

Please sign in to comment.