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

Add initial support to produce images in ConfigMap as release artifact #45

Merged

Conversation

dsimansk
Copy link
Contributor

Changes

  • Add initial support to produce images in ConfigMap as release artifact

/cc @matzew

@dsimansk dsimansk force-pushed the pr/images-in-confgimap branch from 89e5d63 to 21c7d26 Compare December 10, 2024 20:11

ARTIFACTS_TO_PUBLISH="${CONFIMAP_YAML} ${IMAGES_TXT}"
sha256sum ${ARTIFACTS_TO_PUBLISH} >checksums.txt
ARTIFACTS_TO_PUBLISH="${ARTIFACTS_TO_PUBLISH} checksums.txt"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

checksum.txt is required by release script itself to complete successfully.

echo "Collect image shas into ConfigMap"
generate_configMap

ARTIFACTS_TO_PUBLISH="${CONFIMAP_YAML} ${IMAGES_TXT}"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Both files should be added store within the same location as yaml of other components are.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

https://storage.googleapis.com/knative-nightly/eventing-integrations/latest/eventing-integrations-images.yaml

Hopefully, but we need to test it in production. :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Perhaps, dropping eventing-integrations from the filename to get rid off duplicated name. WDYT?

Copy link
Contributor

Choose a reason for hiding this comment

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

I like eventing-integrations-images.yam

I think that makes sense, when we require it to end up in https://github.com/knative/eventing/tree/main/config/core/configmaps

Or perhaps just integration-images?

Copy link
Contributor

@matzew matzew left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

/hold
In case we wanna do something on the filename

Copy link

knative-prow bot commented Dec 11, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dsimansk, matzew

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@matzew
Copy link
Contributor

matzew commented Dec 11, 2024

/unhold

we can always adjust

@knative-prow knative-prow bot merged commit 6b79937 into knative-extensions:main Dec 11, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants