|
@ -8,6 +8,14 @@ resources: |
|
|
private_key: | |
|
|
private_key: | |
|
|
((pull_key)) |
|
|
((pull_key)) |
|
|
branch: master |
|
|
branch: master |
|
|
|
|
|
- name: baphomet-js-git-develop |
|
|
|
|
|
type: git |
|
|
|
|
|
icon: git |
|
|
|
|
|
source: |
|
|
|
|
|
uri: ssh://git@git.nulloctet.com:8437/warricksothr/baphomet-js.git |
|
|
|
|
|
private_key: | |
|
|
|
|
|
((pull_key)) |
|
|
|
|
|
branch: develop |
|
|
|
|
|
|
|
|
jobs: |
|
|
jobs: |
|
|
- name: test |
|
|
- name: test |
|
@ -20,7 +28,7 @@ jobs: |
|
|
platform: linux |
|
|
platform: linux |
|
|
image_resource: |
|
|
image_resource: |
|
|
type: registry-image |
|
|
type: registry-image |
|
|
source: { repository: node, tag: "12-14-stretch" } |
|
|
|
|
|
|
|
|
source: { repository: node, tag: "12.14-stretch" } |
|
|
inputs: |
|
|
inputs: |
|
|
- name: baphomet-js-git |
|
|
- name: baphomet-js-git |
|
|
run: |
|
|
run: |
|
@ -33,6 +41,29 @@ jobs: |
|
|
cd baphomet-js-git |
|
|
cd baphomet-js-git |
|
|
npm install |
|
|
npm install |
|
|
npm test |
|
|
npm test |
|
|
|
|
|
- name: test-develop |
|
|
|
|
|
public: true |
|
|
|
|
|
plan: |
|
|
|
|
|
- get: baphomet-js-git-develop |
|
|
|
|
|
trigger: true |
|
|
|
|
|
- task: run-tests |
|
|
|
|
|
config: |
|
|
|
|
|
platform: linux |
|
|
|
|
|
image_resource: |
|
|
|
|
|
type: registry-image |
|
|
|
|
|
source: { repository: node, tag: "12.14-stretch" } |
|
|
|
|
|
inputs: |
|
|
|
|
|
- name: baphomet-js-git-develop |
|
|
|
|
|
run: |
|
|
|
|
|
path: /bin/sh |
|
|
|
|
|
args: |
|
|
|
|
|
- -c |
|
|
|
|
|
- | |
|
|
|
|
|
echo "Node Version: $(node --version)" |
|
|
|
|
|
echo "NPM Version: $(npm --version)" |
|
|
|
|
|
cd baphomet-js-git-develop |
|
|
|
|
|
npm install |
|
|
|
|
|
npm test |
|
|
- name: package |
|
|
- name: package |
|
|
public: true |
|
|
public: true |
|
|
plan: |
|
|
plan: |
|
|