Skip to content

Conversation

@ondrejbudai
Copy link
Member

test/api/azure.sh: fix public IP address clean up

The P in IP should be uppercase. :/


test/api/azure.sh: delete vnets too

The comment mentioned that vnets are re-used between tests but that's
clearly not true as we use unique names for them. Let's clean them up
as well so we don't have to rely on cloud-cleaner as a fallback.


The P in IP should be uppercase. :/
@ondrejbudai ondrejbudai requested a review from a team as a code owner November 24, 2025 11:39
@ondrejbudai ondrejbudai requested review from mvo5 and supakeen and removed request for a team November 24, 2025 11:39
croissanne
croissanne previously approved these changes Nov 24, 2025
Copy link
Member

@croissanne croissanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow

supakeen
supakeen previously approved these changes Nov 24, 2025
Copy link
Member

@supakeen supakeen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aCK!

@ondrejbudai
Copy link
Member Author

ugh, I had to convince shellcheck that using sed is fine.

supakeen
supakeen previously approved these changes Nov 24, 2025
The comment mentioned that vnets are re-used between tests but that's
clearly not true as we use unique names for them. Let's clean them up
as well so we don't have to rely on cloud-cleaner as a fallback.
@ondrejbudai
Copy link
Member Author

From https://gitlab.com/redhat/services/products/image-builder/ci/osbuild-composer/-/jobs/12194791914:

Deleting /subscriptions/[MASKED]/resourceGroups/travis-ci-osbuild-composer/providers/Microsoft.Compute/virtualMachines/vm-rhel-8.10-x86_64-PR-4943-12194791914...
Deleting /subscriptions/[MASKED]/resourceGroups/travis-ci-osbuild-composer/providers/Microsoft.Compute/disks/disk-rhel-8.10-x86_64-PR-4943-12194791914...
Deleting /subscriptions/[MASKED]/resourceGroups/travis-ci-osbuild-composer/providers/Microsoft.Network/networkInterfaces/iface-rhel-8.10-x86_64-PR-4943-12194791914...
Deleting /subscriptions/[MASKED]/resourceGroups/travis-ci-osbuild-composer/providers/Microsoft.Network/networkSecurityGroups/nsg-rhel-8.10-x86_64-PR-4943-12194791914...
Deleting /subscriptions/[MASKED]/resourceGroups/travis-ci-osbuild-composer/providers/Microsoft.Network/publicIPAddresses/ip-rhel-8.10-x86_64-PR-4943-12194791914...
Deleting /subscriptions/[MASKED]/resourceGroups/travis-ci-osbuild-composer/providers/Microsoft.Network/virtualNetworks/vnet-rhel-8.10-x86_64-PR-4943-12194791914...

🎉

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.

4 participants