Skip to content

Commit

Permalink
[TASK] Assign correct team, adjust deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
ohader committed Apr 6, 2024
1 parent 22b2831 commit ed9d2fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .ddev/config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: site-surfcamp
name: surfcamp-team5
type: php
docroot: public
php_version: "8.2"
Expand Down
4 changes: 1 addition & 3 deletions .ddev/providers/assets.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
environment_variables:
# todo: change to 1, 2, 3, 4, 5 or 6
#team: [1-6]
team: 1
team: 5
git_url: git@github.com:TYPO3incubator/surfcamp-assets.git
branch: main
checkout_dir: /var/www/html/.ddev/.surfcamp-assets-downloads
Expand Down
6 changes: 3 additions & 3 deletions .mage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ magephp:
exclude:
- ./.ddev
- ./.git
- ./.github
- ./.github
- ./.mage
- ./.vscode
- ./public/fileadmin
Expand All @@ -24,7 +24,7 @@ magephp:
main:
user: surfcamp
from: ./
host_path: /srv/vhosts/team[1-6].surfcamp.typo3.com/site/mage
host_path: /srv/vhosts/team5.surfcamp.typo3.com/site/mage
releases: 3
hosts:
- demo.surfcamp.typo3.com
Expand All @@ -40,7 +40,7 @@ magephp:
post-release:
- exec: { cmd: "[ -d ../../../cachetool ] || mkdir -p ../../../cachetool" }
- exec: { cmd: "[ -f ../../../cachetool/cachetool.phar ] || curl -o ../../../cachetool/cachetool.phar https://gordalina.github.io/cachetool/downloads/cachetool.phar && chmod +x ../../../cachetool/cachetool.phar" }
- exec: { cmd: "/usr/bin/php ../../../cachetool/cachetool.phar opcache:reset --fcgi=/var/run/team[1-6].surfcamp.typo3.com_fpm.sock --tmp-dir=/srv/vhosts/team[1-6].surfcamp.typo3.com/site/cachetool" }
- exec: { cmd: "/usr/bin/php ../../../cachetool/cachetool.phar opcache:reset --fcgi=/var/run/team5.surfcamp.typo3.com_fpm.sock --tmp-dir=/srv/vhosts/team5.surfcamp.typo3.com/site/cachetool" }
- exec: { cmd: '/usr/bin/php ./bin/typo3 backend:lock', timeout: 9000 }
- exec: { cmd: '/usr/bin/php ./bin/typo3 extension:setup', timeout: 9000 }
- exec: { cmd: '/usr/bin/php ./bin/typo3 cache:flush', timeout: 9000 }
Expand Down

0 comments on commit ed9d2fe

Please sign in to comment.