Commit 2a111490 authored by Adhityaa Chandrasekar's avatar Adhityaa Chandrasekar

.gitlab-ci.yml: remove dco

parent 918a691b
Pipeline #100808121 passed with stage
in 3 minutes and 1 second
stages:
- check-dco
- go-fmt
- go-test
- build-src
......@@ -8,17 +7,6 @@ stages:
- docker-registry-master
- docker-registry-tags
check-dco:
stage: check-dco
image: debian:buster
except:
- master
- tags
script:
- apt update
- apt install -y curl git jq
- bash ./scripts/check-dco
build-src:
stage: build-src
image: debian:buster
......
#!/usr/bin/env bash
emails=$(git log master..HEAD --pretty=format:'%ae' | sort | uniq)
for email in $emails; do
printf "checking %s\n" "$email"
if ! curl -s 'https://dco.commento.io/api/has-signed' -d "email=$email" -X POST \
| jq '.hasSigned' \
| grep -q true; then
printf "%s has not signed the DCO: https://dco.commento.io\n" "$email"
exit 1
fi
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment