From ca8ffba55ef753c33e84faf4d84a9ea6597eb2e2 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Mon, 27 Jun 2022 04:36:56 +0530 Subject: [PATCH] feat: setup CI to use CI gitea --- .woodpecker.yml | 3 +++ Makefile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 826dc8b..b485198 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -4,7 +4,10 @@ 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_META_GITEA_INSTANCE=http://gitea:3000 commands: + - export HOSTEA_INFRA_HOSTEA_REPO_SSH_KEY="$(realpath ./tests/fleet-deploy-key)" - pip install virtualenv - make env - make lint diff --git a/Makefile b/Makefile index ea1b85f..aca3588 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ docker: ## Build Docker image from source env: ## Install all dependencies @-virtualenv venv . ./venv/bin/activate && pip install -r requirements.txt - . ./venv/bin/activate && ./integration/ci.sh + . ./venv/bin/activate && ./integration/ci.sh init freeze: ## Freeze python dependencies @. ./venv/bin/activate && pip freeze > requirements.txt