Skip to content

springernature/concourse-github-status

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Status

Overview

Create and update GitHub statuses from Concourse.

Usage

Add the resource to your pipeline’s resource_types (requires Concourse 0.74.0+)

resource_types:
- name: github-status
  type: registry-image
  source:
    repository: eu.gcr.io/halfpipe-io/engineering-enablement/github-status-resource
    username: _json_key
    password: ((halfpipe-gcr.private_key))

Source Configuration

NameRequiredDefaultDescription
repoYesThe GitHub repository in user/repo format
access_tokenYesThe access token to use with the GitHub API
pathNogitRelative path to read .git/gitref

Behaviour

out Update the status for a commit

Parameters

To set a single status for the current commit of the repository specify these parameters:

NameRequiredDefaultDescription
stateYesOne of pending, success, or failure
contextNo$BUILD_PIPELINE_NAME/$BUILD_JOB_NAMEThe context for the status being updated

check Does nothing.

Parameters

  • None

in Does nothing - just echoes back stdin to stdout to allow running after put

Parameters

  • None

Packages

No packages published

Languages

  • Shell 75.1%
  • Io 15.2%
  • Dockerfile 9.7%