Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update screwdriver.yaml #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 0 additions & 49 deletions screwdriver.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
#shared:
# image: node:6
#jobs:
# # the main job is run in pull requests as well
# main:
# steps:
# - install: npm install screwdriver-template-main
# - validate: ./node_modules/.bin/template-validate
# - publish: ./node_modules/.bin/template-publish
# tag:
# steps:
# - install: npm install screwdriver-template-main
# - token: echo $SD_TOKEN
# - tag: ./node_modules/.bin/template-tag --name tifftemplate --version 1.0.4 --tag latest
# use-tag:
# template: tifftemplate@latest
---
jobs:
main:
description: 'hello I am the first job that will run'
Expand All @@ -28,36 +11,4 @@ jobs:
meta set meta.status.lowercase2 '{"status":"success","message":"Coverage is above 80%."}'
meta set meta.status.pendingTest '{"status":"PENDING","message":"Still working on it."}'
meta set meta.status.lowercase3 '{"status":"pending","message":"Still working on it."}'
- sleep: sleep 1m
- cat: cp -a /sd/meta/. $SD_ARTIFACTS_DIR/meta/
internal_fork1:
description: 'this is the production deploy job but really it just gets the external meta'
requires: [main]
image: node:8
steps:
- echo: meta set meta.package.version "3206-internal"
- overwrite: meta set sd.3983.external_fork1 ""
- cat: cp -a /sd/meta/. $SD_ARTIFACTS_DIR/meta/
- sleep: sleep 1m
internal_fork2:
description: 'this is the production deploy job but really it just gets the external meta'
requires: [main]
image: node:8
steps:
- echo: echo hi
- cat: cp -a /sd/meta/. $SD_ARTIFACTS_DIR/meta/
join_job:
description: 'job to test the specific branch requires feature'
requires: ['internal_fork1', 'internal_fork2', 'sd@3983:external_fork1', 'sd@3983:external_fork2']
image: node:8
steps:
- echo: meta get meta.package.version
#- echoExternal: meta get meta.package.version --external sd@3983:external_fork1
- cat: cp -a /sd/meta/. $SD_ARTIFACTS_DIR/meta/
join_downstream:
requires: ['join_job']
image: node:8
steps:
- echoExternal: meta get meta.package.version --external sd@3983:external_fork1
- cat: cp -a /sd/meta/. $SD_ARTIFACTS_DIR/meta/