wip
This commit is contained in:
parent
0d8127037d
commit
fc6ffb58f2
15 changed files with 212 additions and 189 deletions
36
.woodpecker/fmt.yaml
Normal file
36
.woodpecker/fmt.yaml
Normal 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
32
.woodpecker/tofu.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue