.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Giles Bradshaw 2020-10-23 01:05:26 +01:00
parent 156bd2fad3
commit 81ac0edbb4
4 changed files with 12 additions and 64 deletions

View File

@ -36,58 +36,21 @@ local defs = [
secrets: [],
images: defs,
},
) {
trigger +: {
event +: [
'promote',
],
target +: [
'registry',
],
},
},
),
save(config)(
defs,
[
'guacamole-postgresql',
],
) {
trigger +: {
event +: [
'promote',
],
target +: [
'save',
],
},
},
),
print(config)(
[],
publicSecrets,
secretSecrets,
) {
trigger +: {
event +: [
'promote',
],
target +: [
'print',
],
},
},
),
build(config)(
[],
) {
trigger +: {
event +: [
'promote',
],
target +: [
'build',
],
},
},
),
deploy(config)(
[],
publicSecrets,
@ -97,14 +60,5 @@ local defs = [
'REGISTRY_PORT',
'REGISTRY_PASSWORD',
],
) {
trigger +: {
event +: [
'promote',
],
target +: [
'production',
],
},
},
),
]

View File

@ -196,7 +196,7 @@ trigger:
event:
- promote
target:
- save
- sve
---
kind: pipeline
@ -276,12 +276,6 @@ volumes:
host:
path: /etc/docker/daemon.json
trigger:
event:
- promote
target:
- build
---
kind: pipeline
type: docker
@ -333,6 +327,6 @@ trigger:
event:
- promote
target:
- production
- deploy
...

View File

@ -4,6 +4,6 @@
"build": "drone jsonnet --source drone-home.jsonnet --target drone-home.yml --stream"
},
"dependencies": {
"@sigyl/jsonnet-drone": "^0.4.1"
"@sigyl/jsonnet-drone": "^0.4.2"
}
}

View File

@ -12,10 +12,10 @@
resolved "https://registry.yarnpkg.com/@sigyl/jsonnet-drone-environment/-/jsonnet-drone-environment-0.0.5.tgz#9ea85e08904777bd21a3e4b30b0b91461d0285ff"
integrity sha512-xVGmdMO1pOyozAWUbJm6mzKBgsLPJ+1hWnGCK3AxPkr7kkDh18hu30+TLzlcQtqq76s5jUfvJUztezsGj/mIcw==
"@sigyl/jsonnet-drone@^0.4.1":
version "0.4.1"
resolved "https://registry.yarnpkg.com/@sigyl/jsonnet-drone/-/jsonnet-drone-0.4.1.tgz#3527edb00f8bb860de1658f4c9fa6f81f932d3b7"
integrity sha512-+TOx51KJG1RxrPRZ2lPpia7a6Ms5UvkyLIuXuumPtenyxJ/pivY1TdcLvSAvFgVZHMjh9CxBCuOu8vNT1fPy2A==
"@sigyl/jsonnet-drone@^0.4.2":
version "0.4.2"
resolved "https://registry.yarnpkg.com/@sigyl/jsonnet-drone/-/jsonnet-drone-0.4.2.tgz#8b34bae3a1a560414df5e3ecdf49c8f73c78771b"
integrity sha512-WBydSUcPkGtVQBzn6UmXiMcHPYow5/B0OFTpGdCD7h6EqUkvfJON+79NpXo7FOAt0PD2EQJzUVAkUBoMiUgfgw==
dependencies:
"@sigyl/jsonnet-compose" "^0.0.2"
"@sigyl/jsonnet-drone-environment" "0.0.5"