From 9bf26af130a93f6b6aaa5a63d080a9ae38c82f47 Mon Sep 17 00:00:00 2001 From: Drew Short Date: Tue, 10 Dec 2019 19:14:32 -0600 Subject: [PATCH] Adding concourse pipeline --- pipeline.yml | 22 ++++++++++++++++++++++ upload_pipeline.sh | 8 ++++++++ 2 files changed, 30 insertions(+) create mode 100644 pipeline.yml create mode 100644 upload_pipeline.sh diff --git a/pipeline.yml b/pipeline.yml new file mode 100644 index 0000000..780cd0b --- /dev/null +++ b/pipeline.yml @@ -0,0 +1,22 @@ +--- +resources: + - name: resume-git + type: git + icon: git + source: + uri: ssh://git@git.nulloctet.com:8437/docker/pdf2htmlex.git + private_key: | + ((pull_key)) + - name: git-resource-image + type: docker-image + source: + repository: nexus.nulloctet.com:5001/_/pdf2htmlex + username: ((nexus_docker_push.username)) + password: ((nexus_docker_push.password)) + +jobs: + - name: build-rootfs + plan: + - get: git-resource + - put: git-resource-image + params: {build: git-resource} diff --git a/upload_pipeline.sh b/upload_pipeline.sh new file mode 100644 index 0000000..d4f7e4c --- /dev/null +++ b/upload_pipeline.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" +pushd "${DIR}" + +fly -t docker set-pipeline --pipeline pdf2htmlex --config pipeline.yml + +popd