mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 15:53:06 +00:00
teste cicd
This commit is contained in:
20
.gitea/workflows/ci-test.yaml
Normal file
20
.gitea/workflows/ci-test.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
name: Teste Runner Bare-Metal
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
hello:
|
||||||
|
# roda em qualquer runner self-hosted registrado no Gitea
|
||||||
|
runs-on: [ self-hosted ]
|
||||||
|
steps:
|
||||||
|
- name: Checar versão do kubectl
|
||||||
|
run: |
|
||||||
|
echo "kubectl version client:"
|
||||||
|
kubectl version --client --short
|
||||||
|
|
||||||
|
- name: Mostrar pods no cluster
|
||||||
|
run: |
|
||||||
|
kubectl get pods --all-namespaces
|
||||||
Reference in New Issue
Block a user