Compare commits

5 Commits

Author SHA1 Message Date
Madison Grubb
afd5d40e25 use official install steps
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/pr/ci Pipeline failed
2025-08-29 17:05:05 -04:00
Madison Grubb
9812c036d1 missing 302 follow
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/pr/ci Pipeline failed
2025-08-29 17:02:19 -04:00
Madison Grubb
3f1ce86ff8 fix kubectl version dl
Some checks failed
ci/woodpecker/push/ci Pipeline failed
2025-08-29 16:59:45 -04:00
Madison Grubb
ccb170201b try new kubectl download url
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/pr/ci Pipeline failed
2025-08-29 16:57:51 -04:00
Madison Grubb
c6f2e13f4d try new ci via kubectl
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/pr/ci Pipeline failed
2025-08-29 16:55:10 -04:00
2 changed files with 19 additions and 5 deletions

View File

@@ -1,9 +1,21 @@
when:
- event: push
branch: main
event:
- push
- pull_request
steps:
- name: test
image: debian
- name: validate-manifests
image: alpine:latest
commands:
- echo "This is the test step"
- apk add --no-cache curl bash ca-certificates
- update-ca-certificates
- |
echo "Installing kubectl..."
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
- |
echo "Validating Kubernetes manifests with kubectl dry-run..."
for file in $(find . -maxdepth 1 -type f \( -name '*.yaml' -o -name '*.yml' \)); do
echo "Checking $file"
kubectl apply --dry-run=client -f "$file"
done

View File

@@ -38,6 +38,8 @@ spec:
database:
DB_TYPE: sqlite3
NAME: /data/gitea/gitea.db
webhook:
ALLOWED_HOST_LIST: ci.keligrubb.com
ingress:
enabled: true
className: nginx