feat(terraform): declare CT 901 core-secrets on netcore

This commit is contained in:
karpenok committed 2026-11-09 22:08:48 +07:00
1 parent 3f306a0891
commit 3cefc59aee
3 files changed
+67 -3

No files matched your search

+6 -3
View File
@@ -38,13 +38,16 @@ jobs:
run: |
set -eu
# Гарантированный резолв локальной Gitea внутри Docker-раннера
# Направляем gitea.gunihome.ru на актуальный шлюз Traefik (core-net 192.168.1.104)
if ! grep -q "gitea.gunihome.ru" /etc/hosts; then
echo "192.168.1.201 gitea.gunihome.ru" >> /etc/hosts
echo "192.168.1.104 gitea.gunihome.ru" >> /etc/hosts
else
sed -i 's/192.168.1.201/192.168.1.104/g' /etc/hosts
fi
rm -rf "${HOME}/homelab-infra"
git clone https://gitea.gunihome.ru/karpenok/homelab-infra.git "${HOME}/homelab-infra"
# Клонируем по прямому IP Gitea, чтобы не зависеть от внешних факторов
git clone http://192.168.1.217:3000/karpenok/homelab-infra.git "${HOME}/homelab-infra"
sha="${GITHUB_SHA:-${GITEA_SHA:-}}"
if [ -n "${sha}" ]; then
git -C "${HOME}/homelab-infra" checkout "${sha}"