Skip to content

Commit 94d1477

Browse files
committed
disabled tests for old/unmaintained sf versions, updated docs
1 parent dc924f6 commit 94d1477

File tree

3 files changed

+35
-9
lines changed

3 files changed

+35
-9
lines changed

.travis.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@ install:
2323

2424
script:
2525
# Check the role/playbook's syntax.
26-
- "ansible-playbook -i tests/inventory tests/test_2_1.yml --syntax-check"
27-
- "ansible-playbook -i tests/inventory tests/test_2_2.yml --syntax-check"
28-
- "ansible-playbook -i tests/inventory tests/test_2_3.yml --syntax-check"
29-
- "ansible-playbook -i tests/inventory tests/test_2_4.yml --syntax-check"
26+
#- "ansible-playbook -i tests/inventory tests/test_2_1.yml --syntax-check"
27+
#- "ansible-playbook -i tests/inventory tests/test_2_2.yml --syntax-check"
28+
#- "ansible-playbook -i tests/inventory tests/test_2_3.yml --syntax-check"
29+
#- "ansible-playbook -i tests/inventory tests/test_2_4.yml --syntax-check"
3030
- "ansible-playbook -i tests/inventory tests/test_2_5.yml --syntax-check"
3131
- "ansible-playbook -i tests/inventory tests/test_2_6.yml --syntax-check"
3232
- "ansible-playbook -i tests/inventory tests/test_2_7.yml --syntax-check"
3333
- "ansible-playbook -i tests/inventory tests/test_2_8.yml --syntax-check"
3434
- "ansible-playbook -i tests/inventory tests/test_3_0.yml --syntax-check"
3535
# Run playbooks
36-
- "ansible-playbook -i tests/inventory tests/test_2_1.yml --connection=local"
37-
- "ansible-playbook -i tests/inventory tests/test_2_2.yml --connection=local"
38-
- "ansible-playbook -i tests/inventory tests/test_2_3.yml --connection=local"
39-
- "ansible-playbook -i tests/inventory tests/test_2_4.yml --connection=local"
36+
#- "ansible-playbook -i tests/inventory tests/test_2_1.yml --connection=local"
37+
#- "ansible-playbook -i tests/inventory tests/test_2_2.yml --connection=local"
38+
#- "ansible-playbook -i tests/inventory tests/test_2_3.yml --connection=local"
39+
#- "ansible-playbook -i tests/inventory tests/test_2_4.yml --connection=local"
4040
- "ansible-playbook -i tests/inventory tests/test_2_5.yml --connection=local"
4141
- "ansible-playbook -i tests/inventory tests/test_2_6.yml --connection=local"
4242
- "ansible-playbook -i tests/inventory tests/test_2_7.yml --connection=local"

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## v2.1
4+
5+
* refactoring to have more control over folders when deploying
6+
* more tests for current symfony versions
7+
* compatibility with new symfony folder and command structure
8+
9+
## v2.0
10+
11+
* bugfixes for folders
12+
* stability release
13+
314
## v2.0.1-alpha
415

516
* bugfixes for parameters file

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,10 @@ These are the possible role variables - you only need to have a small set define
9292
symfony_project_php_path: php
9393
symfony_project_keep_releases: 5
9494
symfony_project_git_clone_depth: 1 # uses git shallow copy
95-
symfony_project_github_oauth_token: Auth token for github rate limits
95+
symfony_project_github_token: Auth token for github rate limits
9696
symfony_project_console_opts: ''
9797
symfony_project_console_command: 'app/console' # sf >= 3.0 bin/console
98+
symfony_project_config_dir: 'app/config' # symfony configuration dir
9899
symfony_project_parameters_file: parameters.yml # optional fixed parameters file in shared
99100
symfony_project_cache_command: cache:warmup
100101
@@ -106,6 +107,12 @@ These are the possible role variables - you only need to have a small set define
106107
symfony_project_fire_schema_update: False # rund mongodb schema update if installed
107108
symfony_project_fire_migrations: run doctrine migrations, if installed
108109
symfony_project_symlink_assets: run assets:create with symlink options
110+
111+
symfony_project_shared_folders: # folders to be linked from shared directory to release dir
112+
- {name: logs, src: app/logs, path: app/logs}
113+
114+
symfony_project_managed_folders: # folderst to be created/checked in release dir
115+
- {name: cache, path: app/cache}
109116
```
110117

111118
### Role variable defaults
@@ -185,6 +192,14 @@ Create ```<your deployment>/hooks/post_folder_creation.yml```:
185192
- name: hook | Symlink to release.
186193
file: state=link src="{{symfony_shared_dir}}/web/uploads" path="{{symfony_current_release_dir}}/web/uploads"
187194
```
195+
As an alternative to managing folders via hooks, you can also configure either the shared folders or the creation of folders in your release directory in your confguration:
196+
197+
```yaml
198+
---
199+
symfony_project_shared_folders: # folders to be linked from shared directory to release dir
200+
- {name: logs, src: app/logs, path: app/logs}
201+
- {name: uploads, src: web/uploads, path: web/uploads}
202+
```
188203

189204
## Dependencies
190205

0 commit comments

Comments
 (0)