[release-1.20] Remember --registry-insecure setting on recurring runs + backport fixes#3588
Conversation
…ns (knative#3574) * Pass --registry-insecure flag to Tekton pipeline tlsVerify parameter (knative#3484) When --registry-insecure is used, set tlsVerify=false in the Tekton pipeline to allow buildah to push to registries with self-signed certs. * Remember `--registry-insecure` setting on recurring runs (knative#3490) * Revert "Pass --registry-insecure flag to Tekton pipeline tlsVerify parameter (knative#3484)" This reverts commit da21fa2. * Remember `--registry-insecure` setting on recurring runs * Run `make schema-generate` * Simplify parsing * Extend description of flag, that values are persited * Add warning, when registry changed but insecure-registry is still set to true * Fix typo * Rerun update-codegen * Cleanup test names * Add unit test for WarnRegistryInsecureChange * Run schema-generate * Update pkg/functions/client.go Co-authored-by: David Fridrich <49119790+gauron99@users.noreply.github.com> * Update pkg/functions/client.go Co-authored-by: David Fridrich <49119790+gauron99@users.noreply.github.com> * Update pkg/config/config.go Co-authored-by: David Fridrich <49119790+gauron99@users.noreply.github.com> * Update pkg/config/config.go Co-authored-by: David Fridrich <49119790+gauron99@users.noreply.github.com> * Fix format issues (goimport and gofmt) * Refactor registry-insecure unit test to make it available for the Deploy tests too * Refactor GlobalConfig.WarnRegistryInsecureChange() method to function in cmd package --------- Co-authored-by: David Fridrich <49119790+gauron99@users.noreply.github.com> * Ran `./hack/update-codegen.sh` --------- Co-authored-by: David Fridrich <49119790+gauron99@users.noreply.github.com>
|
Sorry, this is missing (most likely) a cloudevents python lib issue. There was a new cloudevents version release which has some breaking changes. You need to go into the python cloudevents template and pin the version to |
|
for reference #3524 |
Ah ok. Thanks for the hint. Updated it 🤞 |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release-1.20 #3588 +/- ##
===============================================
Coverage ? 60.20%
===============================================
Files ? 134
Lines ? 13533
Branches ? 0
===============================================
Hits ? 8147
Misses ? 4415
Partials ? 971
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
This is because Knative components were updated by update-codegen.sh to 1.22 in aaad012 |
--registry-insecure setting on recurring runs--registry-insecure setting on recurring runs + backport fixes
|
Closing as discussed |
38b2dee to
b610705
Compare
b610705 to
5feb609
Compare
5feb609 to
56d9970
Compare
56d9970 to
e625281
Compare
e625281 to
426dd5d
Compare
The test was creating a broken Procfile instead of a working main.go, causing the pipeline build to fail and the test to timeout.
This reverts commit 3f39a10.
|
/cc @matejvasek @gauron99 |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: creydr, matejvasek The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
d4f2a40
into
knative:release-1.20
Manual backport of #3574
also adding
cloudeventspackage pin to <2 (introduces breaking changes)