taperole 1.5.3 → 1.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/roles/frontend_deploy/tasks/main.yml +7 -1
- data/taperole.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 81255ad48472ca1749f725a4a5fe5ee4355516cd
|
|
4
|
+
data.tar.gz: 63a4c95a7d99362c296fd037a365caa5ee5c4be4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 25209eac2f52fc4850e0d578230f184b6e2cf6dd7e45b443043067cdd9268ea1557e622042960e9b6d8eb90492e19a407f1b861208e2c84c3ec372bc5ed7e48a
|
|
7
|
+
data.tar.gz: aeac0f2e3ef64be4b15bb544636000195886a14ef6444cde6e783271ef38cb5d88972280d14325d49f0b91506e84d6c38dd9e442c70641826a6bc7c1ce8dc606
|
|
@@ -1,14 +1,20 @@
|
|
|
1
|
+
- name: Check if path exists
|
|
2
|
+
stat: path={{ fe_app_path }}
|
|
3
|
+
register: fe_app_path_stat
|
|
4
|
+
tags: [fe_deploy]
|
|
5
|
+
|
|
1
6
|
- name: Check if there are commited changes on {{ fe_app_branch }}
|
|
2
7
|
remote_user: "{{ deployer_user.name }}"
|
|
3
8
|
command: bash -lc "git fetch origin && git diff --name-only origin/{{ fe_app_branch }}"
|
|
4
9
|
args:
|
|
5
10
|
chdir: "{{fe_app_path}}"
|
|
6
11
|
register: changes_on_remote
|
|
12
|
+
when: fe_app_path_stat.stat.exists
|
|
7
13
|
tags: [fe_deploy]
|
|
8
14
|
|
|
9
15
|
- name: Inform User if there are no changes
|
|
10
16
|
debug: msg={{no_changes_found_error.split('\n')}}
|
|
11
|
-
when: changes_on_remote.stdout_lines == []
|
|
17
|
+
when: fe_app_path_stat.stat.exists and changes_on_remote.stdout_lines == []
|
|
12
18
|
tags: [fe_deploy]
|
|
13
19
|
|
|
14
20
|
- name: clone the FE app
|
data/taperole.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |spec|
|
|
2
2
|
spec.name = "taperole"
|
|
3
|
-
spec.version = '1.5.
|
|
3
|
+
spec.version = '1.5.4'
|
|
4
4
|
spec.authors = ['Jack Forrest', 'Smashing Boxes', 'Brandon Mathis']
|
|
5
5
|
spec.description = "General purpose server provisioning and application deployment toolkit"
|
|
6
6
|
spec.email = ['jack@smashingboxes.com', 'brandon@sbox.es']
|