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

ContainerSource stored version v1 and migration tool #4657

Merged
merged 1 commit into from
Jan 7, 2021

Conversation

pierDipi
Copy link
Member

Fixes #4325

Proposed Changes

  • ContainerSource stored version v1
  • Add migration tool

Release Note

Action Required: You need to run the storage migration tool after the upgrade to migrate from v1beta1 to v1 `containersources.sources.knative.dev` resources.

@knative-prow-robot knative-prow-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 15, 2020
@google-cla google-cla bot added the cla: yes Indicates the PR's author has signed the CLA. label Dec 15, 2020
@knative-prow-robot knative-prow-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. area/test-and-release Test infrastructure, tests or release labels Dec 15, 2020
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pierDipi

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

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 15, 2020
@pierDipi
Copy link
Member Author

This is based on #4655.

@codecov
Copy link

codecov bot commented Dec 15, 2020

Codecov Report

Merging #4657 (fed94ac) into master (653febd) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4657   +/-   ##
=======================================
  Coverage   81.07%   81.07%           
=======================================
  Files         291      291           
  Lines        8216     8216           
=======================================
  Hits         6661     6661           
  Misses       1154     1154           
  Partials      401      401           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 653febd...90a203b. Read the comment docs.

@pierDipi
Copy link
Member Author

Flaky #4637
/retest

@knative-prow-robot knative-prow-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 6, 2021
@knative-prow-robot knative-prow-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jan 6, 2021
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
@pierDipi
Copy link
Member Author

pierDipi commented Jan 6, 2021

/cc @lionelvillard @zhongduo

@pierDipi pierDipi changed the title [WIP] ContainerSource stored version v1 and migration tool ContainerSource stored version v1 and migration tool Jan 6, 2021
@knative-prow-robot knative-prow-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 6, 2021
@@ -38,3 +38,4 @@ spec:
image: ko://knative.dev/eventing/vendor/knative.dev/pkg/apiextensions/storageversion/cmd/migrate
args:
- "apiserversources.sources.knative.dev"
- "containersources.sources.knative.dev"
Copy link
Contributor

Choose a reason for hiding this comment

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

About your attention in the PR, with this post install job, when using the operator this version migration will work, right?

Copy link
Member

Choose a reason for hiding this comment

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

yes.

/cc @houshengbo

@lionelvillard
Copy link
Member

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 7, 2021
@eclipselu
Copy link
Contributor

/lgtm

@pierDipi
Copy link
Member Author

pierDipi commented Jan 7, 2021

EOF errors and gotestsum bug,

Error: Could not update trigger trigger-no-broker: conversion webhook for eventing.knative.dev/v1beta1, Kind=Trigger failed: Post https://eventing-webhook.knative-eventing-2xrix7ra2t.svc:443/resource-conversion?timeout=30s: EOF
test/upgrade TestEventingUpgrades/PostDowngradeTests (unknown)

/retest

@knative-prow-robot knative-prow-robot merged commit 14a9fbb into knative:master Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/test-and-release Test infrastructure, tests or release cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make v1 the storage version of ContainerSource
5 participants