Browse Source

Adding concourse pipeline

master
Drew Short 5 years ago
parent
commit
9bf26af130
  1. 22
      pipeline.yml
  2. 8
      upload_pipeline.sh

22
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}

8
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
Loading…
Cancel
Save