diff --git a/ci/pipeline.yml b/ci/pipeline.yml new file mode 100644 index 0000000..1d0c10a --- /dev/null +++ b/ci/pipeline.yml @@ -0,0 +1,24 @@ +# pipeline for Concourse CI for sslip.io +# DNS Checks +groups: +- name: sslip.io + jobs: + - check-dns + + +jobs: +- name: check-dns + file: + plan: + - {get: sslip.io, trigger: true} + - task: check-dns + file: sslip.io/ci/tasks/check-dns.yml + params: + DOMAIN: sslip.io + +resources: +- name: sslip.io + type: git + source: + uri: https://github.com/cunnie/sslip.io + branch: master diff --git a/ci/tasks/check-dns.sh b/ci/tasks/check-dns.sh new file mode 100755 index 0000000..f5e7bf5 --- /dev/null +++ b/ci/tasks/check-dns.sh @@ -0,0 +1,2 @@ +#!/bin/bash -ex +true diff --git a/ci/tasks/check-dns.yml b/ci/tasks/check-dns.yml new file mode 100644 index 0000000..2361ed3 --- /dev/null +++ b/ci/tasks/check-dns.yml @@ -0,0 +1,14 @@ +--- +platform: linux +image_resource: + type: docker-image + source: {repository: fedora} + +inputs: +- name: sslip.io + +run: + path: sslip.io/ci/tasks/check-dns.sh + +params: + DOMAIN: ""