gitea-drone
Gitea and Drone-CI
Pre-Requirements
Documentation:
Setup
Export the domain environment variable:
$ export DOMAIN=""
Deploy the stack:
$ docker stack deploy -c docker-compose.yml ci
Endpoints
- https://gitea.${DOMAIN}
- https://drone.${DOMAIN} (auth: will use administrator account from gitea setup)
Example Pipeline
.drone.yml
kind: pipeline
name: default
steps:
- name: frontend
image: alpine
group: build
commands:
- echo hello frontend
- echo $$HOSTNAME
- name: backend
image: alpine
group: build
commands:
- echo hello backend
- echo $$HOSTNAME
Screenshots
Drone-CI:
Gitea:

