Browse Source

condensing pipeline

pull/8/head
Drew Short 5 years ago
parent
commit
88b6716299
  1. 16
      pipeline.yml

16
pipeline.yml

@ -21,7 +21,7 @@ jobs:
type: registry-image
source: { repository: node, tag: "13" }
inputs:
- name: baphomet-js-git
- name:
run:
path: /bin/sh
args:
@ -32,10 +32,11 @@ jobs:
cd baphomet-js-git
npm install
npm test
- name: version
- name: package
public: true
plan:
- get: baphomet-js-git
passed: [test]
trigger: true
- task: capture-version
config:
@ -55,14 +56,7 @@ jobs:
cd baphomet-js-git
echo "$(git describe --tags)-$(git rev-parse HEAD)-$(date --rfc-3339=seconds)" > ../baphomet-js-version/build.info
echo "$(git describe --tags)-$(git rev-parse HEAD)" > ../baphomet-js-version/version.info
cat ../bbaphomet-js-version/build.info
ls -al ../baphomet-js-version/
- name: package
public: true
plan:
- get: baphomet-js-git
passed: [test, version]
trigger: true
cat ../baphomet-js-version/build.info
- task: package
config:
platform: linux
@ -70,7 +64,7 @@ jobs:
type: registry-image
source: { repository: debian, tag: "stretch-slim" }
inputs:
- name: baphoment-js-git
- name: baphomet-js-git
- name: baphomet-js-version
outputs:
- name: package

Loading…
Cancel
Save