GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix: write `func.yaml` before remote deploy upload by creydr · Pull Request #3663 · knative/func Conversation
Member
Previously, Write Changes
/kind bug
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsPreviously, func.yaml was only written to disk after deployment completed. For remote deploys, the pipeline uploads sources from disk to a PVC before the on-cluster deploy step runs. This meant CLI flags like --image-pull-secret, --service-account, or --deployer were not reflected in the uploaded func.yaml. Write func.yaml before the pipeline starts so the on-cluster deploy step sees the latest configuration.
|
There was an error while loading. Please reload this page.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## main #3663 +/- ## ========================================== + Coverage 53.49% 56.70% +3.20% ========================================== Files 181 181 Lines 20732 20738 +6 ========================================== + Hits 11091 11759 +668 + Misses 8567 7769 -798 - Partials 1074 1210 +136
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:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/cc @gauron99 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/hold |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| // Write func.yaml before the pipeline uploads sources to the PVC, | ||
| // so that the on-cluster deploy step sees the latest config | ||
| // (e.g. --image-pull-secret, --service-account, --deployer). |
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the explanatory comment.
Creating a follow-up for this becasue we don't write func.yaml until the end for purposes of keeping the source in a clean state, but this gets us over the current hurdle.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: creydr, lkingland 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 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Created a follow-up for this: #3679 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/unhold |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Previously, func.yaml was only written to disk after deployment completed. For remote deploys, the pipeline uploads sources from disk to a PVC before the on-cluster deploy step runs. This meant CLI flags like --service-account or --deployer were not reflected in the uploaded func.yaml, so func-util defaulted an empty deployer to knative. Write func.yaml before the pipeline starts so the on-cluster deploy step sees the latest configuration. Backport of #3663. The 1.22 CLI has no --image-pull-secret, so the unit test covers --deployer instead.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.