Skip to content

ci: pass KEYCLOAK_CLIENT_SECRET to the smoke workflow - #451

Merged
saqibmanan merged 1 commit into
devfrom
ci/pass-keycloak-secret-to-smoke
Sep 2, 2026
Merged

ci: pass KEYCLOAK_CLIENT_SECRET to the smoke workflow#451
saqibmanan merged 1 commit into
devfrom
ci/pass-keycloak-secret-to-smoke

Conversation

@saqibmanan

Copy link
Copy Markdown
Contributor

One line per call site, so api-smoke can authenticate.

Why

run-smoke.yml now preflights its Keycloak configuration instead of letting the authenticated API tests skip silently while the run goes green on nothing (CivicDataSpace-test#18). It needs the client secret to do that.

dataspace is a confidential client, so the ROPC token request returns 401 unauthorized_client without it.

The reusable workflow declares the secret optional, so this repo kept parsing before this change — but api-smoke fails its preflight until the secret is both passed and set.

Order of operations

  1. Add KEYCLOAK_CLIENT_SECRET as a repository secret here
  2. Merge CivicDataSpace-test#18 (into its CI branch)
  3. Merge this

Merging this before step 1 makes api-smoke red.

Touches deploy-Dataspace.yml.

Note: promote-dev is gated on smoke-tests succeeding here, so dev promotion blocks until the secret is set.

run-smoke.yml now preflights its Keycloak configuration instead of
letting the authenticated API tests skip silently and the run go green
on nothing. It needs the client secret to do that.

`dataspace` is a confidential client, so the ROPC token request returns
401 unauthorized_client without it. The reusable workflow declares the
secret optional so this repo kept parsing before this change, but
api-smoke fails its preflight until the secret is passed and set.
@saqibmanan
saqibmanan merged commit ce1a157 into dev Sep 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant