Download the latest otelcol for CI tests.
Co-authored-by: Pavel Pautov <p.pautov@f5.com>
This commit is contained in:
parent
1e183a3fa9
commit
eefa37c28d
1 changed files with 5 additions and 3 deletions
8
.github/workflows/ubuntu.yml
vendored
8
.github/workflows/ubuntu.yml
vendored
|
|
@ -36,9 +36,11 @@ jobs:
|
||||||
make -j $(nproc)
|
make -j $(nproc)
|
||||||
- name: Download otelcol
|
- name: Download otelcol
|
||||||
run: |
|
run: |
|
||||||
curl -sLo - https://github.com/\
|
LATEST=open-telemetry/opentelemetry-collector-releases/releases/latest
|
||||||
open-telemetry/opentelemetry-collector-releases/releases/download/\
|
TAG=$(curl -s https://api.github.com/repos/${LATEST} |
|
||||||
v0.115.1/otelcol_0.115.1_linux_amd64.tar.gz | tar -xzv
|
jq -r .tag_name)
|
||||||
|
curl -sLo - https://github.com/${LATEST}/download/\
|
||||||
|
otelcol_${TAG:1}_linux_amd64.tar.gz | tar -xzv
|
||||||
- name: Install test dependencies
|
- name: Install test dependencies
|
||||||
run: pip install -r tests/requirements.txt
|
run: pip install -r tests/requirements.txt
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue