Compare commits
5 Commits
main
...
try-new-ci
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
afd5d40e25 | ||
|
|
9812c036d1 | ||
|
|
3f1ce86ff8 | ||
|
|
ccb170201b | ||
|
|
c6f2e13f4d |
@@ -1,9 +1,21 @@
|
|||||||
when:
|
when:
|
||||||
- event: push
|
event:
|
||||||
branch: main
|
- push
|
||||||
|
- pull_request
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: validate-manifests
|
||||||
image: debian
|
image: alpine:latest
|
||||||
commands:
|
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
|
||||||
|
|||||||
@@ -38,6 +38,8 @@ spec:
|
|||||||
database:
|
database:
|
||||||
DB_TYPE: sqlite3
|
DB_TYPE: sqlite3
|
||||||
NAME: /data/gitea/gitea.db
|
NAME: /data/gitea/gitea.db
|
||||||
|
webhook:
|
||||||
|
ALLOWED_HOST_LIST: ci.keligrubb.com
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
className: nginx
|
className: nginx
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ data:
|
|||||||
max_users = 50
|
max_users = 50
|
||||||
debug_log_level = warning
|
debug_log_level = warning
|
||||||
time_speed = 72 # set to 20 minutes day/night cycles like minecraft.
|
time_speed = 72 # set to 20 minutes day/night cycles like minecraft.
|
||||||
|
worldname = Runestone
|
||||||
|
|
||||||
# network optimizations
|
# network optimizations
|
||||||
enable_ipv6 = false
|
enable_ipv6 = false
|
||||||
@@ -24,9 +25,11 @@ data:
|
|||||||
chat_message_max_length = 200
|
chat_message_max_length = 200
|
||||||
|
|
||||||
# Authentication
|
# Authentication
|
||||||
|
name = socialsyndrome
|
||||||
require_password = true
|
require_password = true
|
||||||
password_hashing = true
|
password_hashing = true
|
||||||
enable_mods = true
|
enable_mods = true
|
||||||
|
player_name = true
|
||||||
auth_backend = sqlite3
|
auth_backend = sqlite3
|
||||||
auth_fail_ban_time = 10
|
auth_fail_ban_time = 10
|
||||||
enable_password_protection = true
|
enable_password_protection = true
|
||||||
|
|||||||
Reference in New Issue
Block a user