this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Re-added telegram notifier pipeline & renamed RBAC

+29 -18
+26
.tangled/workflows/notify.yml
··· 1 + image: busybox:1 2 + architecture: arm64 3 + 4 + when: 5 + - event: ["push"] 6 + branch: ["main"] 7 + 8 + engine: "kubernetes" 9 + 10 + # TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID come from Loom's secret vault 11 + steps: 12 + - name: Send Telegram notification 13 + command: | 14 + SHORT_SHA=$(printf '%.7s' "$TANGLED_COMMIT_SHA") 15 + 16 + text="*Push to $TANGLED_REPO_NAME* 17 + Branch: \`$TANGLED_REF_NAME\` 18 + 19 + \`$SHORT_SHA\` $TANGLED_COMMIT_MESSAGE" 20 + 21 + json_text=$(printf '%s' "$text" | sed 's/\\/\\\\/g; s/"/\\"/g' | awk 'NR>1{printf "\\n"}{printf "%s",$0}') 22 + 23 + wget -q -O /dev/null \ 24 + --header='Content-Type: application/json' \ 25 + --post-data="{\"chat_id\":\"$TELEGRAM_CHAT_ID\",\"text\":\"$json_text\",\"parse_mode\":\"Markdown\"}" \ 26 + "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage"
-16
.tangled/workflows/test.yml
··· 1 - when: 2 - - event: ["push"] 3 - tag: ["v*"] 4 - branch : ["*"] 5 - 6 - engine: kubernetes 7 - image: busybox:1 8 - architecture: arm64 9 - 10 - environment: 11 - IMAGE_REGISTRY: atcr.io 12 - 13 - steps: 14 - - name: test environment vars 15 - command: | 16 - printenv
+1 -1
k8s/ci/loom-rbac.yaml
··· 8 8 apiVersion: v1 9 9 kind: ServiceAccount 10 10 metadata: 11 - name: loom-job 11 + name: loom-spindle-job-runner 12 12 namespace: ci 13 13 automountServiceAccountToken: false 14 14 ---
+2 -1
k8s/knot/deployment.yaml
··· 26 26 subPath: sshd-keys 27 27 containers: 28 28 - name: knot 29 - image: tngl/knot:v1.10.0-alpha 29 + image: zot.sans-self.org/infra/knot:latest 30 30 ports: 31 31 - name: http 32 32 containerPort: 5555 ··· 84 84 - name: sshd-hardening 85 85 configMap: 86 86 name: sshd-hardening 87 +