Skip to content

Add local resources support for oci-images#486

Merged
jujubot merged 3 commits intojuju:masterfrom
DomFleischmann:local-resources
Apr 27, 2021
Merged

Add local resources support for oci-images#486
jujubot merged 3 commits intojuju:masterfrom
DomFleischmann:local-resources

Conversation

@DomFleischmann
Copy link
Copy Markdown

@DomFleischmann DomFleischmann commented Apr 15, 2021

This commit enables support for local resources of the oci-image type for charms.

@jujubot
Copy link
Copy Markdown
Contributor

jujubot commented Apr 15, 2021

Can one of the admins verify this patch?

11 similar comments
@jujubot
Copy link
Copy Markdown
Contributor

jujubot commented Apr 15, 2021

Can one of the admins verify this patch?

@jujubot
Copy link
Copy Markdown
Contributor

jujubot commented Apr 15, 2021

Can one of the admins verify this patch?

@jujubot
Copy link
Copy Markdown
Contributor

jujubot commented Apr 15, 2021

Can one of the admins verify this patch?

@jujubot
Copy link
Copy Markdown
Contributor

jujubot commented Apr 15, 2021

Can one of the admins verify this patch?

@jujubot
Copy link
Copy Markdown
Contributor

jujubot commented Apr 15, 2021

Can one of the admins verify this patch?

@jujubot
Copy link
Copy Markdown
Contributor

jujubot commented Apr 15, 2021

Can one of the admins verify this patch?

@jujubot
Copy link
Copy Markdown
Contributor

jujubot commented Apr 15, 2021

Can one of the admins verify this patch?

@jujubot
Copy link
Copy Markdown
Contributor

jujubot commented Apr 15, 2021

Can one of the admins verify this patch?

@jujubot
Copy link
Copy Markdown
Contributor

jujubot commented Apr 15, 2021

Can one of the admins verify this patch?

@jujubot
Copy link
Copy Markdown
Contributor

jujubot commented Apr 15, 2021

Can one of the admins verify this patch?

@jujubot
Copy link
Copy Markdown
Contributor

jujubot commented Apr 15, 2021

Can one of the admins verify this patch?

@DomFleischmann DomFleischmann force-pushed the local-resources branch 2 times, most recently from 193fab3 to c34a908 Compare April 15, 2021 12:56
Copy link
Copy Markdown
Contributor

@johnsca johnsca left a comment

Choose a reason for hiding this comment

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

There are some fixes that need to be made in the test, but the code itself LGTM.

Comment thread juju/model.py
Comment thread tests/integration/oci-image-charm/dispatch Outdated
Comment thread tests/integration/test_model.py
Comment thread tests/integration/test_model.py Outdated
Comment thread tests/integration/test_model.py Outdated
Comment thread tests/integration/test_model.py Outdated
Comment thread tests/integration/oci-image-charm/metadata.yaml Outdated
This commit enables support for local resources
of the oci-image type.
@johnsca
Copy link
Copy Markdown
Contributor

johnsca commented Apr 26, 2021

!!build!!

Comment thread tests/integration/test_model.py Outdated
@johnsca
Copy link
Copy Markdown
Contributor

johnsca commented Apr 26, 2021

Integration tests are still failing due to the snapd profile issue, not relevant to this change. I confirmed locally that the added test works.

@SimonRichardson
Copy link
Copy Markdown
Member

$$merge$$

@SimonRichardson
Copy link
Copy Markdown
Member

!!build!!

1 similar comment
@SimonRichardson
Copy link
Copy Markdown
Member

!!build!!

@SimonRichardson
Copy link
Copy Markdown
Member

Just fighting with CI atm, sorry for the noise.

@SimonRichardson
Copy link
Copy Markdown
Member

!! build!!

@SimonRichardson
Copy link
Copy Markdown
Member

!!build!!

@SimonRichardson
Copy link
Copy Markdown
Member

$$merge$$

@jujubot jujubot merged commit f973a80 into juju:master Apr 27, 2021
johnsca added a commit that referenced this pull request Jun 17, 2021
For the life of me, I can't figure out how this wasn't caught by the
test added in #486.
jujubot added a commit that referenced this pull request Jun 18, 2021
…assignment

#509

For the life of me, I can't figure out how this wasn't caught by the test added in #486.
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.

4 participants