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

jobs/build: add support for stream level skip_kola_tags knob #1008

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

marmijo
Copy link
Contributor

@marmijo marmijo commented Jun 21, 2024

Kola can now support skipping kola tags per stream [1]. Add support for that here by modifying each Jenkins job to pass the list of kola tags to skip to the kola function.

[1]: coreos/coreos-ci-lib#159

See: #1002

marmijo added a commit to marmijo/coreos-ci-lib that referenced this pull request Jun 21, 2024
Introduce a kola parameter to allow skipping a list of kola tags.
This is particularly useful when adding new streams to the pipeline.

xref: coreos/fedora-coreos-pipeline#1008

Reference: coreos/fedora-coreos-pipeline#1002
Copy link
Member

@jlebon jlebon left a comment

Choose a reason for hiding this comment

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

Small nit, but LGTM overall!

One thing I'll mention is that another way we could have done this is to extend test metadata to specify the variants against which it can run (similarly to what we have today for distros, or maybe even as an extension to that, e.g. distros: [fcos, rhcos:my-variant]).

OTOH, this is straightforward and it's not clear whether we'll need this functionality again once we've fully moved over to the new variants. At which point, we could also revert this PR and the one in coreos-ci-lib.

@@ -138,7 +138,8 @@ cosaPod(memory: "${cosa_memory_request_mb}Mi", kvm: false,
platformArgs: """-p=azure \
--azure-credentials \${AZURE_KOLA_TESTS_CONFIG} \
--azure-location $region \
--azure-disk-uri /subscriptions/${azure_subscription}/resourceGroups/${azure_testing_resource_group}/providers/Microsoft.Compute/images/${azure_image_name}""")
--azure-disk-uri /subscriptions/${azure_subscription}/resourceGroups/${azure_testing_resource_group}/providers/Microsoft.Compute/images/${azure_image_name}""",
skipKolaTags: stream_info.skip_kola_tags)
Copy link
Member

Choose a reason for hiding this comment

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

Indentation here is off.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed!

marmijo added a commit to marmijo/coreos-ci-lib that referenced this pull request Jun 21, 2024
Introduce a kola parameter to allow skipping a list of kola tags.
This is particularly useful when adding new streams to the pipeline.

xref: coreos/fedora-coreos-pipeline#1008

Reference: coreos/fedora-coreos-pipeline#1002
Kola can now support skipping kola tags per stream[1]. Add support
for that here by modifying each Jenkins job to pass the list of
kola tags to skip to the kola function.

[1]: coreos/coreos-ci-lib#159

See: coreos#1002
marmijo added a commit to marmijo/coreos-ci-lib that referenced this pull request Jun 21, 2024
Introduce a kola parameter to allow skipping a list of kola tags.
This is particularly useful when adding new streams to the pipeline.

xref: coreos/fedora-coreos-pipeline#1008

Reference: coreos/fedora-coreos-pipeline#1002
jlebon pushed a commit to coreos/coreos-ci-lib that referenced this pull request Jun 21, 2024
Introduce a kola parameter to allow skipping a list of kola tags.
This is particularly useful when adding new streams to the pipeline.

xref: coreos/fedora-coreos-pipeline#1008

Reference: coreos/fedora-coreos-pipeline#1002
@jlebon jlebon merged commit dc58259 into coreos:main Jun 21, 2024
2 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.

None yet

2 participants