Skip to content

Commit

Permalink
Push the image (#17)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt authored Jun 19, 2024
1 parent 94caa64 commit 84827a8
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 2 deletions.
60 changes: 60 additions & 0 deletions .zuul.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,34 @@
---
- secret:
name: SECRET_OSISM_KUBERNETES
data:
DOCKER_USERNAME: !encrypted/pkcs1-oaep
- ciowjFmxGwqgiuz7GHpZQ+EpYydjRT++SgBEe7H4npCYt8tIMOO8YAcFd4VfFg5RFbHmb
oVuF3r/lxRyeAK0qdNSx6QirBEy3HEYiqcjpSIqNLCs+UmgznG6Jdj92sS3FQXZh2PHej
6GhkHDUOa5yQsDvejLOXcSurb7tZLeIOyIi+/hVdqLAR9D53N349hL9vg7QHXrte8cGsI
+32AYn1vrQd9iiby5ZZcpgQhJYTsEcbapEYtakj1jN3ZmJSyoSrYwDdVaYwCQYI4WnH1w
2jGlly94YIopJSVf6brP2xV0ieccqz7ljHWbrId+4iw0lvXMSOmz+ngb7/sgfu/VMY88u
5vaMOtQp5CAY29k3A0QYZMbx+TEDCA7sXpL4l6STOTavZgSV7Y3yGFikS0muIwfHi65vg
lyLtraSCwnipolg2d2JVZQtnXgBmVlg+2TwGPyikE34ToI+xMUQS6MACGxB0pBbHlfQzH
ecOVMEAaC2DTiEOtN2XETU4xOXfSV1dcsrQYzfv4ebKn74JrBiscYr70HBjiVJP2GVOgf
HHvPC6CJm5UhyLLL8XTC3IpylU6G4tdssHlWYuI2368UHOlyn/9f22kNaz7Ych3TJzOq0
vqWC4cPlTL7AF0EwbPfNimP9MvYqT5hndzQWC8mTpr6+BjKNDyGvlHucDdHUec=
DOCKER_PASSWORD: !encrypted/pkcs1-oaep
- SULL4jqwg9FH+TQAbZtmRxmM0K3++gHw0M3AxPoyikPDBWmtUrSu0OEKo8itQJazm8B4m
mAbHwdwCWP/FawzrFSxytYb//b5VNas+TzO+ZP7cEOUJHkJou3x8HHIfRReihbclVMDo6
cHs1X5w4muEAZR87QqpMfqGsXCwQ91WiHpv6SI1/3q0EYWwub87kIIsxSvw7n8f7rW0Gl
ej2TVqHciiPwIoc+M2nI89Lw3WN7GitNEUSiTMKLZCX227tZwuWpl4b6jVn+BUtUvgyDY
5hAYzVYr27cgx5Zi9mlbZ2ij8ISJzySJtPInDUufag+OwU3+C4u66Iyrk5nhnxuDT5pfc
+ZulKtPR/03FLtscAN/YImjT2rB94tJ2Jglaz4igQ4FQe25vNsjD/L4XpQg6od5ysBmJQ
/9a2TMqFyNtgY0Uspk26jepN0SSdRs4qDmQqIq4OcITPx3IvG1BTGts7Qa3lpbd6sLo7K
dWahqRBekFUJCpkDQK/3H3/dl3pXnWuoiDs+hV2yb1i6acgJI9zBvaCVizXMldaL7YM7h
x7s++06ROszQNMq4tonizSQ7vldfzgpzJv8clCLk+PAd7PJW4+60XhsAvnZxGEFVZhFOa
IzmbaW52V32iym5bv6LGBRCPNN6eALmrDdGFqnQB7FCZ9KqEds1rFsYxIJTbDc=

- semaphore:
name: semaphore-osism-kubernetes-push
max: 1

- job:
name: osism-kubernetes-build
pre-run: zuul-playbooks/pre.yml
Expand All @@ -7,6 +37,26 @@
docker_namespace: osism
docker_registry: osism.harbor.regio.digital

- job:
name: abstract-osism-kubernetes-push
abstract: true
semaphores:
- name: semaphore-osism-kubernetes-push
pre-run: zuul-playbooks/pre.yml
run: zuul-playbooks/build.yml
vars:
docker_namespace: osism
docker_registry: osism.harbor.regio.digital
push_image: true

- job:
name: osism-kubernetes-push
parent: abstract-osism-kubernetes-push
secrets:
- name: secret
secret: SECRET_OSISM_KUBERNETES
pass-to-parent: true

- project:
merge-mode: squash-merge
default-branch: main
Expand All @@ -27,3 +77,13 @@
- ansible-lint
- hadolint
- yamllint
periodic-midnight:
jobs:
- osism-kubernetes-push
post:
jobs:
- osism-kubernetes-push:
branches: main
tag:
jobs:
- osism-kubernetes-push
4 changes: 2 additions & 2 deletions zuul-playbooks/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# from one of the other repositories. There are probably more
# elegant ways to solve this, but it is good enough for now.
if [[ ! -e Containerfile ]]; then
git clone https://github.com/osism/container-image-osism-kubernetes.git container-image
git clone https://github.com/osism/osism-kubernetes.git container-image
pushd container-image
fi
Expand All @@ -48,7 +48,7 @@
--label "org.opencontainers.image.documentation=https://osism.tech/docs/" \
--label "org.opencontainers.image.licenses=ASL 2.0" \
--label "org.opencontainers.image.revision=$revision" \
--label "org.opencontainers.image.source=https://github.com/osism/container-image-osism-kubernetes" \
--label "org.opencontainers.image.source=https://github.com/osism/osism-kubernetes" \
--label "org.opencontainers.image.title=osism-kubernetes" \
--label "org.opencontainers.image.url=https://quay.io/organization/osism" \
--label "org.opencontainers.image.vendor=OSISM GmbH" \
Expand Down

0 comments on commit 84827a8

Please sign in to comment.