test
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Steve McMaster 2022-10-29 23:15:47 -04:00
parent db043f06c8
commit 3d5e9bdf58

View File

@ -19,15 +19,39 @@ steps:
- tar --strip-components 1 -C calcom -xzf source.tar.gz
- tar --strip-components 1 -xzf docker.tar.gz
- name: build
image: docker:dind
volumes:
- name: dockersock
path: /var/run
commands:
- sleep 8
- DOCKER_BUILDKIT=0 docker compose build calcom
- docker tag calcom cr.smcm.xyz/calcom:latest
- docker push --all-tags cr.smcm.xyz/calcom
image: plugins/docker
environment:
DOCKER_BUILDKIT: 0
NEXT_PUBLIC_WEBAPP_URL: https://cal.smcm.xyz
NEXT_PUBLIC_LICENSE_CONSENT: agree
CALCOM_TELEMETRY_DISABLED: 1
NEXTAUTH_SECRET:
from_secret: nextauth_secret
CALENDSO_ENCRYPTION_KEY:
from_secret: encryption_key
DATABASE_URL: postgresql://unicorn_user:magical_password@postgres/calendso
settings:
repo: cr.smcm.xyz/calcom
tags:
- latest
- ${DRONE_COMMIT_SHA}
build_args_from_env:
- NEXT_PUBLIC_WEBAPP_URL
- NEXT_PUBLIC_LICENSE_CONSENT
- CALCOM_TELEMETRY_DISABLED
- NEXTAUTH_SECRET
- CALENDSO_ENCRYPTION_KEY
- DATABASE_URL
# - name: build
# image: docker:dind
# volumes:
# - name: dockersock
# path: /var/run
# commands:
# - sleep 8
# - DOCKER_BUILDKIT=0 docker compose build calcom
# - docker tag calcom cr.smcm.xyz/calcom:latest
# - docker push --all-tags cr.smcm.xyz/calcom
# - name: deploy
# image: plugins/webhook
# settings:
@ -35,21 +59,11 @@ steps:
services:
- name: postgres
image: postgres:9-alpine
image: postgres
environment:
POSTGRES_USER: username
POSTGRES_PASSWORD: password
POSTGRES_DB: database
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}
POSTGRES_USER: unicorn_user
POSTGRES_PASSWORD: magical_password
POSTGRES_DB: calendso
trigger:
branch: