Skip to content

Commit

Permalink
Merge pull request appwrite#15 from appwrite/feat-0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
lohanidamodar authored Mar 3, 2022
2 parents e56f4b5 + 24d5def commit 4f59e7f
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 5 deletions.
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
dist: focal

arch:
- amd64

os: linux

language: generic

notifications:
email:
- [email protected]

install:
- curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
- sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
- sudo apt-get update && sudo apt-get install packer
- packer --version

deploy:
provider: script
script: packer build appwrite.json
on:
tags: true
2 changes: 1 addition & 1 deletion appwrite.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"variables": {
"token": "{{env `DIGITALOCEAN_TOKEN`}}",
"image_name": "appwrite-0.11.0-snapshot-{{timestamp}}"
"image_name": "appwrite-0.13.0-snapshot-{{timestamp}}"
},
"sensitive-variables": [ "token" ],
"builders": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ cd /root
docker run --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
appwrite/appwrite:0.11.0 sh -c "install --httpPort=80 --httpsPort=443 --interactive=N"
appwrite/appwrite:0.13.0 sh -c "install --httpPort=80 --httpsPort=443 --interactive=N"
2 changes: 1 addition & 1 deletion scripts/01-docker-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ echo "==============================================="
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh

curl -L "https://github.com/docker/compose/releases/download/1.28.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
curl -L "https://github.com/docker/compose/releases/download/v2.2.3/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

chmod +x /usr/local/bin/docker-compose

Expand Down
4 changes: 2 additions & 2 deletions scripts/02-setup-appwrite-scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ echo "==============================================="
echo "= Pulling docker images ="
echo "==============================================="

docker pull appwrite/appwrite:0.11.0
docker pull appwrite/appwrite:0.13.0
docker pull traefik:2.5
docker pull appwrite/mariadb:1.2.0
docker pull mariadb:10.7
docker pull redis:6.0-alpine3.12
docker pull appwrite/influxdb:1.0.0
docker pull appwrite/telegraf:1.2.0
Expand Down

0 comments on commit 4f59e7f

Please sign in to comment.