diff --git a/.github/workflows/build-and-test-arm.yml b/.github/workflows/build-and-test-arm.yml index 285a79e222aa..3823db9ed044 100644 --- a/.github/workflows/build-and-test-arm.yml +++ b/.github/workflows/build-and-test-arm.yml @@ -14,6 +14,8 @@ env: # Make sure to exit early if cache segment download times out after 2 minutes. # We limit cache download as a whole to 5 minutes. SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2 + # renovate: datasource=golang-version depName=go + GO_VERSION: "1.22.9" # Do not cancel this workflow on main. See https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/16616 concurrency: @@ -50,7 +52,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "~1.22.5" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache diff --git a/.github/workflows/build-and-test-darwin.yaml b/.github/workflows/build-and-test-darwin.yaml index 6ae971b84192..e0491756159a 100644 --- a/.github/workflows/build-and-test-darwin.yaml +++ b/.github/workflows/build-and-test-darwin.yaml @@ -14,6 +14,8 @@ env: # Make sure to exit early if cache segment download times out after 2 minutes. # We limit cache download as a whole to 5 minutes. SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2 + # renovate: datasource=golang-version depName=go + GO_VERSION: "1.22.9" # Do not cancel this workflow on main. See https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/16616 concurrency: @@ -29,7 +31,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "~1.22.5" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache @@ -70,7 +72,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "~1.22.5" + go-version: ${{ env.GO_VERSION }} cache: false - name: Install Tools if: steps.go-cache.outputs.cache-hit != 'true' diff --git a/.github/workflows/build-and-test-windows.yml b/.github/workflows/build-and-test-windows.yml index dafbfe3838a8..b13799fadb07 100644 --- a/.github/workflows/build-and-test-windows.yml +++ b/.github/workflows/build-and-test-windows.yml @@ -16,6 +16,8 @@ env: # Make sure to exit early if cache segment download times out after 2 minutes. # We limit cache download as a whole to 5 minutes. SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2 + # renovate: datasource=golang-version depName=go + GO_VERSION: "1.22.9" # Do not cancel this workflow on main concurrency: @@ -58,7 +60,7 @@ jobs: run: Install-WindowsFeature -name Web-Server -IncludeManagementTools - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-mod-cache diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 6893ed44c37b..a0e6bc3b6541 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -11,6 +11,8 @@ env: # Make sure to exit early if cache segment download times out after 2 minutes. # We limit cache download as a whole to 5 minutes. SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2 + # renovate: datasource=golang-version depName=go + GO_VERSION: "1.22.9" # Do not cancel this workflow on main. See https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/16616 concurrency: @@ -26,7 +28,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache @@ -94,7 +96,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache @@ -164,7 +166,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache @@ -188,7 +190,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache @@ -368,7 +370,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache @@ -407,7 +409,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache @@ -434,7 +436,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache @@ -506,7 +508,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache @@ -556,7 +558,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Mkdir bin and dist run: | diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index fe0c50398f0f..c4ca1a545a8b 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -15,6 +15,8 @@ env: # Make sure to exit early if cache segment download times out after 2 minutes. # We limit cache download as a whole to 5 minutes. SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2 + # renovate: datasource=golang-version depName=go + GO_VERSION: "1.22.9" concurrency: group: ${{ github.workflow }}-${{ github.head_ref }} @@ -33,7 +35,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 8769d26452c7..0ce6c1bb90b0 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -5,7 +5,9 @@ on: branches: [main] paths-ignore: - "**/README.md" - +env: + # renovate: datasource=golang-version depName=go + GO_VERSION: "1.22.9" jobs: CodeQL-Build: runs-on: macos-latest @@ -20,7 +22,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false # Initializes the CodeQL tools for scanning. diff --git a/.github/workflows/e2e-tests-windows.yml b/.github/workflows/e2e-tests-windows.yml index 0745599b555f..209fd3d9a600 100644 --- a/.github/workflows/e2e-tests-windows.yml +++ b/.github/workflows/e2e-tests-windows.yml @@ -17,6 +17,8 @@ env: # Make sure to exit early if cache segment download times out after 2 minutes. # We limit cache download as a whole to 5 minutes. SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2 + # renovate: datasource=golang-version depName=go + GO_VERSION: "1.22.9" jobs: collector-build: @@ -27,7 +29,7 @@ jobs: uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.21.12" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-mod-cache @@ -59,7 +61,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.21.12" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-mod-cache @@ -93,7 +95,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: ~1.22.8 + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go uses: actions/cache@v4 diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 865b45366147..242dfbba22b8 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -17,6 +17,8 @@ env: # Make sure to exit early if cache segment download times out after 2 minutes. # We limit cache download as a whole to 5 minutes. SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2 + # renovate: datasource=golang-version depName=go + GO_VERSION: "1.22.9" jobs: collector-build: runs-on: ubuntu-latest @@ -26,7 +28,7 @@ jobs: uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache @@ -57,7 +59,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache @@ -89,7 +91,7 @@ jobs: uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache @@ -137,7 +139,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache diff --git a/.github/workflows/load-tests.yml b/.github/workflows/load-tests.yml index d6e50cec4f92..474d6766fb1b 100644 --- a/.github/workflows/load-tests.yml +++ b/.github/workflows/load-tests.yml @@ -16,6 +16,8 @@ env: # Make sure to exit early if cache segment download times out after 2 minutes. # We limit cache download as a whole to 5 minutes. SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2 + # renovate: datasource=golang-version depName=go + GO_VERSION: "1.22.9" jobs: setup-environment: @@ -28,7 +30,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache @@ -67,7 +69,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 597f6e3ff2af..3c5d9f087336 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -12,6 +12,9 @@ on: current-beta: required: true description: Current version (beta, like 0.69.1) +env: + # renovate: datasource=golang-version depName=go + GO_VERSION: "1.22.9" jobs: # Releasing opentelemetry-collector-contrib prepare-release: @@ -26,7 +29,7 @@ jobs: path: opentelemetry-collector-contrib - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Prepare release for contrib working-directory: opentelemetry-collector-contrib diff --git a/.github/workflows/prometheus-compliance-tests.yml b/.github/workflows/prometheus-compliance-tests.yml index 9557274a088f..a63e83e00847 100644 --- a/.github/workflows/prometheus-compliance-tests.yml +++ b/.github/workflows/prometheus-compliance-tests.yml @@ -20,6 +20,8 @@ env: # Make sure to exit early if cache segment download times out after 2 minutes. # We limit cache download as a whole to 5 minutes. SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2 + # renovate: datasource=golang-version depName=go + GO_VERSION: "1.22.9" jobs: prometheus-compliance-tests: @@ -31,7 +33,7 @@ jobs: path: opentelemetry-collector-contrib - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache diff --git a/.github/workflows/telemetrygen.yml b/.github/workflows/telemetrygen.yml index 555820eb1c6b..e38fdd28ca6c 100644 --- a/.github/workflows/telemetrygen.yml +++ b/.github/workflows/telemetrygen.yml @@ -14,6 +14,8 @@ env: # Make sure to exit early if cache segment download times out after 2 minutes. # We limit cache download as a whole to 5 minutes. SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2 + # renovate: datasource=golang-version depName=go + GO_VERSION: "1.22.9" # Do not cancel this workflow on main. See https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/16616 concurrency: @@ -28,7 +30,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache @@ -67,7 +69,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache @@ -112,7 +114,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache diff --git a/.github/workflows/tidy-dependencies.yml b/.github/workflows/tidy-dependencies.yml index 8853bf3ed097..4c0dbe75dad8 100644 --- a/.github/workflows/tidy-dependencies.yml +++ b/.github/workflows/tidy-dependencies.yml @@ -9,6 +9,8 @@ env: # Make sure to exit early if cache segment download times out after 2 minutes. # We limit cache download as a whole to 5 minutes. SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2 + # renovate: datasource=golang-version depName=go + GO_VERSION: "1.22.9" jobs: setup-environment: @@ -21,7 +23,7 @@ jobs: ref: ${{ github.head_ref }} - uses: actions/setup-go@v5 with: - go-version: "1.22.8" + go-version: ${{ env.GO_VERSION }} cache: false - name: Cache Go id: go-cache diff --git a/renovate.json b/renovate.json index 6be78207f2b9..50c2ca1e9d47 100644 --- a/renovate.json +++ b/renovate.json @@ -8,7 +8,13 @@ "go": "1.22.0" }, "schedule": ["every tuesday"], - "extends": ["config:recommended"], + "extends": [ + "config:recommended", + "schedule:nonOfficeHours", + "customManagers:githubActionsVersions", + "customManagers:makefileVersions", + ":dependencyDashboard" + ], "ignorePaths": [ "**/receiver/apachesparkreceiver/testdata/integration/Dockerfile.apache-spark", "**/receiver/elasticsearchreceiver/testdata/integration/Dockerfile.elasticsearch.7_16_3", @@ -18,6 +24,10 @@ "**/receiver/mongodbreceiver/testdata/integration/Dockerfile.mongodb.4_4lpu", "**/receiver/mongodbreceiver/testdata/integration/Dockerfile.mongodb.5_0" ], + "postUpdateOptions": [ + "gomodTidy", + "gomodMassage" + ], "packageRules": [ { "matchManagers": ["gomod"], @@ -105,6 +115,10 @@ "https://github.com/open-telemetry/opentelemetry-go-contrib" ], "groupName": "All opentelemetry-go-contrib packages" + }, + { + "matchDatasources": ["golang-version"], + "rangeStrategy": "bump" } ], "ignoreDeps": [