I updated my drone from 1.4 to 1.5 and now my pipelines don’t work anymore.
It’s just stuck at default
. I put my pipeline below. Maybe someone sees what’s wrong.
kind: pipeline
name: default
clone:
depth: 1
steps:
- name: compile and zip
image: golang:1.13.1-buster
commands:
- apt-get update
- apt-get install zip -y
- mkdir dist/tasks
- cd taskrunner
- go mod download
- go build -o ../dist/taskrunner
- cd ../getrunningprocesses
- go mod download
- go build -o ../dist/tasks/getrunningprocesses
- cd ../getnetworkstats
- go mod download
- go build -o ../dist/tasks/getnetworkstats
- cd ../getmounts
- go mod download
- go build -o ../dist/tasks/getmounts
- cd ../getmem
- go mod download
- go build -o ../dist/tasks/getmem
- cd ../getcpu
- go mod download
- go build -o ../dist/tasks/getcpu
- cd ../getswap
- go mod download
- go build -o ../dist/tasks/getswap
- cd ../portchecker
- go mod download
- go build -o ../dist/tasks/portchecker
- cd ../checkprocess
- go mod download
- go build -o ../dist/tasks/checkprocess
- cd ../sslcheck
- go mod download
- go build -o ../dist/tasks/sslcheck
- cd ../checkifreachable
- go mod download
- go build -o ../dist/tasks/checkifreachable
- cd ../checkpage
- go mod download
- go build -o ../dist/tasks/checkpage
- cd ../checktcpudp
- go mod download
- go build -o ../dist/tasks/checktcpudp
- cd ../checkftp
- go mod download
- go build -o ../dist/tasks/checkftp
- cd ../checkbyssh
- go mod download
- go build -o ../dist/tasks/checkbyssh
- cd ../injector
- go mod download
- go build -o ../dist/tasks/injector
- cd ../jolokia
- go mod download
- go build -o ../dist/tasks/jolokia
- cd ..
- zip -r ${DRONE_REPO_NAME}_${DRONE_TAG}.zip dist/*
when:
event: tag
- name: push
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://gitea.buddyspencer.monster
files:
- ${DRONE_REPO_NAME}_${DRONE_TAG}.zip
when:
event: tag
- name: compile
image: golang:1.13.1-buster
commands:
- cd taskrunner
- go mod download
- go build
- cd ../getrunningprocesses
- go mod download
- go build
- cd ../getnetworkstats
- go mod download
- go build
- cd ../getmounts
- go mod download
- go build
- cd ../getmem
- go mod download
- go build
- cd ../getcpu
- go mod download
- go build
- cd ../getswap
- go mod download
- go build
- cd ../portchecker
- go mod download
- go build
- cd ../checkprocess
- go mod download
- cd ../sslcheck
- go mod download
- cd ../checkifreachable
- go mod download
- cd ../checkpage
- go mod download
- cd ../checktcpudp
- go mod download
- go build
- cd ../checkftp
- go mod download
- go build
- cd ../checkbyssh
- go mod download
- go build
- cd ../injector
- go mod download
- go build
- cd ../jolokia
- go mod download
- go build
- cd ../taskconverter
- go mod download
- go build
branch:
- master
when:
event: push