Skip to content

Commit 1880dd4

Browse files
authored
Merge pull request #32 from appwrite/feat-1.5.6
feat: update to 1.5.6 release
2 parents 5c2d528 + 8348a13 commit 1880dd4

File tree

4 files changed

+85
-25
lines changed

4 files changed

+85
-25
lines changed

.gitpod.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tasks:
2-
- init: docker-compose pull --include-deps appwrite traefik
2+
- init: docker-compose pull --include-deps appwrite traefik openruntimes-executor appwrite-assistant
33
command: |
44
DOMAIN=$(echo $GITPOD_WORKSPACE_URL | sed 's/https:\/\/appwrite/8080-appwrite/g')
55
sed -i "s/_APP_DOMAIN=localhost/_APP_DOMAIN=$DOMAIN/g" .env

RELEASE.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# How to prepare a new release
2+
3+
To upgrade the integration for Gitpod after each Appwrite release, run the [upgrade](https://appwrite.io/docs/advanced/self-hosting/update#install-next-version) command. This is important to ensure all services and env variables are updated as needed.
4+
5+
For convenience, you may use the `upgrade.sh` script in this repo to prepare a new release.

docker-compose.yml

+24-24
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ services:
3434
- appwrite
3535

3636
appwrite:
37-
image: appwrite/appwrite:1.5.5
37+
image: appwrite/appwrite:1.5.6
3838
container_name: appwrite
3939
<<: *x-logging
4040
restart: unless-stopped
@@ -159,7 +159,7 @@ services:
159159
- _APP_ASSISTANT_OPENAI_API_KEY
160160

161161
appwrite-realtime:
162-
image: appwrite/appwrite:1.5.5
162+
image: appwrite/appwrite:1.5.6
163163
entrypoint: realtime
164164
container_name: appwrite-realtime
165165
<<: *x-logging
@@ -203,7 +203,7 @@ services:
203203
- _APP_LOGGING_CONFIG
204204

205205
appwrite-worker-audits:
206-
image: appwrite/appwrite:1.5.5
206+
image: appwrite/appwrite:1.5.6
207207
entrypoint: worker-audits
208208
<<: *x-logging
209209
container_name: appwrite-worker-audits
@@ -230,7 +230,7 @@ services:
230230
- _APP_LOGGING_CONFIG
231231

232232
appwrite-worker-webhooks:
233-
image: appwrite/appwrite:1.5.5
233+
image: appwrite/appwrite:1.5.6
234234
entrypoint: worker-webhooks
235235
<<: *x-logging
236236
container_name: appwrite-worker-webhooks
@@ -258,7 +258,7 @@ services:
258258
- _APP_LOGGING_CONFIG
259259

260260
appwrite-worker-deletes:
261-
image: appwrite/appwrite:1.5.5
261+
image: appwrite/appwrite:1.5.6
262262
entrypoint: worker-deletes
263263
<<: *x-logging
264264
container_name: appwrite-worker-deletes
@@ -314,7 +314,7 @@ services:
314314
- _APP_EXECUTOR_HOST
315315

316316
appwrite-worker-databases:
317-
image: appwrite/appwrite:1.5.5
317+
image: appwrite/appwrite:1.5.6
318318
entrypoint: worker-databases
319319
<<: *x-logging
320320
container_name: appwrite-worker-databases
@@ -341,7 +341,7 @@ services:
341341
- _APP_LOGGING_CONFIG
342342

343343
appwrite-worker-builds:
344-
image: appwrite/appwrite:1.5.5
344+
image: appwrite/appwrite:1.5.6
345345
entrypoint: worker-builds
346346
<<: *x-logging
347347
container_name: appwrite-worker-builds
@@ -405,7 +405,7 @@ services:
405405
- _APP_STORAGE_WASABI_BUCKET
406406

407407
appwrite-worker-certificates:
408-
image: appwrite/appwrite:1.5.5
408+
image: appwrite/appwrite:1.5.6
409409
entrypoint: worker-certificates
410410
<<: *x-logging
411411
container_name: appwrite-worker-certificates
@@ -439,7 +439,7 @@ services:
439439
- _APP_LOGGING_CONFIG
440440

441441
appwrite-worker-functions:
442-
image: appwrite/appwrite:1.5.5
442+
image: appwrite/appwrite:1.5.6
443443
entrypoint: worker-functions
444444
<<: *x-logging
445445
container_name: appwrite-worker-functions
@@ -476,7 +476,7 @@ services:
476476
- _APP_LOGGING_PROVIDER
477477

478478
appwrite-worker-mails:
479-
image: appwrite/appwrite:1.5.5
479+
image: appwrite/appwrite:1.5.6
480480
entrypoint: worker-mails
481481
<<: *x-logging
482482
container_name: appwrite-worker-mails
@@ -509,7 +509,7 @@ services:
509509
- _APP_LOGGING_CONFIG
510510

511511
appwrite-worker-messaging:
512-
image: appwrite/appwrite:1.5.5
512+
image: appwrite/appwrite:1.5.6
513513
entrypoint: worker-messaging
514514
<<: *x-logging
515515
container_name: appwrite-worker-messaging
@@ -537,7 +537,7 @@ services:
537537
- _APP_SMS_PROVIDER
538538

539539
appwrite-worker-migrations:
540-
image: appwrite/appwrite:1.5.5
540+
image: appwrite/appwrite:1.5.6
541541
entrypoint: worker-migrations
542542
<<: *x-logging
543543
container_name: appwrite-worker-migrations
@@ -567,11 +567,11 @@ services:
567567
- _APP_MIGRATIONS_FIREBASE_CLIENT_ID
568568
- _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET
569569

570-
appwrite-maintenance:
571-
image: appwrite/appwrite:1.5.5
570+
appwrite-task-maintenance:
571+
image: appwrite/appwrite:1.5.6
572572
entrypoint: maintenance
573573
<<: *x-logging
574-
container_name: appwrite-maintenance
574+
container_name: appwrite-task-maintenance
575575
restart: unless-stopped
576576
networks:
577577
- appwrite
@@ -602,7 +602,7 @@ services:
602602
- _APP_MAINTENANCE_RETENTION_SCHEDULES
603603

604604
appwrite-worker-usage:
605-
image: appwrite/appwrite:1.5.5
605+
image: appwrite/appwrite:1.5.6
606606
entrypoint: worker-usage
607607
container_name: appwrite-worker-usage
608608
<<: *x-logging
@@ -631,7 +631,7 @@ services:
631631
- _APP_USAGE_AGGREGATION_INTERVAL
632632

633633
appwrite-worker-usage-dump:
634-
image: appwrite/appwrite:1.5.5
634+
image: appwrite/appwrite:1.5.6
635635
entrypoint: worker-usage-dump
636636
<<: *x-logging
637637
container_name: appwrite-worker-usage-dump
@@ -658,10 +658,10 @@ services:
658658
- _APP_LOGGING_CONFIG
659659
- _APP_USAGE_AGGREGATION_INTERVAL
660660

661-
appwrite-scheduler-functions:
662-
image: appwrite/appwrite:1.5.5
661+
appwrite-task-scheduler-functions:
662+
image: appwrite/appwrite:1.5.6
663663
entrypoint: schedule-functions
664-
container_name: appwrite-scheduler-functions
664+
container_name: appwrite-task-scheduler-functions
665665
<<: *x-logging
666666
restart: unless-stopped
667667
networks:
@@ -683,10 +683,10 @@ services:
683683
- _APP_DB_USER
684684
- _APP_DB_PASS
685685

686-
appwrite-scheduler-messages:
687-
image: appwrite/appwrite:1.5.5
686+
appwrite-task-scheduler-messages:
687+
image: appwrite/appwrite:1.5.6
688688
entrypoint: schedule-messages
689-
container_name: appwrite-scheduler-messages
689+
container_name: appwrite-task-scheduler-messages
690690
<<: *x-logging
691691
restart: unless-stopped
692692
networks:
@@ -724,7 +724,7 @@ services:
724724
<<: *x-logging
725725
restart: unless-stopped
726726
stop_signal: SIGINT
727-
image: openruntimes/executor:0.4.12
727+
image: openruntimes/executor:0.5.5
728728
networks:
729729
- appwrite
730730
- runtimes

upgrade.sh

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
#!/bin/bash
2+
3+
# exit on error
4+
set -e
5+
6+
docker compose down -v
7+
8+
INSTALLTATION_DIR=`pwd`
9+
10+
docker run -it --rm \
11+
--volume /var/run/docker.sock:/var/run/docker.sock \
12+
--volume "$INSTALLTATION_DIR":/usr/src/code/appwrite:rw \
13+
--entrypoint="upgrade" \
14+
appwrite/appwrite --http-port=8080 --https-port=443 --interactive=N --no-start=true
15+
16+
# restore _APP_SETUP
17+
sed -i.bak "s/_APP_CONSOLE_WHITELIST_IPS=/_APP_CONSOLE_WHITELIST_IPS=\n_APP_SETUP=1-click-gitpod/g" .env
18+
19+
VERSION=`grep "image: appwrite/appwrite:" docker-compose.yml | uniq | sed "s/^.*image: appwrite\/appwrite://g"`
20+
git checkout -b feat-$VERSION
21+
git add .env docker-compose.yml
22+
git commit -m "feat: update to $VERSION release"
23+
24+
# confirm before proceeding
25+
read -p "Push to origin? (y/n) " -n 1 -r
26+
27+
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
28+
echo "Aborted."
29+
exit 1
30+
fi
31+
32+
git push -u origin HEAD
33+
34+
echo Link to create PR:
35+
echo "https://github.com/appwrite/integration-for-gitpod/compare/main...feat-$VERSION?expand=1&body=%23%23%20What%20does%20this%20PR%20do%3F%0A%0AUpgrade%20to%20%5B$VERSION%5D%28https%3A%2F%2Fgithub.com%2Fappwrite%2Fappwrite%2Freleases%2Ftag%2F$VERSION%29%20release.%0A%0A%23%23%20Test%20Plan%0A%0AManual%0A%0A%23%23%20Related%20PRs%20and%20Issues%0A%0ANone%0A%0A%23%23%23%20Have%20you%20read%20the%20%5BContributing%20Guidelines%20on%20issues%5D%28https%3A%2F%2Fgithub.com%2Fappwrite%2Fappwrite%2Fblob%2Fmaster%2FCONTRIBUTING.md%29%3F%0A%0AYes"
36+
echo
37+
echo PR Subject:
38+
echo "feat: update to $VERSION release"
39+
echo
40+
echo PR Body:
41+
echo "## What does this PR do?
42+
43+
Upgrade to [$VERSION](https://github.com/appwrite/appwrite/releases/tag/$VERSION) release.
44+
45+
## Test Plan
46+
47+
Manual
48+
49+
## Related PRs and Issues
50+
51+
None
52+
53+
### Have you read the [Contributing Guidelines on issues](https://github.com/appwrite/appwrite/blob/master/CONTRIBUTING.md)?
54+
55+
Yes"

0 commit comments

Comments
 (0)