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

WIP: Fix jaas integration test #637

Closed
wants to merge 1 commit into from
Closed

Conversation

hmlanigan
Copy link
Member

Description

Update how microk8s.config is provided to the tests to allow the TestAcc_ResourceKubernetesCloud to run.

Type of change

  • Github action updated

QA steps

In the Integration-JAAS action, TestAcc_ResourceKubernetesCloud should not fail due to lack of micrko8s config.

@hmlanigan hmlanigan changed the title Fix jaas integration test WIP: Fix jaas integration test Dec 3, 2024
The jaas integration tests were missing a change for how the
microk8s.config is provided to the acceptance tests. Causing
the add k8s cloud resource test to fail.
@@ -71,9 +71,6 @@ jobs:
sudo microk8s.enable dns storage
sudo microk8s.enable dns local-storage
Copy link
Member

Choose a reason for hiding this comment

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

Let's change this to:

sudo microk8s enable hostpath-storage
sudo microk8s enable dns

if: ${{ matrix.action-operator.cloud == 'lxd' }}
# language=bash
run: |
sudo microk8s.config > /home/$USER/microk8s-config.yaml
Copy link
Member

Choose a reason for hiding this comment

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

Something wrong with StdOut forwarding here. Try:

sudo microk8s.config | tee /home/$USER/microk8s-config.yaml

that should help

@hmlanigan
Copy link
Member Author

/merge

@hmlanigan
Copy link
Member Author

this work is getting picked up in #641

@hmlanigan hmlanigan closed this Dec 13, 2024
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