-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/v1' into advanced-docker-runtime
- Loading branch information
Showing
11 changed files
with
269 additions
and
37 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# https://github.com/jpmcb/prow-github-actions | ||
|
||
# This reacts to issue comments and checks for prow slash comments, and runs the command if found. | ||
name: "React to Prow Commands" | ||
on: [issue_comment] | ||
permissions: | ||
issues: write # give permission to apply the lgtm label | ||
pull-requests: write # give permission to approve the PR | ||
|
||
jobs: | ||
execute: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: jpmcb/prow-github-actions@2ac4434b3ce3d523fc3e28a879ec671c4a7750fa # main | ||
with: | ||
prow-commands: | | ||
/approve | ||
/lgtm | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" |
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,17 @@ | ||
# https://github.com/jpmcb/prow-github-actions | ||
|
||
# This will check all pull requests that have the lgtm label, and if GitHub thinks it is mergeable, then the PR is merged. | ||
name: "Merge Ready PRs" | ||
on: [pull_request] | ||
permissions: | ||
issues: write # give permission to apply the lgtm label | ||
pull-requests: write # give permission to approve the PR | ||
|
||
jobs: | ||
execute: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: jpmcb/prow-github-actions@2ac4434b3ce3d523fc3e28a879ec671c4a7750fa # main | ||
with: | ||
jobs: "lgtm" | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" |
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,9 @@ | ||
# reviewers can comment with /lgtm, a label "lgtm" is put on the issue | ||
reviewers: | ||
- vinozzz | ||
|
||
# approvers can comment with /approve, the bot leaves an approve code review, allowing it to be merged | ||
approvers: | ||
- carolynvs | ||
|
||
# Once a PR has the lgtm label, and a "green" code review (from /approve), a cron job will notice the PR and merge it |
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
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,42 @@ | ||
schemaVersion: 1.0.0-alpha.1 | ||
name: hello | ||
description: "An example Porter configuration" | ||
version: v0.1.0 | ||
registry: "localhost:5000" | ||
|
||
mixins: | ||
- exec | ||
|
||
maintainers: | ||
- name: "John Doe" | ||
email: "john.doe@example.com" | ||
url: "https://example.com/a" | ||
- name: "Jane Doe" | ||
url: "https://example.com/b" | ||
- name: "Janine Doe" | ||
email: "janine.doe@example.com" | ||
- email: "mike.doe@example.com" | ||
url: "https://example.com/c" | ||
|
||
install: | ||
- exec: | ||
description: "Say Hello" | ||
command: bash | ||
flags: | ||
c: echo Hello World | ||
|
||
status: | ||
- exec: | ||
description: "Get World Status" | ||
command: bash | ||
flags: | ||
c: echo The world is on fire | ||
|
||
uninstall: | ||
- exec: | ||
description: "Say Goodbye" | ||
command: bash | ||
flags: | ||
c: echo Goodbye World | ||
|
||
baddata: true |
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,90 @@ | ||
schemaVersion: 1.0.0-alpha.1 | ||
name: porter-hello | ||
version: 0.1.0 | ||
description: "A bundle with dependencies" | ||
registry: "localhost:5000" | ||
|
||
custom: | ||
customKey1: "customValue1" | ||
|
||
credentials: | ||
- name: my-first-cred | ||
env: MY_FIRST_CRED | ||
- name: my-second-cred | ||
description: "My second cred" | ||
path: /path/to/my-second-cred | ||
|
||
images: | ||
something: | ||
description: "an image" | ||
imageType: "docker" | ||
repository: "getporter/boo" | ||
|
||
dependencies: | ||
requires: | ||
- name: some-dep | ||
bundle: | ||
reference: some-repo | ||
version: ">1.0" | ||
parameters: | ||
param1: first-param | ||
|
||
parameters: | ||
- name: my-first-param | ||
type: integer | ||
default: 9 | ||
env: MY_FIRST_PARAM | ||
applyTo: | ||
- "install" | ||
- name: my-second-param | ||
description: "My second parameter" | ||
type: string | ||
default: spring-music-demo | ||
path: /path/to/my-second-param | ||
sensitive: true | ||
|
||
outputs: | ||
- name: my-first-output | ||
type: string | ||
applyTo: | ||
- "install" | ||
- "upgrade" | ||
sensitive: true | ||
- name: my-second-output | ||
description: "My second output" | ||
type: boolean | ||
sensitive: false | ||
- name: kubeconfig | ||
type: file | ||
path: /home/nonroot/.kube/config | ||
|
||
mixins: | ||
- exec | ||
|
||
install: | ||
- exec: | ||
description: "Install Hello World with custom arguments" | ||
command: echo | ||
arguments: | ||
- "{{ bundle.custom.customKey1 }}" | ||
|
||
upgrade: | ||
- exec: | ||
description: "World 2.0" | ||
command: bash | ||
flags: | ||
c: echo World 2.0 | ||
|
||
zombies: | ||
- exec: | ||
description: "Trigger zombie apocalypse" | ||
command: bash | ||
flags: | ||
c: echo oh noes my brains | ||
|
||
uninstall: | ||
- exec: | ||
description: "Uninstall Hello World" | ||
command: bash | ||
flags: | ||
c: echo Goodbye World |
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