-
Notifications
You must be signed in to change notification settings - Fork 494
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
Ensure we validate the model target #12888
Commits on Apr 19, 2021
-
Ensure we validate the model target
Instead of using the charm URL, which will be wrong for bases, instead use only the metadata. The metadata will always be right! So the following code changes what the purpose of this validate code, from catching a non container on a container work load. We drop the series check because we validate that check in other places.
Configuration menu - View commit details
-
Copy full SHA for fbb0e56 - Browse repository at this point
Copy the full SHA fbb0e56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4db5f5e - Browse repository at this point
Copy the full SHA 4db5f5eView commit details -
Attempt to fix some more tests
The following fixes tests where it was wrong to assume that you could craft your way through adding a charm or an application if you didn't know the series.
Configuration menu - View commit details
-
Copy full SHA for b885f3e - Browse repository at this point
Copy the full SHA b885f3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84932f9 - Browse repository at this point
Copy the full SHA 84932f9View commit details -
Prevent the leaking of internal naming
Both CAAS and IAAS should not be leaked outside of Juju, so don't do it in an error message.
Configuration menu - View commit details
-
Copy full SHA for 9891adf - Browse repository at this point
Copy the full SHA 9891adfView commit details -
Validate series/containers during deployment
The following ensures that we don't allow --series kubernetes from happening during a deployment.
Configuration menu - View commit details
-
Copy full SHA for 09b370a - Browse repository at this point
Copy the full SHA 09b370aView commit details -
Adding the correct tests for CAAS for IAAS, previously the code was written by forcing or cheaking the CAAS charm onto a IAAS model. This was wrong, badly wrong, instead we should have a test for just CAAS and IAAS. I'm deeply concerned that this happens more than it should, even the way you create a IAAS model is baked in (conn suite), but CAAS is very much an after thought and there are no symmetrical versions for CAAS.
Configuration menu - View commit details
-
Copy full SHA for c6b29a3 - Browse repository at this point
Copy the full SHA c6b29a3View commit details -
Fix more unit/integration tests
Issues where the charm was missing have been fixed.
Configuration menu - View commit details
-
Copy full SHA for baf95fd - Browse repository at this point
Copy the full SHA baf95fdView commit details -
Fixing state migration import tests
We ALWAYS require series for kubernetes in the metadata, so ensure the tests handle that.
Configuration menu - View commit details
-
Copy full SHA for b9e3bf2 - Browse repository at this point
Copy the full SHA b9e3bf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 319d100 - Browse repository at this point
Copy the full SHA 319d100View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16a006d - Browse repository at this point
Copy the full SHA 16a006dView commit details