feat: only master
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-08-03 23:36:06 +02:00
parent 34417f77bc
commit be2f9f8330
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -23,7 +23,7 @@ steps:
- mkdir -p $HOME/.ssh/ - mkdir -p $HOME/.ssh/
- echo "$SSH_KEY" | base64 -d > $HOME/.ssh/id_ed25519 - echo "$SSH_KEY" | base64 -d > $HOME/.ssh/id_ed25519
- name: build - name: build pr
image: kasperhermansen/cuddle:latest image: kasperhermansen/cuddle:latest
pull: always pull: always
volumes: volumes:
@ -35,7 +35,7 @@ steps:
- eval `ssh-agent` - eval `ssh-agent`
- chmod -R 600 ~/.ssh - chmod -R 600 ~/.ssh
- ssh-add - ssh-add
- cuddle x ci:all - cuddle x ci:pr
environment: environment:
DOCKER_BUILDKIT: 1 DOCKER_BUILDKIT: 1
CUDDLE_SECRETS_PROVIDER: 1password CUDDLE_SECRETS_PROVIDER: 1password
@ -43,7 +43,10 @@ steps:
CUDDLE_SSH_AGENT: "true" CUDDLE_SSH_AGENT: "true"
OP_SERVICE_ACCOUNT_TOKEN: OP_SERVICE_ACCOUNT_TOKEN:
from_secret: op_service_account_token from_secret: op_service_account_token
when:
event:
- pull_request
depends_on: depends_on:
- "load_secret" - "load_secret"
- "build ci" - "build ci"
@ -60,9 +63,7 @@ steps:
- eval `ssh-agent` - eval `ssh-agent`
- chmod -R 600 ~/.ssh - chmod -R 600 ~/.ssh
- ssh-add - ssh-add
- cuddle x build:release:all - cuddle x ci:main
- cuddle x deploy:docs:preview
- cuddle x please:release
environment: environment:
DOCKER_BUILDKIT: 1 DOCKER_BUILDKIT: 1
CUDDLE_SECRETS_PROVIDER: 1password CUDDLE_SECRETS_PROVIDER: 1password
@ -75,7 +76,7 @@ steps:
- main - main
- master - master
depends_on: depends_on:
- "build" - "build ci"
- name: deploy release - name: deploy release
image: kasperhermansen/cuddle:latest image: kasperhermansen/cuddle:latest