Conversation
bfdcd43 to
2fd7276
Compare
71ce03e to
4cf96ac
Compare
ddfec69 to
eb1df00
Compare
| - name: Enable iop | ||
| if: matrix.iop == 'enabled' | ||
| run: | | ||
| ./foremanctl deploy --add-feature iop |
There was a problem hiding this comment.
calls to foremanctl deploy are expensive (adds ca 2 minutes to the execution), so I wonder if it'd be smarter to have fewer of those "add optional feature" steps and use something like {{ matrix.iop == 'enabled' && '--add-feature iop' || '' }} inside an existing step
a200e68 to
ffcfc02
Compare
|
@evgeni For now, I want to keep the same behavior of not supporting remote database yet. Looking at Obsah, I don't think that's possible but I wanted you to check me on that. I need to forbid:
|
d5bfe6f to
1b2bf3f
Compare
That's correct, today we can only forbid "if param P has value Y you can't set params A and B at all" You could add a |
I could... just less clear then when do we do parameter validation at the CLI level and when do we do it at the checks level. |
|
Here is my attempt to implement that structure: theforeman/obsah#104 |
95c8203 to
acbe14a
Compare
pablomh
left a comment
There was a problem hiding this comment.
Builds and creates running services :)
Signed-off-by: Eric D. Helms <ericdhelms@gmail.com>
e96e49f to
c333fd0
Compare
|
I'll need theforeman/puppet-certs#505 to get in so that installer certificate testing can pass. |
85f7f48 to
2e42420
Compare
Signed-off-by: Eric D. Helms <ericdhelms@gmail.com>
Signed-off-by: Eric D. Helms <ericdhelms@gmail.com>
Signed-off-by: Eric D. Helms <ericdhelms@gmail.com>
Signed-off-by: Eric D. Helms <ericdhelms@gmail.com>
| @@ -0,0 +1,8 @@ | |||
| --- | |||
| iop_engine_container_image: "quay.io/iop/insights-engine" | |||
| iop_engine_container_tag: "foreman-3.16" | |||
There was a problem hiding this comment.
Is there any reason to split image and its tag? Doing so this split would prevent anyone using digest only? Although with a combination with a tag the digest can still be used.
There was a problem hiding this comment.
Why does it prevent using digest only?
IIRC the reasoning was to make it easier to do what we do in the vars file: https://github.com/theforeman/foremanctl/blob/master/src/vars/images.yml#L1C1-L1C21
We can set the current tag for all images without having to touch the registry information and vice versa.
There was a problem hiding this comment.
In that case feel free to keep it as is.
The digest only could look like
quay.io/iop/insights-engine@sha256:7a777a4ff121d259c9e592ce2425006631ecdaa7f3b001b184ede049b2a7a7a9
with the split and format it would end up as invalid reference format because of that colon
quay.io/iop/insights-engine:@sha256:7a777a4ff121d259c9e592ce2425006631ecdaa7f3b001b184ede049b2a7a7a9
^
There was a problem hiding this comment.
Oh I see. That's a fair call out, will you make a Github issue with that? I don't want to change the paradigm already present in the repository with this PR but I agree we should explore that.
|
|
||
|
|
||
| def pytest_runtest_setup(item): | ||
| if "iop" in item.nodeid.lower(): |
There was a problem hiding this comment.
Pytest has markers that could be utilized instead of a substring match of a test name which is rigid.
There was a problem hiding this comment.
I don't know what that means or would entail, but I'll look it up.
There was a problem hiding this comment.
tests/iop/test_kafka.py
Outdated
| assert "running" in result.stdout | ||
|
|
||
|
|
||
| def test_kafka_quadlet_file(server): |
There was a problem hiding this comment.
Why are these two tests being removed in this commit (and overall)?
There was a problem hiding this comment.
Which commit? The interface doesn't actually show me.
No description provided.