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