-
Notifications
You must be signed in to change notification settings - Fork 215
Add nightly releases #1016
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
mowies
merged 34 commits into
open-telemetry:main
from
dynatrace-oss-contrib:two-step-release-process
Jul 31, 2025
Merged
Add nightly releases #1016
Changes from 12 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
3ef3d04
add nightly release setup with pipeline and goreleaser settings
mowies b772ef3
revert otelcol dockers
mowies 97465d3
fix pipeline
mowies 770e212
cherry pick fixes?
mowies 97c5a1d
more setup things
mowies e7e421b
revert some debugging changes
mowies 46c364b
revert goreleaser debugging changes
mowies 680618b
revert debugging changes for builder and opamp
mowies ee14504
revert debugging changes in dockerfiles
mowies 0f319c4
remove force pushes
mowies b91d098
Merge branch 'main' into two-step-release-process
mowies b29252a
Merge branch 'main' into two-step-release-process
mowies 1c28859
Merge branch 'main' into two-step-release-process
mowies abe369f
rename GORELEASER_PREVIOUS_TAG
mowies 52bb40d
filter tags before taking the right one for all release pipelines
mowies 637a143
adjust doc comments
mowies c4ef958
add missing newlines
mowies d4bcc8c
Merge branch 'main' into two-step-release-process
mowies 9d01019
update goreleaser to correct version
mowies f929a2d
revert change of github token in base-release
mowies 8a65a1b
add comments
mowies 56cf929
Merge branch 'main' into two-step-release-process
mowies 87bab64
Merge branch 'main' into two-step-release-process
mowies a7c1cb1
use otelbot short time token for pushing nightly tags
mowies 317a755
set specific content write permission for new token
mowies 33b71f6
disable publishing nightly releases
mowies 3fe58dd
revert changes of github tokens
mowies da81c5b
revert changes of github tokens
mowies a0d3869
set up otelbot app committer name and email correctly
mowies 4c6f299
create issue on failed nightly release
mowies 0beaca3
add note about other distro releases
mowies 2d99c77
Merge branch 'main' into two-step-release-process
mowies 17d6470
Merge branch 'main' into two-step-release-process
mowies 48d0ede
add changelog entry
mowies File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
mowies marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or 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,43 @@ | ||
| name: Nightly Release | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| schedule: | ||
| - cron: "0 2 * * *" # release nightly at 2AM | ||
mowies marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| env: | ||
| # renovate: datasource=github-tags depName=goreleaser-pro packageName=goreleaser/goreleaser-pro | ||
| GORELEASER_PRO_VERSION: v2.7.0 | ||
mowies marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| jobs: | ||
| nightly-release: | ||
| name: Nightly Release | ||
| runs-on: ubuntu-latest | ||
|
|
||
| permissions: | ||
| contents: write | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
| with: | ||
| fetch-depth: 0 | ||
| token: ${{ secrets.GH_PAT }} | ||
mowies marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| - name: 'Push new tag' | ||
| run: | | ||
| git config user.name "${GITHUB_ACTOR}" | ||
| git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" | ||
|
|
||
| # A previous release was created using a lightweight tag | ||
| # git describe by default includes only annotated tags | ||
| # git describe --tags includes lightweight tags as well | ||
| DESCRIBE=`git tag -l --sort=-v:refname | grep -v nightly | head -n 1` | ||
| MAJOR_VERSION=`echo $DESCRIBE | awk '{split($0,a,"."); print a[1]}'` | ||
| MINOR_VERSION=`echo $DESCRIBE | awk '{split($0,a,"."); print a[2]}'` | ||
| MINOR_VERSION="$((${MINOR_VERSION} + 1))" | ||
| TAG="${MAJOR_VERSION}.${MINOR_VERSION}.0-nightly.$(date +'%Y%m%d%H%M')" | ||
| git tag -a $TAG -m "$TAG: nightly build" | ||
| git push origin $TAG | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.