dda6b8c8c8
Split out from node-lookup PR #17 into its own repo. pdbmux presents a single merged PuppetDB v4 query surface over the old (Consul) and new (k8s) PuppetDBs during the VM to k8s migration, and is deployed in-cluster via argocd-apps as a container image.
34 lines
928 B
YAML
34 lines
928 B
YAML
# Build and push the pdbmux container image on a v* tag. pdbmux is a k8s-only
|
|
# daemon (deployed via argocd-apps), so it ships as an image. Mirrors the estate
|
|
# convention: the woodpeckerci/plugin-docker-buildx plugin pushes to the Gitea
|
|
# registry using the droneci / DRONECI_PASSWORD credentials.
|
|
when:
|
|
- event: tag
|
|
ref: refs/tags/v*
|
|
|
|
steps:
|
|
- name: docker
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
settings:
|
|
registry: git.unkin.net
|
|
repo: git.unkin.net/unkin/pdbmux
|
|
dockerfile: Dockerfile
|
|
build_args:
|
|
VERSION: ${CI_COMMIT_TAG}
|
|
username: droneci
|
|
password:
|
|
from_secret: DRONECI_PASSWORD
|
|
tags:
|
|
- ${CI_COMMIT_TAG}
|
|
- latest
|
|
backend_options:
|
|
kubernetes:
|
|
serviceAccountName: default
|
|
resources:
|
|
requests:
|
|
memory: 1Gi
|
|
cpu: 1
|
|
limits:
|
|
memory: 2Gi
|
|
cpu: 2
|