Skip to content

Skip GitBuildpack internet-dependent test on non-OSS stacks - #2063

Merged
davewalter merged 1 commit into
cloudfoundry:developfrom
robdimsdale:online-buildpack-oss-stack-only
Aug 7, 2026
Merged

Skip GitBuildpack internet-dependent test on non-OSS stacks#2063
davewalter merged 1 commit into
cloudfoundry:developfrom
robdimsdale:online-buildpack-oss-stack-only

Conversation

@robdimsdale

Copy link
Copy Markdown
Member

Are you submitting this PR against the develop branch?

All PR's to CATs should be submitted to develop and will be merged to main once they've passed acceptance.

What is this change about?

Describe the change and why it's needed.

Only run the git-buildpack test when the configured stacks include a known OSS stack (cflinuxfs3, cflinuxfs4, cflinuxfs5), so it doesn't run against proprietary stacks like tanzucflinuxfs1.

Please provide contextual information.

We have stacks that don't confirm to this pattern but still want to run CATS. The OSS buildpacks won't work on these custom stacks so I want to skip this test for stacks that aren't OSS supported ones

Include any links to other PRs, stories, slack discussions, etc... that will help establish context.

What version of cf-deployment have you run this cf-acceptance-test change against?

Please check all that apply for this PR:

  • introduces a new test --- Are you sure everyone should be running this test?
  • changes an existing test
  • requires an update to a CATs integration-config

Did you update the README as appropriate for this change?

  • YES
  • N/A

If you are introducing a new acceptance test, what is your rationale for including it CATs rather than your own acceptance test suite?

CATs should validate common operator workflows.
CATs is not a regression test suite.
CATs is run by every component team to validate their releases before promotion.

How many more (or fewer) seconds of runtime will this change introduce to CATs?

0 extra, reduces test runtime by a bit when test is skipped

What is the level of urgency for publishing this change?

  • Urgent - unblocks current or future work
  • Slightly Less than Urgent

Tag your pair, your PM, and/or team!

It's helpful to tag a few other folks on your team or your team alias in case we need to follow up later.

Only run the git-buildpack test when the configured stacks include a
known OSS stack (cflinuxfs3, cflinuxfs4, cflinuxfs5), so it doesn't
run against proprietary stacks like tanzucflinuxfs1.

Skip test if there are no OSS stacks.

Passing no -s flag meant the app staged on the platform default
stack, which can be a non-OSS stack (e.g. tanzucflinuxfs1) even when
an OSS stack is also configured. Explicitly stage on the first OSS
stack found in config.Stacks instead.
@robdimsdale
robdimsdale force-pushed the online-buildpack-oss-stack-only branch from 07ba250 to 877009e Compare August 7, 2026 19:10
@davewalter
davewalter merged commit 6c4180e into cloudfoundry:develop Aug 7, 2026
3 checks passed
@robdimsdale
robdimsdale deleted the online-buildpack-oss-stack-only branch August 8, 2026 04:22
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.

2 participants