feat: setup CI to use CI gitea
parent
89d8206c34
commit
ca8ffba55e
|
@ -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
|
||||
|
|
2
Makefile
2
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
|
||||
|
|
Loading…
Reference in New Issue