Skip to content
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

Fix Target Allocator builds by using versions.txt #1140

Merged
merged 7 commits into from
Oct 7, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish-target-allocator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v3

- name: Read version
run: echo "VERSION=$(cat cmd/otel-allocator/version.txt)" >> $GITHUB_ENV
run: grep -v '\#' versions.txt | grep targetallocator | awk -F= '{print "VERSION="$2}' >> $GITHUB_ENV

- name: Docker meta
id: meta
Expand Down
3 changes: 2 additions & 1 deletion cmd/otel-allocator/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Target Allocator

The TargetAllocator is an optional separately deployed component of an OpenTelemetry Collector setup, which is used to
distribute targets of the PrometheusReceiver on all deployed Collector instances.
distribute targets of the PrometheusReceiver on all deployed Collector instances. The release version matches the
operator's most recent release as well.

# Design

Expand Down
2 changes: 1 addition & 1 deletion versions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ opentelemetry-collector=0.60.0
operator=0.60.0

# Represents the current release of the Target Allocator.
targetallocator=0.1.0
targetallocator=0.60.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should TA be released for every operator release? If so then it should be reflected in the release doc.


# Represents the current release of Java instrumentation.
# Should match autoinstrumentation/java/version.txt
Expand Down