Skip to content

Commit d2f335d

Browse files
committed
Fixes #124: Update Node.js rolling deployment example to work with Ubuntu 18.04.
1 parent 243aa46 commit d2f335d

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ env:
99

1010
# TODO: Not easy to test in CI at this time.
1111
# - playbook: deployments-balancer.yml
12-
# distro: ubuntu1404
12+
# distro: ubuntu1804
1313

1414
- playbook: deployments-rolling.yml
15-
distro: ubuntu1404
15+
distro: ubuntu1804
1616

1717
- playbook: docker.yml
1818
distro: ubuntu1604

deployments-rolling/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ The first 'production' release of this demo app is version `1.0.0`, which contai
2424

2525
Some notable releases you could test:
2626

27-
- `1.0.0`: The first stable release, but only one boring `/hello/:name` endpoint.
28-
- `1.0.1`: New `/ping/:server` endpoint, but one test is broken.
29-
- `1.0.2`: Tests are fixed, and `/ping/:server` endpoint responds correctly.
27+
- `2.0.0`: The first stable release, passing all tests.
28+
- `2.0.1`: A code change was made which broke one of the tests.
29+
- `2.0.2`: The code was fixed, and all tests pass again.
3030

3131
## About the Author
3232

deployments-rolling/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Vagrant.configure("2") do |config|
55
# Base VM OS configuration.
6-
config.vm.box = "geerlingguy/ubuntu1404"
6+
config.vm.box = "geerlingguy/ubuntu1804"
77
config.vm.synced_folder '.', '/vagrant', disabled: true
88
config.ssh.insert_key = false
99

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
app_repository: https://github.com/geerlingguy/demo-nodejs-api.git
3-
app_version: "1.0.0"
3+
app_version: "2.0.0"
44
app_directory: /opt/demo-nodejs-api

0 commit comments

Comments
 (0)