Browse Source

Working on adding Concourse pipeline config

master
Drew Short 5 years ago
parent
commit
969b7cfcea
  1. 38
      pipeline.yml
  2. 8
      upload_pipeline.sh

38
pipeline.yml

@ -0,0 +1,38 @@
---
resources:
- name: resume-git
type: git
icon: git
source:
uri: ssh://git@git.nulloctet.com:8437/warricksothr/resume.git
private_key: |
((pull_key))
jobs:
- name: publish
public: true
plan:
- get: resume-git
trigger: true
- task: build-resume
config:
platform: linux
image_resource:
type: registry-image
source: { repository: schickling/latex, tag: "latest" }
inputs:
- name: resume-git
outputs:
- name: resume-files
run:
path: /bin/sh
args:
- -c
- |
cd resume-git
./scripts/build-pdf-resume.sh
./scripts/build-pdf-resume-for-recruiters.sh
./scripts/build-html-resume.sh
mv resume.pdf ../resume-files/
mv resume_for_recruiters.pdf ../resume-files/
mv ResumeSite.tar.gz ../resume-files/

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 sothr set-pipeline --pipeline resume --config pipeline.yml
popd
Loading…
Cancel
Save