Skip to content

Instantly share code, notes, and snippets.

@kierarad
Last active June 27, 2019 01:20
Show Gist options
  • Save kierarad/eb0c3c9957a096fe2e1e92b3f84fee8d to your computer and use it in GitHub Desktop.
Save kierarad/eb0c3c9957a096fe2e1e92b3f84fee8d to your computer and use it in GitHub Desktop.

Revisions

  1. kierarad revised this gist Jun 27, 2019. 1 changed file with 4 additions and 6 deletions.
    10 changes: 4 additions & 6 deletions test.gocd.yml
    Original file line number Diff line number Diff line change
    @@ -6,10 +6,8 @@ pipelines:
    repo2-pipeline:
    group: POC
    materials:
    git:
    git: ssh://[email protected]:7999/project/my-code-repo.git
    repo1-pipeline:
    pipeline: repo1-pipeline
    foo-pipeline:
    pipeline: Build-Test
    stage: build
    stages:
    - build:
    @@ -18,8 +16,8 @@ pipelines:
    build:
    tasks:
    - fetch:
    pipeline: repo1-pipeline
    pipeline: Build-Test
    stage: build
    job: build
    job: package
    source: foobar/foobar.txt
    is_file: yes
  2. kierarad created this gist Jun 27, 2019.
    25 changes: 25 additions & 0 deletions test.gocd.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    environments:
    default:
    pipelines:
    - repo2-pipeline
    pipelines:
    repo2-pipeline:
    group: POC
    materials:
    git:
    git: ssh://[email protected]:7999/project/my-code-repo.git
    repo1-pipeline:
    pipeline: repo1-pipeline
    stage: build
    stages:
    - build:
    clean_workspace: yes
    jobs:
    build:
    tasks:
    - fetch:
    pipeline: repo1-pipeline
    stage: build
    job: build
    source: foobar/foobar.txt
    is_file: yes