dogfood
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
5832f9393d
commit
57409deb9c
|
@ -0,0 +1,15 @@
|
||||||
|
kind: pipeline
|
||||||
|
name: "test drone config"
|
||||||
|
steps:
|
||||||
|
- commands:
|
||||||
|
- "docker build -t xena/kubermemes ."
|
||||||
|
image: docker:dind
|
||||||
|
name: "build image xena/kubermemes"
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
path: /var/run
|
||||||
|
type: docker
|
||||||
|
volumes:
|
||||||
|
- host:
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
name: dockersock
|
|
@ -0,0 +1,7 @@
|
||||||
|
FROM xena/dhall-yaml AS dyaml
|
||||||
|
|
||||||
|
FROM xena/alpine AS drone
|
||||||
|
COPY --from=dyaml /bin/dhall-to-yaml-ng /usr/local/bin/dhall-to-yaml
|
||||||
|
WORKDIR /drone
|
||||||
|
COPY ./drone .
|
||||||
|
RUN dhall-to-yaml --file pipeline.dhall
|
|
@ -0,0 +1,12 @@
|
||||||
|
Copyright (c) 2020 Christine Dodrill <me@christine.website>
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
|
PERFORMANCE OF THIS SOFTWARE.
|
|
@ -0,0 +1,14 @@
|
||||||
|
let drone = ./types.dhall
|
||||||
|
|
||||||
|
let dockerBuild = ./common/dockerBuild.dhall
|
||||||
|
|
||||||
|
let dockerHost = ./common/dockerHost.dhall
|
||||||
|
|
||||||
|
let dronePL =
|
||||||
|
drone.Pipeline::{
|
||||||
|
, name = "test drone config"
|
||||||
|
, steps = [ dockerBuild "xena/kubermemes" ]
|
||||||
|
, volumes = Some [ dockerHost.pipeline ]
|
||||||
|
}
|
||||||
|
|
||||||
|
in [ dronePL ]
|
Loading…
Reference in New Issue