# GitLab job that exposes an OIDC token for AlmaForge.
# The slot must be named GITLAB_JWT because the client reads that variable.
deploy:
  variables:
    ALMA_PROXY: almaforge.example.com:443
    ALMA_CLIENT_ID: ci-platform-deploy
    ALMA_JOIN_METHOD: gitlab
  id_tokens:
    GITLAB_JWT:
      aud: https://almaforge.example.com
  script:
    - alma exec db/dev-orders-pg --user=readonly --db-name=orders -- -c 'SELECT 1'
