Skip to content

Commit

Permalink
More php8.2 stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
addshore committed Jul 28, 2024
1 parent c46411f commit aa1ef9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions toolforge/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
spec:
containers:
- name: queue
image: docker-registry.tools.wmflabs.org/toolforge-php74-sssd-base:latest
image: docker-registry.tools.wmflabs.org/toolforge-php82-sssd-base:latest
command: [ "php", "/data/project/wikicrowd/src/artisan", "queue:work", "--queue=high,default,low", "--tries=3" ]
workingDir: /data/project/wikicrowd/src
env:
Expand Down Expand Up @@ -53,7 +53,7 @@ spec:
spec:
containers:
- name: schedule
image: docker-registry.tools.wmflabs.org/toolforge-php74-sssd-base:latest
image: docker-registry.tools.wmflabs.org/toolforge-php82-sssd-base:latest
command: [ "php", "/data/project/wikicrowd/src/artisan", "schedule:work" ]
workingDir: /data/project/wikicrowd/src
env:
Expand Down
4 changes: 2 additions & 2 deletions toolforge/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
git -C ~/src pull

# Install dependencies & prep files
webservice php8.2 shell -- composer install --no-dev --working-dir=./src
webservice php8.2 shell -- composer install --no-dev --ignore-platform-reqs --working-dir=./src
webservice node12 shell -- npm --prefix src install
webservice node12 shell -- npm --prefix src run production

Expand All @@ -18,7 +18,7 @@ webservice php8.2 shell -- php ./src/artisan migrate
# Restart the web server
cp ~/src/toolforge/lighttpd.conf ~/.lighttpd.conf
cp ~/src/toolforge/service.template ~/service.template
webservice restart
webservice php8.2 restart

# Re apply k8s Deployments
kubectl delete -f ~/deployment.yaml
Expand Down

0 comments on commit aa1ef9f

Please sign in to comment.