-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[opentelemetry-integration] Upgrade Collector on Windows values to `0…
….117.0` (#500) Fixes ES-408. - Upgrades the Collector in our Windows values file to `0.117.0`. - Update some missing/divergent things in the Windows tailsampling values file. - Mention a breaking changes in the Windows values files. - Make the Windows 2019 image build with the latest respective LTSC release. 🚨 **Breaking change** 🚨 This upgrade has the same breaking change as mentioned in the CHANGELOG entry.
- Loading branch information
1 parent
d80e839
commit dc78a8c
Showing
9 changed files
with
56 additions
and
21 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 |
---|---|---|
|
@@ -4,8 +4,8 @@ on: | |
push: | ||
branches: master | ||
paths: | ||
- 'otel-collector-windows-image/Dockerfile' | ||
- '.github/workflows/otel-collector-windows-image.yml' | ||
- "otel-collector-windows-image/Dockerfile" | ||
- ".github/workflows/otel-collector-windows-image.yml" | ||
|
||
env: | ||
DOCKERHUB_REGISTRY: coralogixrepo/opentelemetry-collector-contrib-windows | ||
|
@@ -18,14 +18,14 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v1 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
|
@@ -40,11 +40,8 @@ jobs: | |
context: ./otel-collector-windows-image/ | ||
platforms: windows/amd64 | ||
push: true | ||
# For Windows 2019, we need to pin to specific sha256, in order to work around | ||
# issue https://github.com/microsoft/Windows-Containers/issues/493. Once it's fixed, | ||
# it can be removed. | ||
build-args: | | ||
WIN_BASE_IMAGE=mcr.microsoft.com/windows/servercore:1809@sha256:6fdf140282a2f809dae9b13fe441635867f0a27c33a438771673b8da8f3348a4 | ||
build-args: | | ||
WIN_BASE_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019 | ||
tags: | | ||
${{ env.DOCKERHUB_REGISTRY }}:${{ steps.set-image-version.outputs.version }} | ||
${{ env.DOCKERHUB_REGISTRY }}:latest | ||
|
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
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 @@ | ||
IMAGE_REPOSITORY ?= otel-col | ||
IMAGE_TAG ?= | ||
# A Windows version to build for. Supported values are `2019` and `2022`. | ||
WIN_VERSION ?= | ||
# This can be `--load` to just build the image and do nothing. | ||
# It can also be `--push` to build and push the image. | ||
POST_BUILD ?= --load | ||
|
||
.phony: build-image | ||
build-image: | ||
docker buildx build ${POST_BUILD} --platform windows/amd64 --build-arg WIN_BASE_IMAGE=mcr.microsoft.com/windows/servercore:ltsc${WIN_VERSION} -t ${IMAGE_REPOSITORY}:${IMAGE_TAG} . | ||
|
||
.phony: win2019 | ||
win2019: WIN_VERSION=2019 | ||
win2019: IMAGE_TAG=win2019 | ||
win2019: build-image | ||
|
||
.phony: win2022 | ||
win2022: WIN_VERSION=2022 | ||
win2022: IMAGE_TAG=win2022 | ||
win2022: build-image |
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
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
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
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
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
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