Update .woodpecker.yml
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
This commit is contained in:
parent
d88eb9c29d
commit
8d0b77a98a
|
@ -8,19 +8,11 @@ clone:
|
|||
partial: false
|
||||
depth: 1
|
||||
steps:
|
||||
run-post-deploy-smoke-tests:
|
||||
name: run-post-deploy-smoke-tests
|
||||
image: git.nixc.us/colin/playwright:latest
|
||||
secrets: [REGISTRY_USER, REGISTRY_PASSWORD]
|
||||
when:
|
||||
- branch: main
|
||||
- path:
|
||||
include: [ 'stack.yml', 'docker-compose.yml', 'Dockerfile.*', '.woodpecker.yml', '*.tests.ts' ]
|
||||
build-push:
|
||||
name: build-push
|
||||
when:
|
||||
- path:
|
||||
include: [ 'stack.yml','.woodpecker.yml', 'Dockerfile', 'docker-entrypoint.sh', 'nginx.conf', 'README.md' ]
|
||||
include: [ 'stack.yml','.woodpecker.yml', 'Dockerfile', 'docker-entrypoint.sh', 'nginx.conf.template', 'README.md' ]
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
secrets: [REGISTRY_USER, REGISTRY_PASSWORD]
|
||||
volumes:
|
||||
|
@ -37,19 +29,11 @@ steps:
|
|||
name: deploy-config
|
||||
when:
|
||||
- path:
|
||||
include: [ 'stack.yml','.woodpecker.yml', 'Dockerfile', 'docker-entrypoint.sh', 'nginx.conf', 'README.md' ]
|
||||
include: [ 'stack.yml','.woodpecker.yml', 'Dockerfile', 'docker-entrypoint.sh', 'nginx.conf.template', 'README.md' ]
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
secrets: [REGISTRY_USER, REGISTRY_PASSWORD]
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
commands:
|
||||
# - echo "$${REGISTRY_PASSWORD}" | docker login -u "$${REGISTRY_USER}" --password-stdin git.nixc.us
|
||||
- echo "$${REGISTRY_PASSWORD}" | docker login -u "$${REGISTRY_USER}" --password-stdin git.nixc.us
|
||||
- docker stack deploy --with-registry-auth -c ./stack.yml lan-to-nginx
|
||||
run-post-deploy-smoke-tests:
|
||||
name: run-post-deploy-smoke-tests
|
||||
image: git.nixc.us/colin/playwright:latest
|
||||
secrets: [REGISTRY_USER, REGISTRY_PASSWORD]
|
||||
when:
|
||||
- branch: main
|
||||
- path:
|
||||
include: [ 'stack.yml', 'docker-compose.yml', 'Dockerfile.*', '.woodpecker.yml', '*.tests.ts' ]
|
Loading…
Reference in New Issue