feat: setup CI to use CI gitea

wip-site
Aravinth Manivannan 2022-06-27 04:36:56 +05:30
parent 89d8206c34
commit ca8ffba55e
Signed by untrusted user: realaravinth
GPG Key ID: AD9F0F08E855ED88
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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