Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests(pro): bump pycloudlib add noble release to pro tests #5719

Merged
merged 1 commit into from
Sep 21, 2024

Conversation

blackboxsw
Copy link
Collaborator

@blackboxsw blackboxsw commented Sep 19, 2024

Proposed Commit Message

tests(pro): bump pycloudlib add noble release to pro tests

Since Noble is an LTS which supports Ubuntu Pro add integration
test coverage for that feature.

Bump pycloudlib dependency to 1!9.2 which allows cloud-init integration
tests to obtain service_account_email configuration from
the .config/pycloudlib.toml:

[gce]
credentials_path = <path>

without the need to also provide `service_account_email` in
pycloudlib.toml.

Additional Context

Fixes jenkins failures about service account https://jenkins.canonical.com/server-team/view/cloud-init/job/cloud-init-integration-focal-gce/lastSuccessfulBuild/testReport/junit/tests.integration_tests.modules.test_ubuntu_pro/TestUbuntuAdvantagePro/test_custom_services/

Test Steps

# setup .config/pycloudlib.toml with GCE credentials file
CLOUD_INIT_OS_IMAGE=noble CLOUD_INIT_PLATFORM=gce tox -e integration-tests --  tests/integration_tests/modules/test_ubuntu_pro.py::TestUbuntuAdvantagePro::test_custom_services

Merge type

  • Squash merge using "Proposed Commit Message"
  • Rebase and merge unique commits. Requires commit messages per-commit each referencing the pull request number (#<PR_NUM>)

@@ -236,7 +237,7 @@ def maybe_install_cloud_init(session_cloud: IntegrationCloud):


@pytest.mark.skipif(
not all([IS_UBUNTU, CURRENT_RELEASE in [BIONIC, FOCAL, JAMMY]]),
not all(CURRENT_RELEASE in [BIONIC, FOCAL, JAMMY, NOBLE]),
Copy link
Member

Choose a reason for hiding this comment

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

Nit: all not needed anymore.

Since Noble is an LTS which supports Ubuntu Pro add integration
test coverage for that feature.

Bump pycloudlib dependency to 1!9.2 which allows cloud-init
integration tests to obtain service_account_email configuration from
the .config/pycloudlib.toml:

[gce]
credentials_path = <path>

without the need to also provide `service_account_email` in
pycloudlib.toml.
@blackboxsw blackboxsw merged commit 067a464 into canonical:main Sep 21, 2024
21 checks 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.

2 participants