Sorry if this is not the channel.
I’ve tested public cloud drone with my github account and all ok, but I need install on my on premise swarm cluster with gitea.
All seems ok, and drone is able to sync my gitea repos. But when created .drone.yml in one of them , nothing happens.
After adding my .drone.yml
kind: pipeline
type: docker
name: greeting
steps:
- name: en
image: alpine
commands:
- echo hello
- echo world
- name: es
image: alpine
commands:
- echo hola
- echo mundo
- echo holaaaaaaaaaaaaaaaaaaaa
- name: fr
image: alpine
commands:
- echo bonjour
- echo monde
nothing happened, and I can not see it in the activity feed after commit.
Any error message in the drone server log
this is my drone stack setup
version: "3.3"
services:
git:
image: gitea/gitea:latest
environment:
- USER_UID=1001
- USER_GID=1001
- DB_TYPE=postgres
- DB_HOST=git-db:5432
- DB_NAME=gitea
- DB_USER=${WEB_ADMIN_USERNAME}
- DB_PASSWD=${WEB_ADMIN_PASSWORD}
- SSH_DOMAIN=git.${WEB_DOMAIN}
networks:
- net-public
volumes:
- gitea-data:/data
ports:
- "3000:3000"
- "2222:22"
deploy:
placement:
constraints:
- node.labels.role.git == true
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:git.${WEB_DOMAIN}
- traefik.docker.network=net-public
- traefik.port=3000
- traefik.tags=net-public
- traefik.redirectorservice.frontend.entryPoints=http
- traefik.redirectorservice.frontend.redirect.entryPoint=https
- traefik.webservice.frontend.entryPoints=https
git-db:
image: postgres:alpine
networks:
- net-public
volumes:
- gitea-db:/var/lib/postgresql/data
environment:
- POSTGRES_USER=${WEB_ADMIN_USERNAME}
- POSTGRES_PASSWORD=${WEB_ADMIN_PASSWORD}
- POSTGRES_DB=gitea
deploy:
placement:
constraints:
- node.labels.role.git == true
drone-server:
image: "${DRONE_SERVER_IMAGE:-drone/drone:latest}"
networks:
- net-public
environment:
DRONE_SERVER_HOST: drone.${WEB_DOMAIN}
DRONE_SERVER_PROTO: "https"
DRONE_LOGS_DEBUG: "true"
DRONE_LOGS_PRETTY: "true"
DRONE_RPC_SECRET: ${WEB_ADMIN_PASSWORD}"
DRONE_DATABASE_DRIVER: sqlite3
DRONE_DATABASE_DATASOURCE: /var/lib/drone/drone.sqlite
DRONE_TLS_AUTOCERT: "false"
DRONE_USER_CREATE: username:${WEB_ADMIN_USERNAME},admin:true
# GITEA params
DRONE_GITEA_SERVER: "https://git.${WEB_DOMAIN}"
DRONE_GITEA_CLIENT_ID: 1fe82b29-6b8c-4f2c-ab23-c51dd8658a86
DRONE_GITEA_CLIENT_SECRET: ZXobUf7hlxTm_Vy3MxcpmhO_KNgCIH9gDce57asGUp8=
DRONE_GITEA_SKIP_VERIFY: "true"
volumes:
- drone-server-data:/var/lib/drone/
deploy:
placement:
constraints:
- node.role==worker
replicas: 1
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:drone.${WEB_DOMAIN}
- traefik.docker.network=net-public
- traefik.port=80
- traefik.tags=net-public
- traefik.redirectorservice.frontend.entryPoints=http
- traefik.redirectorservice.frontend.redirect.entryPoint=https
- traefik.webservice.frontend.entryPoints=https
drone-agent:
image: "${DRONE_AGENT_IMAGE:-drone/agent:latest}"
command: agent
networks:
- net-public
environment:
DRONE_SERVER: ws://drone-server/ws/broker
DRONE_DEBUG: "true"
DRONE_RPC_SECRET: ${WEB_ADMIN_PASSWORD}"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
deploy:
placement:
constraints:
- node.role==worker
replicas: 3
networks:
net-public:
external: true
volumes:
gitea-data:
gitea-db:
drone-server-data:
Nothing relevant seem to be in the log file. How can I debug the problem?