Skip to content

Commit

Permalink
GEODE-7745: (apache#4643) change PR resource to digitalocean fork
Browse files Browse the repository at this point in the history
* GEODE-7745 : Fix the missing Pull Request builds in geode.

Change the githubpull request resource to use digitalocean's repo which
seems to have the patch fix for the commit check.

Signed-off-by: Steve Sienkowski <[email protected]>

* GEODE-7745: Fix the missing Pull Request builds in geode.

Create the docker image for github-pr-resource that uses the
digitalocean repo.This repo has the patch fix which pull requests get
triggered.

Signed-off-by: Bala Kaza Venkata <[email protected]>
  • Loading branch information
BalaKaza authored Feb 3, 2020
1 parent f22e523 commit a174763
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
27 changes: 27 additions & 0 deletions ci/pipelines/images/jinja.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,34 @@ resources:
password: ((docker-password))
repository: gcr.io/((gcp-project))/((pipeline-prefix))gce-instances-resource

- name: github-pr-resource-image
type: docker-image
source:
username: ((docker-username))
password: ((docker-password))
repository: gcr.io/((gcp-project))/((pipeline-prefix))github-pr-resource

- name: github-pr-resource-dockerfile
type: git
source:
branch: master
uri: https://github.com/digitalocean/github-pr-resource.git
version:
ref: 1abb4b2a162e78099dab0b30144fec1e6c9b696d

jobs:
- name: build-github-pr-resource-image
public: ((public-pipelines))
serial: true
plan:
- get: alpine-tools-image
passed: [build-alpine-tools-docker-image]
- get: github-pr-resource-dockerfile
- put: github-pr-resource-image
params:
build: github-pr-resource-dockerfile
tag_as_latest: true

- name: build-concourse-docker-image
public: ((public-pipelines))
serial: true
Expand Down
5 changes: 4 additions & 1 deletion ci/pipelines/pull-request/jinja.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ resource_types:
- name: pull-request
type: docker-image
source:
repository: teliaoss/github-pr-resource
username: ((docker-username))
password: ((docker-password))
repository: gcr.io/((gcp-project))/((pipeline-prefix))github-pr-resource
tag: latest
- name: concourse-metadata-resource
type: docker-image
source:
Expand Down

0 comments on commit a174763

Please sign in to comment.