Skip to content

Commit

Permalink
Added test-pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Shin Yoon committed Mar 11, 2018
1 parent 3bcc6de commit ee96d81
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
**/examples/
**/node_modules/
**/output_dir
**/output_dir
**/*parameters.yml
45 changes: 45 additions & 0 deletions test-pipelines/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
resource_types:
- name: pull-request-events
type: docker-image
source:
repository: shinmyung0/pullrequest-events-resource
tag: latest

resources:
- name: github-pr-events
type: pull-request-events
check_every: 30s
source:
access_token: ((github-access-token))
owner: ((repo-owner))
repo: ((repo-name))
graphql_api: ((github-graphql-api))
base_branch: master
first: 1
states:
- MERGED
- CLOSED

jobs:
- name: test
plan:
- get: github-pr-events
trigger: true
- task: test
config:
platform: linux

image_resource:
type: docker-image
source:
repository: busybox

inputs:
- name: github-pr-events

run:
path: cat
args:
- github-pr-events/pull_request


0 comments on commit ee96d81

Please sign in to comment.