mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-07 00:23:44 +08:00
sslip.io has Concourse's Continuous Integration
- CI-related files are under `ci/`
This commit is contained in:
24
ci/pipeline.yml
Normal file
24
ci/pipeline.yml
Normal file
@@ -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
|
2
ci/tasks/check-dns.sh
Executable file
2
ci/tasks/check-dns.sh
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash -ex
|
||||||
|
true
|
14
ci/tasks/check-dns.yml
Normal file
14
ci/tasks/check-dns.yml
Normal file
@@ -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: ""
|
Reference in New Issue
Block a user