Browse Source

[Galactica] Improve tests

pull/456/head
Andrés Montañez 3 months ago
parent
commit
b893e102c6
No known key found for this signature in database
GPG Key ID: 97E9F675F4C03DE2
  1. 1
      .gitignore
  2. 4
      tests/Resources/basic.yml
  3. 2
      tests/Resources/broken-git-branch.yml
  4. 2
      tests/Resources/composer-env.yml
  5. 2
      tests/Resources/composer.yml
  6. 2
      tests/Resources/global-exclude.yml
  7. 2
      tests/Resources/invalid-task.yml
  8. 4
      tests/Resources/no-hosts.yml
  9. 2
      tests/Resources/symfony-envconf.yml
  10. 2
      tests/Resources/testhost-custom-symlink.yml
  11. 4
      tests/Resources/testhost-custom-task.yml
  12. 2
      tests/Resources/testhost-fail-copy-tar.yml
  13. 2
      tests/Resources/testhost-fail-get-current.yml
  14. 2
      tests/Resources/testhost-fail-get-releases.yml
  15. 4
      tests/Resources/testhost-force-release.yml
  16. 4
      tests/Resources/testhost-force-tar1.yml
  17. 4
      tests/Resources/testhost-force-tar2.yml
  18. 4
      tests/Resources/testhost-force-tar3.yml
  19. 2
      tests/Resources/testhost-no-hosts.yml
  20. 2
      tests/Resources/testhost-no-releases.yml
  21. 2
      tests/Resources/testhost-not-have-release.yml
  22. 4
      tests/Resources/testhost-skipping.yml
  23. 4
      tests/Resources/testhost-sudo.yml
  24. 4
      tests/Resources/testhost-with-error.yml
  25. 4
      tests/Resources/testhost-with-from-copy-directory.yml
  26. 4
      tests/Resources/testhost-with-from.yml
  27. 4
      tests/Resources/testhost-with-port.yml
  28. 4
      tests/Resources/testhost-with-postdeploy-error.yml
  29. 4
      tests/Resources/testhost-with-release-timeout.yml
  30. 4
      tests/Resources/testhost-without-releases-with-from.yml
  31. 4
      tests/Resources/testhost-without-releases-with-port.yml
  32. 4
      tests/Resources/testhost-without-releases.yml
  33. 4
      tests/Resources/testhost.yml

1
.gitignore vendored

@ -4,3 +4,4 @@ composer.lock
.mage.yml
.phpunit.result.cache
.phpcs-cache
.logs

4
tests/Resources/basic.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
production:
user: app
@ -24,4 +24,4 @@ magephp:
- symfony/cache-pool-prune: { env: 'dev' }
on-release:
post-release:
post-deploy:
post-deploy:

2
tests/Resources/broken-git-branch.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester

2
tests/Resources/composer-env.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
composer:
path: /usr/bin/composer.phar
environments:

2
tests/Resources/composer.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
composer:
path: /usr/bin/composer.phar
environments:

2
tests/Resources/global-exclude.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
composer:
path: /usr/bin/composer.phar
exclude:

2
tests/Resources/invalid-task.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester

4
tests/Resources/no-hosts.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester
@ -20,4 +20,4 @@ magephp:
- symfony/cache-pool-prune: { env: 'dev' }
on-release:
post-release:
post-deploy:
post-deploy:

2
tests/Resources/symfony-envconf.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
symfony: { env: 'testenv' }

2
tests/Resources/testhost-custom-symlink.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester

4
tests/Resources/testhost-custom-task.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester
@ -17,4 +17,4 @@ magephp:
- Mage\Tests\Task\CustomTask
on-release:
post-release:
post-deploy:
post-deploy:

2
tests/Resources/testhost-fail-copy-tar.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester

2
tests/Resources/testhost-fail-get-current.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester

2
tests/Resources/testhost-fail-get-releases.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester

4
tests/Resources/testhost-force-release.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester
@ -12,4 +12,4 @@ magephp:
hosts:
- host2
on-deploy:
- deploy/release
- deploy/release

4
tests/Resources/testhost-force-tar1.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester
@ -12,4 +12,4 @@ magephp:
hosts:
- host2
pre-deploy:
- deploy/tar/prepare
- deploy/tar/prepare

4
tests/Resources/testhost-force-tar2.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester
@ -12,4 +12,4 @@ magephp:
hosts:
- host2
on-deploy:
- deploy/tar/copy
- deploy/tar/copy

4
tests/Resources/testhost-force-tar3.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester
@ -12,4 +12,4 @@ magephp:
hosts:
- host2
post-deploy:
- deploy/tar/cleanup
- deploy/tar/cleanup

2
tests/Resources/testhost-no-hosts.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester

2
tests/Resources/testhost-no-releases.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester

2
tests/Resources/testhost-not-have-release.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester

4
tests/Resources/testhost-skipping.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester
@ -21,4 +21,4 @@ magephp:
- symfony/cache-pool-prune: { env: 'dev' }
on-release:
post-release:
post-deploy:
post-deploy:

4
tests/Resources/testhost-sudo.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester
@ -23,4 +23,4 @@ magephp:
- symfony/cache-pool-prune: { env: 'dev' }
on-release:
post-release:
post-deploy:
post-deploy:

4
tests/Resources/testhost-with-error.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester
@ -20,4 +20,4 @@ magephp:
- deploy/rsync
on-release:
post-release:
post-deploy:
post-deploy:

4
tests/Resources/testhost-with-from-copy-directory.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester
@ -26,4 +26,4 @@ magephp:
- symfony/cache-pool-prune: { env: 'dev' }
on-release:
post-release:
post-deploy:
post-deploy:

4
tests/Resources/testhost-with-from.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester
@ -25,4 +25,4 @@ magephp:
- symfony/cache-pool-prune: { env: 'dev' }
on-release:
post-release:
post-deploy:
post-deploy:

4
tests/Resources/testhost-with-port.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester
@ -24,4 +24,4 @@ magephp:
- symfony/cache-pool-prune: { env: 'prod' }
on-release:
post-release:
post-deploy:
post-deploy:

4
tests/Resources/testhost-with-postdeploy-error.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester
@ -20,4 +20,4 @@ magephp:
on-release:
post-release:
post-deploy:
- deploy/tar/cleanup
- deploy/tar/cleanup

4
tests/Resources/testhost-with-release-timeout.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester
@ -28,4 +28,4 @@ magephp:
- symfony/cache-pool-prune: { env: 'dev' }
on-release:
post-release:
post-deploy:
post-deploy:

4
tests/Resources/testhost-without-releases-with-from.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester
@ -22,4 +22,4 @@ magephp:
- symfony/cache-pool-prune: { env: 'dev' }
on-release:
post-release:
post-deploy:
post-deploy:

4
tests/Resources/testhost-without-releases-with-port.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester
@ -21,4 +21,4 @@ magephp:
- symfony/cache-pool-prune: { env: 'dev' }
on-release:
post-release:
post-deploy:
post-deploy:

4
tests/Resources/testhost-without-releases.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester
@ -21,4 +21,4 @@ magephp:
- symfony/cache-pool-prune: { env: 'dev' }
on-release:
post-release:
post-deploy:
post-deploy:

4
tests/Resources/testhost.yml

@ -1,5 +1,5 @@
magephp:
log_dir: /tmp
log_dir: .logs/
environments:
test:
user: tester
@ -24,4 +24,4 @@ magephp:
- symfony/cache-pool-prune: { env: 'dev' }
on-release:
post-release:
post-deploy:
post-deploy:

Loading…
Cancel
Save