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

CSS-4744 - Merge main forward into feature-rebac #984

Merged
merged 51 commits into from
Jul 12, 2023

Conversation

kian99
Copy link
Contributor

@kian99 kian99 commented Jul 3, 2023

Description

Merging main into feature-rebac brings with it any fixes to main that are also appropriate to feature-rebac. Note that most code changes have been discarded, e.g. there were some improvements made to "cross model queries" while backporting, those improvements should be made separately into feature-rebac.

Going forward we can do any common work in main and regularly merge main into feature-rebac.

Engineering checklist

Check only items that apply

  • Documentation updated
  • Covered by unit tests
  • Covered by integration tests

alesstimec and others added 30 commits November 11, 2022 15:22
Minor fix for the jimmctl model-status command.
Upgrades throw a CalledProcessError because `snap install`
returns an error when the snap is already installed.

Fix is to check whether jimm snap is installed and if so, remove it.
check and remove jimm snap during upgrades
Update to Juju 2.9.42 and some compatibility changes.
CSS-2522 Adds Sphinx documentation according to the Diataxis framework.
- also adds an explanation section on jaas tags
CSS-2435 Tutorial on group and access management.
…ibs-postgres

Switches machine charm to data platform libs.
* Added documentation and setup files

* Improve docker compose

* Merged backport ci/cd

* Fix compose for two exposed services

* Added improved setup instructions

* Further improvements

* Eliminated unnecessary sections
* Model status parser

* Bring in API definition

* Bring in storage facade calls

* Update jimmtest api

* Add api call

* Add API params

* Facade call

* Initial backport of parser

* Fix relation test

* PR comments

* Refactor according to PR comments

* pr comments
* Backport working workflows from feature-rebac

* Only only v1 tags on main to trigger release
@kian99 kian99 force-pushed the merge-main-forward branch 2 times, most recently from 7723598 to d92fec7 Compare July 3, 2023 15:44
kian99 and others added 5 commits July 4, 2023 09:44
@@ -191,7 +191,7 @@ class _MetricsEndpointDict(TypedDict):
LIBAPI = 0
LIBPATCH = 3

PYDEPS = ["cosl", "pydantic"]
PYDEPS = ["cosl", "pydantic == 1.10.*"]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure I should be editing this file manually? But we're waiting on this PR to fix it canonical/grafana-agent-k8s-operator#215

Copy link
Contributor

Choose a reason for hiding this comment

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

I think manual is fine for now, I suspect if you fetch lib again it'll overwrite it

@@ -63,6 +63,7 @@ func init() {
r.AddMethod("JIMM", 3, "UpdateMigratedModel", updateMigratedModelMethod)
r.AddMethod("JIMM", 3, "AddCloudToController", addCloudToControllerMethod)
r.AddMethod("JIMM", 3, "RemoveCloudFromController", removeCloudFromControllerMethod)
r.AddMethod("JIMM", 3, "CrossModelQuery", crossModelQueryMethod)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We added this facade version in main but it wasn't present in feature-rebac thoughts?

Copy link
Contributor

Choose a reason for hiding this comment

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

It should have been??

@@ -60,7 +60,7 @@ func init() {
r.AddMethod("ApplicationOffers", 4, "FindApplicationOffers", findOffersMethod)
r.AddMethod("ApplicationOffers", 4, "ApplicationOffers", applicationOffersMethod)

return []int{1, 2, 3}
return []int{1, 2, 3, 4}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also curious why this was only in main

@kian99 kian99 changed the title Merge main forward into feature-rebac CSS-4744 - Merge main forward into feature-rebac Jul 11, 2023
Copy link
Contributor

@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

Unsure why facade wasn't registered though...

@kian99 kian99 merged commit 3bcd18c into canonical:feature-rebac Jul 12, 2023
7 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.

3 participants