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:
parent
fcaa190f96
commit
4e20b67277
5 changed files with 117 additions and 0 deletions
25
pipelines/st/st-image.yml
Normal file
25
pipelines/st/st-image.yml
Normal 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
|
||||
28
pipelines/st/st-pipeline.yml
Normal file
28
pipelines/st/st-pipeline.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue