This repository has been archived by the owner on Nov 14, 2024. It is now read-only.
forked from GoogleCloudPlatform/puppet-google-compute
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the hub CLI instead of PR outs. (GoogleCloudPlatform#3)
PR resource maintainer doesn't want to add 'create' to the PRs, so we'll need to manage them ourselves. It's okay - doesn't really reduce usability, and the hub CLI only requires the token (which is already present in the config).
- Loading branch information
1 parent
727ae63
commit 6fb011c
Showing
7 changed files
with
68 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from nmckinley/go-ruby:1.9-2.5 | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y ca-certificates | ||
RUN go get github.com/github/hub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
# This takes in the magic-modules repo in detached-HEAD state, | ||
# creates a PR on downstream modules, and writes a comment into | ||
# a file so that the PR can be updated with that comment. | ||
platform: linux | ||
|
||
image_resource: | ||
type: docker-image | ||
source: | ||
repository: nmckinley/hub | ||
tag: 'latest' | ||
|
||
inputs: | ||
- name: magic-modules | ||
- name: ci | ||
|
||
outputs: | ||
- name: magic-modules-with-comment | ||
|
||
run: | ||
path: ci/magic-modules/create-pr.sh | ||
|
||
params: | ||
GITHUB_TOKEN: "" | ||
TERRAFORM_REPO: "" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.