-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
**What this PR does / why we need it**: The new release process is being developed in another repo for now as it enables much faster feedback loops. We are at the stage where we are pulling the Loki repo and building images, so it's time to move the `release-please` config into Loki, and configure it for the various packages we will be releasing. This PR adds the two basic configs that `release-please` requires. This PR does not change anything about the release process, it just enables us to keep iterating out of band until we're ready to move over. This was already added to `main`, but adding here so I can test it on the release branch **Which issue(s) this PR fixes**: Re #11332
- Loading branch information
1 parent
da6c26f
commit e628f5d
Showing
5 changed files
with
95 additions
and
11 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,21 @@ | ||
--- | ||
name: 'create release PR for minor releases' | ||
on: | ||
push: | ||
branches: | ||
- 'k[0-9]*' | ||
workflow_dispatch: {} | ||
permissions: | ||
contents: 'write' | ||
issues: 'write' | ||
pull-requests: 'write' | ||
jobs: | ||
create-release-pr: | ||
uses: github/loki-release/.github/workflows/release-pr.yml@main | ||
with: | ||
release_repo: grafana/loki | ||
skip_validation: false | ||
versioning_strategy: always-bump-minor | ||
secrets: | ||
GCS_SERVICE_ACCOUNT_KEY: '${{ secrets.BACKEND_ENTERPRISE_DRONE }}' | ||
GH_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,21 @@ | ||
--- | ||
name: 'create release PR for patch releases' | ||
on: | ||
push: | ||
branches: | ||
- 'release-[0-9].[0-9].x' | ||
workflow_dispatch: {} | ||
permissions: | ||
contents: 'write' | ||
issues: 'write' | ||
pull-requests: 'write' | ||
jobs: | ||
create-release-pr: | ||
uses: github/loki-release/.github/workflows/release-pr.yml@main | ||
with: | ||
release_repo: grafana/loki | ||
skip_validation: false | ||
versioning_strategy: always-bump-patch | ||
secrets: | ||
GCS_SERVICE_ACCOUNT_KEY: '${{ secrets.BACKEND_ENTERPRISE_DRONE }}' | ||
GH_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,19 @@ | ||
--- | ||
name: 'create release' | ||
on: | ||
push: | ||
branches: | ||
- 'release-[0-9].[0-9].x' | ||
- 'k[0-9]*' | ||
workflow_dispatch: {} | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
jobs: | ||
release: | ||
uses: github/loki-release/.github/workflows/release.yml@main | ||
with: | ||
release_repo: grafana/loki | ||
secrets: | ||
GCS_SERVICE_ACCOUNT_KEY: '${{ secrets.BACKEND_ENTERPRISE_DRONE }}' | ||
GH_TOKEN: '${{ secrets.GH_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,6 @@ | ||
{ | ||
"cmd/loki": "2.9.4", | ||
"cmd/loki-canary": "2.9.4", | ||
"cmd/logcli": "2.9.4", | ||
"clients/cmd/promtail": "2.9.4" | ||
} |
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