ST: First build pipeline

Pipeline for docker image
Pipeline for building st (using docker image from previous pipeline)

TODO: No publishing of a release yet, didn't find anything yet to push
release to
This commit is contained in:
laurens 2020-04-19 17:38:28 +02:00
parent fcaa190f96
commit 4e20b67277
5 changed files with 117 additions and 0 deletions

25
pipelines/st/st-image.yml Normal file
View file

@ -0,0 +1,25 @@
resources:
- name: st-git
type: git
source:
uri: https://github.com/laurensmiers/st.git
branch: master
- name: st-builder-image
type: docker-image
source:
email: ((docker-hub-email))
username: ((docker-hub-username))
password: ((docker-hub-password))
repository: ((docker-hub-username))/st-builder
jobs:
- name: publish
public: true
serial: true
plan:
- get: st-git
trigger: true
- put: st-builder-image
params:
build: st-git

View file

@ -0,0 +1,28 @@
resources:
- name: st-git
type: git
icon: github-circle
source:
uri: https://github.com/laurensmiers/st
branch: master
jobs:
- name: st-job
public: true
plan:
- get: st-git
trigger: true
- task: st-make
config:
platform: linux
image_resource:
type: docker-image
source:
repository: ((docker-hub-username))/st-builder
inputs:
- name: st-git
run:
path: make
args:
- -C
- ./st-git