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

fix: jaas integration test #641

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

alesstimec
Copy link
Member

@alesstimec alesstimec commented Dec 9, 2024

Description

  • Fixes JAAS integration tests.
  • Fixes the juju_kebernetes_cloud resource when applying to JAAS (parent_cloud_name must be specified)

Type of change

  • Maintenance work (repository related, like Github actions, or revving the Go version, etc.)

@alesstimec alesstimec requested review from hmlanigan and anvial and removed request for hmlanigan December 9, 2024 16:23
Copy link

@ale8k ale8k left a comment

Choose a reason for hiding this comment

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

lgtm

.github/workflows/test_integration_jaas.yaml Outdated Show resolved Hide resolved
@alesstimec alesstimec force-pushed the jaas-integration-fix branch 23 times, most recently from 8b62656 to 00cf851 Compare December 13, 2024 10:42
Copy link
Member

@hmlanigan hmlanigan left a comment

Choose a reason for hiding this comment

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

From conversations it sounds like there is a bug somewhere, we just have to find where. We should not be skipping the test without more investigation.

Do we have a bug? Do we need to change documentation?

@hmlanigan
Copy link
Member

The plan is to update the resource documentation for use with JIMM and fix the test to run in both environments.

@alesstimec alesstimec force-pushed the jaas-integration-fix branch 9 times, most recently from e0c8cf0 to 006a578 Compare December 17, 2024 12:34
internal/provider/resource_kubernetes_cloud.go Outdated Show resolved Hide resolved
internal/provider/resource_kubernetes_cloud.go Outdated Show resolved Hide resolved
@@ -41,7 +41,7 @@ jobs:
test:
name: Integration-JAAS
needs: build
runs-on: ubuntu-latest
runs-on: [self-hosted, jammy, x64]
Copy link
Contributor

Choose a reason for hiding this comment

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

Ah I remember I investigated moving to self hosted runners and it didn't work because docker compose wasn't available. I asked about adding it to self-hosted runners and they said they'd add it to their backlog (this was ~3 months ago).
But I see you're already installing it all yourself below which works too.

@alesstimec alesstimec force-pushed the jaas-integration-fix branch 7 times, most recently from 8bc9cc4 to 7974ba0 Compare December 18, 2024 09:32
@hmlanigan hmlanigan self-requested a review December 18, 2024 13:34
Copy link
Member

@hmlanigan hmlanigan left a comment

Choose a reason for hiding this comment

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

Please add descriptions of what was done and why to each of the commit messages and the PR description. A lot of decisions were made in these changes, we won't remember why in January.

.github/workflows/test_integration.yml Outdated Show resolved Hide resolved
.github/workflows/test_integration.yml Outdated Show resolved Hide resolved
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.

5 participants