From e5ebdc29ce9647e4762a2c000dd2471fab352761 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Fri, 1 Jul 2022 19:54:56 +0530 Subject: [PATCH] feat: CI: replace fleet repo remote URI with remote URI template --- .woodpecker.yml | 2 +- infrastructure/utils.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index b485198..c05b5d8 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -4,7 +4,7 @@ pipeline: environment: - DATABSE_URL=postgres://postgres:password@database:5432/postgres - EMAIL_URL=smtp://admin:password@smtp:10025 - - HOSTEA_INFRA_HOSTEA_REPO_REMOTE=ssh://git@gitea:22/hostea/fleet.git + - HOSTEA_INFRA_HOSTEA_REPO_REMOTE=ssh://git@gitea:22/hostea/ - HOSTEA_META_GITEA_INSTANCE=http://gitea:3000 commands: - export HOSTEA_INFRA_HOSTEA_REPO_SSH_KEY="$(realpath ./tests/fleet-deploy-key)" diff --git a/infrastructure/utils.py b/infrastructure/utils.py index ce6251e..45393a5 100644 --- a/infrastructure/utils.py +++ b/infrastructure/utils.py @@ -20,7 +20,6 @@ from pathlib import Path from threading import Thread, Event from time import sleep -import sh from django.utils.crypto import get_random_string from django.template.loader import render_to_string from django.core.mail import send_mail