Skip to content

Bump github.com/aws/aws-sdk-go-v2/service/sts from 1.16.13 to 1.23.2 in /extension/sigv4authextension #7094

Bump github.com/aws/aws-sdk-go-v2/service/sts from 1.16.13 to 1.23.2 in /extension/sigv4authextension

Bump github.com/aws/aws-sdk-go-v2/service/sts from 1.16.13 to 1.23.2 in /extension/sigv4authextension #7094

name: prometheus-compliance-tests
on:
push:
branches: [ main ]
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
prometheus-compliance-tests:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
path: opentelemetry-collector-contrib
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Cache Go
id: go-cache
uses: actions/cache@v3
with:
path: |
~/go/bin
~/go/pkg/mod
~/.cache/go-build
key: prometheus-${{ runner.os }}-go-${{ hashFiles('**/go.mod', '**/go.sum') }}
- run: make otelcontribcol
working-directory: opentelemetry-collector-contrib
- name: Checkout compliance repo
uses: actions/checkout@v3
with:
repository: prometheus/compliance
path: compliance
ref: f0482884578bac67b053e3eaa1ca7f783d146557
- name: Copy binary to compliance directory
run: mkdir compliance/remote_write_sender/bin && cp opentelemetry-collector-contrib/bin/otelcontribcol_linux_amd64 compliance/remote_write_sender/bin/otelcol_linux_amd64
- name: Run compliance tests
run: go test --tags=compliance -run "TestRemoteWrite/otel/.+" -v ./
working-directory: compliance/remote_write_sender