From ff45120d1296c856a90a137ec33bb5d741d06bd0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 29 Jun 2024 22:28:21 +0000 Subject: [PATCH 1/3] [tagpr] prepare for the next release --- .github/release.yml | 4 ++++ .tagpr | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 .github/release.yml create mode 100644 .tagpr diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..b0c5175 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,4 @@ +changelog: + exclude: + labels: + - tagpr diff --git a/.tagpr b/.tagpr new file mode 100644 index 0000000..4032cce --- /dev/null +++ b/.tagpr @@ -0,0 +1,42 @@ +# config file for the tagpr in git config format +# The tagpr generates the initial configuration, which you can rewrite to suit your environment. +# CONFIGURATIONS: +# tagpr.releaseBranch +# Generally, it is "main." It is the branch for releases. The tagpr tracks this branch, +# creates or updates a pull request as a release candidate, or tags when they are merged. +# +# tagpr.versionFile +# Versioning file containing the semantic version needed to be updated at release. +# It will be synchronized with the "git tag". +# Often this is a meta-information file such as gemspec, setup.cfg, package.json, etc. +# Sometimes the source code file, such as version.go or Bar.pm, is used. +# If you do not want to use versioning files but only git tags, specify the "-" string here. +# You can specify multiple version files by comma separated strings. +# +# tagpr.vPrefix +# Flag whether or not v-prefix is added to semver when git tagging. (e.g. v1.2.3 if true) +# This is only a tagging convention, not how it is described in the version file. +# +# tagpr.changelog (Optional) +# Flag whether or not changelog is added or changed during the release. +# +# tagpr.command (Optional) +# Command to change files just before release. +# +# tagpr.template (Optional) +# Pull request template in go template format +# +# tagpr.release (Optional) +# GitHub Release creation behavior after tagging [true, draft, false] +# If this value is not set, the release is to be created. +# +# tagpr.majorLabels (Optional) +# Label of major update targets. Default is [major] +# +# tagpr.minorLabels (Optional) +# Label of minor update targets. Default is [minor] +# +[tagpr] + vPrefix = true + releaseBranch = main + versionFile = - From 03c1ff520fc142d5cf373455419d493702a8b4ed Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 29 Jun 2024 22:28:21 +0000 Subject: [PATCH 2/3] [tagpr] update CHANGELOG.md --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..8d4a774 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,27 @@ +# Changelog + +## [v0.3.0](https://github.com/Arthur1/opentelemetry-collector-arthur1/compare/v0.2.0...v0.3.0) - 2024-06-29 +- update opentelemetry collector to 0.103.0 by @Arthur1 in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/27 +- custom renovate config to merge pull requests by @Arthur1 in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/30 +- fix invalid exporters name in otelcol-builder.yaml by @Arthur1 in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/32 +- generate by mdatagen v0.103.0 by @Arthur1 in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/33 +- add tparse to tools package by @Arthur1 in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/35 +- use all go.sum files in setup-go cache by @Arthur1 in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/36 +- set go.opentelemetry.io/otel/sdk/** to indirect by @Arthur1 in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/39 +- [cloudflaremetricsreceiver] set go directive 1.21 by @Arthur1 in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/40 +- Update All OpenTelemetry Collector packages by @renovate in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/31 +- ignore go.work & go.work.sum by @Arthur1 in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/41 +- Update module github.com/hasura/go-graphql-client to v0.12.2 by @renovate in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/29 +- run tests in each package in monorepo by @Arthur1 in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/42 +- Update module github.com/cloudflare/cloudflare-go to v0.98.0 by @renovate in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/5 + +## [v0.2.0](https://github.com/Arthur1/opentelemetry-collector-arthur1/compare/v0.1.0...v0.2.0) - 2024-05-26 +- fix(deps): update module go.opentelemetry.io/collector/component to v0.100.0 by @renovate in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/3 +- fix(deps): update module golang.org/x/sys to v0.20.0 by @renovate in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/10 +- fix(deps): update module github.com/arthur1/opentelemetry-collector-arthur1/receiver/cloudflaremetricsreceiver to v0.1.0 by @renovate in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/14 +- fix(deps): update module go.opentelemetry.io/collector/consumer to v0.100.0 by @renovate in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/7 +- [runnreceiver] BREAKING: remove body from config by @Arthur1 in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/21 +- [runnreceiver] add runn.elapsed_time metrics by @Arthur1 in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/24 + +## [v0.1.0](https://github.com/Arthur1/opentelemetry-collector-arthur1/commits/v0.1.0) - 2024-05-08 +- chore: Configure Renovate by @renovate in https://github.com/Arthur1/opentelemetry-collector-arthur1/pull/1 From 2ce09dac46b81be54e1d14f89f75d7ab1a9e3a6c Mon Sep 17 00:00:00 2001 From: ASAKURA Kazuki <32762324+Arthur1@users.noreply.github.com> Date: Sat, 29 Jun 2024 22:30:23 +0000 Subject: [PATCH 3/3] release for v0.3.0 --- go.mod | 4 ++-- main.go | 2 +- otelcol-builder.yaml | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 1f770eb..787ed29 100644 --- a/go.mod +++ b/go.mod @@ -7,8 +7,8 @@ go 1.22.3 toolchain go1.22.4 require ( - github.com/Arthur1/opentelemetry-collector-arthur1/receiver/cloudflaremetricsreceiver v0.0.0 - github.com/Arthur1/opentelemetry-collector-arthur1/receiver/runnreceiver v0.0.0 + github.com/Arthur1/opentelemetry-collector-arthur1/receiver/cloudflaremetricsreceiver v0.3.0 + github.com/Arthur1/opentelemetry-collector-arthur1/receiver/runnreceiver v0.3.0 github.com/stretchr/testify v1.9.0 go.opentelemetry.io/collector/component v0.103.0 go.opentelemetry.io/collector/confmap v0.103.0 diff --git a/main.go b/main.go index 299435c..14a11fa 100644 --- a/main.go +++ b/main.go @@ -21,7 +21,7 @@ func main() { info := component.BuildInfo{ Command: "otelcol-custom", Description: "Custom OpenTelemetry Collector for Testing Components Created by Arthur1", - Version: "0.0.0", + Version: "0.3.0", } set := otelcol.CollectorSettings{ diff --git a/otelcol-builder.yaml b/otelcol-builder.yaml index a03311f..857a5b0 100644 --- a/otelcol-builder.yaml +++ b/otelcol-builder.yaml @@ -2,11 +2,11 @@ dist: module: github.com/Arthur1/opentelemetry-collector-arthur1 description: Custom OpenTelemetry Collector for Testing Components Created by Arthur1 output_path: . - version: 0.0.0 + version: 0.3.0 receivers: - - gomod: github.com/Arthur1/opentelemetry-collector-arthur1/receiver/runnreceiver v0.0.0 - - gomod: github.com/Arthur1/opentelemetry-collector-arthur1/receiver/cloudflaremetricsreceiver v0.0.0 + - gomod: github.com/Arthur1/opentelemetry-collector-arthur1/receiver/runnreceiver v0.3.0 + - gomod: github.com/Arthur1/opentelemetry-collector-arthur1/receiver/cloudflaremetricsreceiver v0.3.0 exporters: - gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.103.0