Skip to content

Rework the client registration workflow and client id #81

Rework the client registration workflow and client id

Rework the client registration workflow and client id #81

Workflow file for this run

---
name: Run Pull Request CI Verification
on:
pull_request:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
container:
image: registry.suse.com/bci/golang:1.21-openssl
steps:
- name: Checkout PR sources
uses: actions/checkout@v4
with:
path: telemetry-server
- name: Select Telemetry Repo Branch
env:
PR_BODY: "${{ github.event.pull_request.body }}"
run: |
branch="$(echo "${PR_BODY}" | \
grep -o "^[[:space:]]*TelemetryRepoBranch: .*$" | \
cut -d":" -f2 | tr -d '[[:space:]]' || true)"
[[ -n "${branch}" ]] || branch=main
echo "::set-output name=TelemetryRepoBranch::${branch}"
- name: Checkout SUSE/telemetry companion sources
uses: actions/checkout@v4
with:
repository: SUSE/telemetry
path: telemetry
branch: ${{ steps.Select_Telemetry_Repo_Branch.outputs.TelemetryRepoBranch }}
- name: Run tests in verbose mode
run: cd telemetry-server && make test-verbose