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 47c21ca commit b289643
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-team3
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: 3
git_url: [email protected]: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/team3.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/team3.surfcamp.typo3.com_fpm.sock --tmp-dir=/srv/vhosts/team3.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 b289643

Please sign in to comment.