-
Notifications
You must be signed in to change notification settings - Fork 139
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
Cleanup orphaned func, new image-name calculation #1962
Conversation
Skipping CI for Draft Pull Request. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1962 +/- ##
==========================================
- Coverage 64.21% 63.21% -1.01%
==========================================
Files 108 108
Lines 13918 14026 +108
==========================================
- Hits 8937 8866 -71
- Misses 4108 4282 +174
- Partials 873 878 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
b610d49
to
ac88622
Compare
ac88622
to
ef82418
Compare
770c255
to
2498046
Compare
6ef0d51
to
6328055
Compare
7f4c11f
to
83539dd
Compare
211b727
to
d91de60
Compare
9653c75
to
e003def
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great, and all the pertinent tests are passing! (a couple of timeouts notwithstanding).
I requested a couple small changes moving logic around, but generally looks GTG to me! 🥳
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
Signed-off-by: gauron99 <[email protected]>
53ce561
to
5cb7e1a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gauron99, lkingland 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 |
Changes
Whats new
--namespace
in a subsequentfunc deploy
, the "old" func deployed will be deleted after the new one is deployed successfully..Build.Image
which will serve as the new.Image
currently with few changes. -> this serves as further following the idea thatFunc.yaml
shouldnt be possibly manipulated with at all (.Build
fields shouldnt be manipulated with now same as.Deploy
)..Image
now is empty UNLESS its specified by user using--image
flag in which case it will be used in all subsequent builds because by specifying this flag user says "I know what Im doing" and no image name calculation will be performed..func/
calledbuilt-image
now serves as runtime last built image name. Once pushed this also contains a sha (This is temporary, either will be fixed in this PR or separately. -- the issue is that sha is fetched from Push action instead of Build, where it should be possible to get it)f.Namespace
describes namespace TO BE deployed in (user defined) andf.Deploy.Namespace
describes namespace Function WAS deployed in; in other words, one is the desired namespace and the other is the current status, where the Function is already deployed.additional
new error definitions
test updates and fixups to fit new structures
TODO
/kind cleanup
Fixes #1953