-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from paketo-buildpacks/pipelines
Initial Pipelines Signed-off-by: Ben Hale <[email protected]>
- Loading branch information
Showing
8 changed files
with
161 additions
and
0 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,16 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: daily | ||
labels: | ||
- 'semver: patch' | ||
- 'type: dependency-upgrade' | ||
- package-ecosystem: gomod | ||
directory: / | ||
schedule: | ||
interval: daily | ||
labels: | ||
- 'semver: patch' | ||
- 'type: dependency-upgrade' |
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,27 @@ | ||
- name: 'semver: major' | ||
description: A change requiring a major version bump | ||
color: f9d0c4 | ||
- name: 'semver: minor' | ||
description: A change requiring a minor version bump | ||
color: f9d0c4 | ||
- name: 'semver: patch' | ||
description: A change requiring a patch version bump | ||
color: f9d0c4 | ||
- name: 'type: bug' | ||
description: A general bug | ||
color: e3d9fc | ||
- name: 'type: dependency-upgrade' | ||
description: A dependency upgrade | ||
color: e3d9fc | ||
- name: 'type: documentation' | ||
description: A documentation update | ||
color: e3d9fc | ||
- name: 'type: enhancement' | ||
description: A general enhancement | ||
color: e3d9fc | ||
- name: 'type: question' | ||
description: A user question | ||
color: e3d9fc | ||
- name: 'type: task' | ||
description: A general task | ||
color: e3d9fc |
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,32 @@ | ||
template: $CHANGES | ||
name-template: v$RESOLVED_VERSION | ||
tag-template: v$RESOLVED_VERSION | ||
categories: | ||
- title: ⭐️ Enhancements | ||
labels: | ||
- 'type: enhancement' | ||
- title: "\U0001F41E Bug Fixes" | ||
labels: | ||
- 'type: bug' | ||
- title: "\U0001F4D4 Documentation" | ||
labels: | ||
- 'type: documentation' | ||
- title: ⛏ Dependency Upgrades | ||
labels: | ||
- 'type: dependency-upgrade' | ||
- title: "\U0001F6A7 Tasks" | ||
labels: | ||
- 'type: task' | ||
exclude-labels: | ||
- 'type: question' | ||
version-resolver: | ||
major: | ||
labels: | ||
- 'semver: major' | ||
minor: | ||
labels: | ||
- 'semver: minor' | ||
patch: | ||
labels: | ||
- 'semver: patch' | ||
default: patch |
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,26 @@ | ||
name: Minimal Labels | ||
"on": | ||
pull_request: {} | ||
jobs: | ||
semver: | ||
name: SemVer | ||
runs-on: | ||
- ubuntu-latest | ||
steps: | ||
- name: Require Labels | ||
uses: mheap/github-action-required-labels@v1 | ||
with: | ||
count: 1 | ||
labels: 'semver: major,semver: minor,semver: patch' | ||
mode: exactly | ||
type: | ||
name: Type | ||
runs-on: | ||
- ubuntu-latest | ||
steps: | ||
- name: Require Labels | ||
uses: mheap/github-action-required-labels@v1 | ||
with: | ||
count: 1 | ||
labels: 'type: bug,type: dependency-upgrade,type: documentation,type: enhancement,type: question,type: task' | ||
mode: exactly |
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 @@ | ||
name: Synchronize Labels | ||
"on": | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- .github/labels.yml | ||
jobs: | ||
synchronize: | ||
name: Synchronize Labels | ||
runs-on: | ||
- ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Label Syncer | ||
uses: micnncim/action-label-syncer@v1 | ||
env: | ||
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,25 @@ | ||
name: Test | ||
"on": | ||
pull_request: {} | ||
jobs: | ||
test: | ||
name: Test | ||
runs-on: | ||
- ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Setup Go environment | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: "1.15" | ||
- name: Cache | ||
uses: actions/cache@v2 | ||
with: | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
path: ~/go/pkg/mod | ||
restore-keys: ${{ runner.os }}-go- | ||
- name: Install richgo | ||
run: go get -u github.com/kyoh86/richgo | ||
- name: Test | ||
run: RICHGO_FORCE_COLOR=1 richgo test ./... |
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,15 @@ | ||
name: Update Release | ||
"on": | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
update: | ||
name: Update Release | ||
runs-on: | ||
- ubuntu-latest | ||
steps: | ||
- name: Release Drafter | ||
uses: release-drafter/release-drafter@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Validating CODEOWNERS rules …
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 @@ | ||
* @paketo-buildpacks/java-buildpacks |