wip
Some checks failed
ci/woodpecker/push/tofu Pipeline failed
ci/woodpecker/push/fmt Pipeline failed

This commit is contained in:
cătălin 2026-04-09 11:27:15 +02:00
commit fc6ffb58f2
No known key found for this signature in database
15 changed files with 212 additions and 189 deletions

36
.woodpecker/fmt.yaml Normal file
View file

@ -0,0 +1,36 @@
---
when:
- event: push
branch: feat/woodpecker-ci
steps:
- name: build-image
image: woodpeckerci/plugin-kaniko
settings:
registry: git.roboces.dev
repo: catalin/fukuops
tags: ci-fmt
target: fmt
username:
from_secret: FORGEJO_REGISTRY_USERNAME
password:
from_secret: FORGEJO_REGISTRY_PASSWORD
- name: pre-commit
image: git.roboces.dev/catalin/fukuops:ci-fmt
depends_on: [build-image]
commands:
- make fmt--pre-commit
- name: kubeconform
image: git.roboces.dev/catalin/fukuops:ci-fmt
depends_on: [build-image]
commands:
#- make fmt--kubeconform
- echo "foo"
- name: tflint
image: git.roboces.dev/catalin/fukuops:ci-fmt
depends_on: [build-image]
commands:
- make fmt--tflint

32
.woodpecker/tofu.yaml Normal file
View file

@ -0,0 +1,32 @@
---
when:
- event: push
branch: feat/woodpecker-ci
steps:
- name: build-image
image: woodpeckerci/plugin-kaniko
settings:
registry: git.roboces.dev/catalin/fukuops
tags: tofu
target: tofu
username:
from_secret: FORGEJO_REGISTRY_USERNAME
password:
from_secret: FORGEJO_REGISTRY_PASSWORD
- name: tofu-authentik
image: git.roboces.dev/catalin/fukuops:tofu
commands:
- cd tofu/authentik
- tofu init
- tofu apply -auto-approve
- name: tofu-adguard
image: git.roboces.dev/catalin/fukuops:tofu
commands:
- cd tofu/adguard
- tofu init
- tofu apply -auto-approve