Initial scaffold: infrastructure toolchain agent container
This commit is contained in:
@@ -0,0 +1 @@
|
||||
bin/
|
||||
@@ -0,0 +1,9 @@
|
||||
when:
|
||||
- event: pull_request
|
||||
|
||||
steps:
|
||||
- name: docker-build
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: git.unkin.net/unkin/agent-infra
|
||||
dry_run: true
|
||||
@@ -0,0 +1,16 @@
|
||||
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/agent-infra
|
||||
username: droneci
|
||||
password:
|
||||
from_secret: DRONECI_PASSWORD
|
||||
tags:
|
||||
- ${CI_COMMIT_TAG}
|
||||
- latest
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
FROM git.unkin.net/unkin/agent-base:latest
|
||||
|
||||
USER root
|
||||
|
||||
RUN dnf install -y \
|
||||
kubectl \
|
||||
kustomize \
|
||||
helm \
|
||||
helmfile \
|
||||
opentofu \
|
||||
vault \
|
||||
consul \
|
||||
terragrunt \
|
||||
&& dnf clean all
|
||||
|
||||
USER agent
|
||||
Reference in New Issue
Block a user