chore(deps): bump github.com/jackc/pgx/v5 from 5.7.1 to 5.7.2 #1215
Workflow file for this run
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
name: "Compliance" | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
pull_request: | |
env: | |
REGISTRY: ghcr.io | |
jobs: | |
PromQL: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.21.x" | |
cache: false | |
- uses: docker/setup-buildx-action@v3 | |
- name: Docker log in | |
uses: docker/login-action@v3 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v4 | |
- name: Get Go environment | |
id: go-env | |
run: | | |
echo "cache=$(go env GOCACHE)" >> $GITHUB_ENV | |
echo "modcache=$(go env GOMODCACHE)" >> $GITHUB_ENV | |
echo "goversion=$(go env GOVERSION)" >> $GITHUB_ENV | |
- name: Set up cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
${{ env.cache }} | |
${{ env.modcache }} | |
key: Compliance-${{ runner.os }}-go-${{ env.goversion }}-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
promql-compliance-${{ runner.os }}-go-${{ env.goversion }} | |
- name: Go build | |
env: | |
CGO_ENABLED: 0 | |
run: | | |
go build -trimpath -buildvcs=false -v ./cmd/oteldb | |
- name: Start | |
working-directory: dev/local/ch-compliance | |
run: docker compose -f docker-compose.ci.yml up -d --build --force-recreate | |
- name: Wait | |
working-directory: dev/local/ch-compliance | |
run: go run ./cmd/compliance-wait -wait 10s | |
- name: Run | |
working-directory: dev/local/ch-compliance | |
run: | | |
go run github.com/go-faster/oteldb/cmd/promql-compliance-tester \ | |
-config-file promql-test-queries.yml -config-file test-oteldb.yml \ | |
-output-format json \ | |
-end 1m -range 1m > result.oteldb.json || true | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: result.promql.json | |
path: dev/local/ch-compliance/result.oteldb.json | |
if-no-files-found: error | |
retention-days: 1 | |
- name: Verify | |
working-directory: dev/local/ch-compliance | |
run: go run ./cmd/compliance-verify --target 99.60 result.oteldb.json | |
LogQL: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.21.x" | |
cache: false | |
- uses: docker/setup-buildx-action@v3 | |
- name: Docker log in | |
uses: docker/login-action@v3 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v4 | |
- name: Get Go environment | |
id: go-env | |
run: | | |
echo "cache=$(go env GOCACHE)" >> $GITHUB_ENV | |
echo "modcache=$(go env GOMODCACHE)" >> $GITHUB_ENV | |
echo "goversion=$(go env GOVERSION)" >> $GITHUB_ENV | |
- name: Set up cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
${{ env.cache }} | |
${{ env.modcache }} | |
key: logql-compliance-${{ runner.os }}-go-${{ env.goversion }}-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
logql-compliance-${{ runner.os }}-go-${{ env.goversion }} | |
- name: Go build | |
env: | |
CGO_ENABLED: 0 | |
run: | | |
go build -trimpath -buildvcs=false -v ./cmd/oteldb | |
- name: Start | |
working-directory: dev/local/ch-logql-compliance | |
run: docker compose -f docker-compose.ci.yml up -d --build --force-recreate | |
- name: Run | |
working-directory: dev/local/ch-logql-compliance | |
run: | | |
go run github.com/go-faster/oteldb/cmd/logql-compliance-tester \ | |
-end 1m -range 1m \ | |
-config-file logql-test-queries.yml -config-file test-oteldb.yml \ | |
-output-format json -output-file result.oteldb.json \ | |
-output-unsupported \ | |
-query-parallelism 2 \ | |
-target 90.00 | |
- name: Upload artifact | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: result.logql.json | |
path: dev/local/ch-logql-compliance/result.oteldb.json | |
if-no-files-found: error | |
retention-days: 1 |