Skip to content

ci: wire shared org deployment into CI/CD workflows - #1268

Closed
bonzofenix wants to merge 8 commits into
mainfrom
split/ci-workflows
Closed

ci: wire shared org deployment into CI/CD workflows#1268
bonzofenix wants to merge 8 commits into
mainfrom
split/ci-workflows

Conversation

@bonzofenix

@bonzofenix bonzofenix commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Wires the shared org / space-scoped broker deployment model into GitHub Actions and Concourse pipelines.

Changes

  • .github/workflows/acceptance_tests_reusable.yaml: Add AUTOSCALER_ORG and EXISTING_ORGANIZATION inputs
  • .github/workflows/acceptance_tests_mta.yaml: Pass org config to reusable workflow
  • .github/workflows/create-org-manager-user.yaml: Update for shared org
  • ci/infrastructure/pipeline.yml: Update Concourse pipeline
  • ci/infrastructure/scripts/deploy-metricsgateway.sh: Add security group binding
  • ci/infrastructure/security-groups/: Move security group JSON here
  • Remove obsolete metricsforwarder/Makefile and metricsgateway/Makefile

Testing

  • CI pipeline integration test via PR deployment

Part 4 of 4 — Split from #1149 for easier review.

  1. feat: add OAuth2 password grant support for event generator log-cache access #1265 — OAuth2 password grant (code)
  2. feat: add OrgManager user support to acceptance test framework #1266 — Acceptance test OrgManager support (test framework)
  3. feat: support shared org and space-scoped broker for PR deployments #1267 — Deployment scripts: shared org + space-scoped broker
  4. This PR — CI/CD workflows wiring

- Add AUTOSCALER_ORG and EXISTING_ORGANIZATION to reusable workflow
- Pass org config through acceptance test MTA workflow
- Update Concourse pipeline for metricsgateway security groups
- Move security group JSON to ci/infrastructure
- Remove obsolete set-security-group Makefiles
- Update create-org-manager-user workflow for shared org
…aram

Move AUTOSCALER_ORG from per-job env blocks to workflow-level env in
acceptance_tests_reusable.yaml, eliminating three identical repetitions.

Restore CF_SPACE as an explicit param in deploy-metricsgateway.yml task
so the default is visible at the task interface rather than hidden inside
vars.source.sh.
The function cf_deployment_login does not exist in scripts/common.sh;
the correct function name is cf_login.
The variable was not available in the workflow env, causing cf set-space-role
to fail with exit code 1. Pass it as an input from the caller via
vars.AUTOSCALER_ORG_MANAGER_USER.
metricsforwarder/Makefile and metricsgateway/Makefile were deleted as
part of this PR. Remove the two make calls that referenced them.
@bonzofenix
bonzofenix marked this pull request as draft June 29, 2026 07:19
@asalan316

Copy link
Copy Markdown
Contributor

closing in favour of #1149

@asalan316 asalan316 closed this Jun 29, 2026
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants