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

Rename build.dev -> shipwright.io #609

Merged
merged 1 commit into from
Feb 26, 2021

Conversation

imjasonh
Copy link
Contributor

Changes

This renames references to the build.dev API group, replacing them with shipwright.io. This change updates code and docs, but doesn't modify anything in docs/proposals/.

This constitutes a breaking change for existing users, who will need to modify their Builds/BuildStrategies/BuildRuns to use the new API group. No other changes are expected to be needed. When upgrading, users should delete the old CRD types before installing the new ones, to avoid confusion (kubectl delete -f deploy/crds/).

Fixes #563

Submitter Checklist

  • [y] Includes tests if functionality changed/was added
  • [y] Includes docs if changes are user-facing
  • [y] Release notes block has been filled in, or marked NONE

See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.

Release Notes

BREAKING: Rename API group from build.dev to shipwright.io

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note Label for when a PR has specified a release note labels Feb 19, 2021
@zhangtbj
Copy link
Contributor

👍

A quick question, how about the previous proposal doc, like: https://github.com/shipwright-io/build/blob/master/docs/proposals/buildstrategy-steps-resources.md

Do we need to sync too or just keep the original API name?

@qu1queee qu1queee requested review from qu1queee and removed request for xiujuan95 February 22, 2021 09:49
@imjasonh
Copy link
Contributor Author

👍

A quick question, how about the previous proposal doc, like: https://github.com/shipwright-io/build/blob/master/docs/proposals/buildstrategy-steps-resources.md

Do we need to sync too or just keep the original API name?

I explicitly didn't want to update proposal docs, because I don't own them, and the historical context might be meaningful (and because, being non-user-facing docs, they're not urgently necessary to update). If you see a proposal that you think should be updated after this change please feel free.

@imjasonh imjasonh force-pushed the build-dev branch 2 times, most recently from 0ef41f1 to 4df4639 Compare February 22, 2021 19:27
@zhangtbj
Copy link
Contributor

Good day @imjasonh ,

How about this PR, or do you need any help here? :)

@imjasonh
Copy link
Contributor Author

Good day @imjasonh ,

How about this PR, or do you need any help here? :)

I believe this change works, believe it or not, but I'd love another pair of eyes on the changes to make sure I got everything.

Other than that, test flakes and (limited time to debug them) is currently blocking the merge. Any help there would be great, not just for this change, but also for #600 #607 etc

@imjasonh imjasonh changed the title WIP: Rename build.dev -> shipwright.io Rename build.dev -> shipwright.io Feb 25, 2021
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 25, 2021
@sbose78
Copy link
Member

sbose78 commented Feb 25, 2021

Changes look fine to me. I think it's fine to keep the proposal docs as is for now. From your perspective @zhangtbj @qu1queee @SaschaSchwarze0 when would you want to this change to get merged and released?

@zhangtbj
Copy link
Contributor

Cool thanks @imjasonh !

I will also take some time on these PRs. Will let you know once I have any update.

@zhangtbj
Copy link
Contributor

Hi @sbose78 ,

It also looks for me, and we will help to solve the test failure first.

For us, it is better to get merged soon, we need time to do the migration work and UX integration work, it will take some time after this PR is accepted :)

@adambkaplan
Copy link
Member

It looks like we have a real issue going on with the v1.20 test. The Conditions array seems to have duplicates:

          <[]*v1alpha1.Condition | len:6, cap:8>: [
              {
                  Type: "Succeeded",
                  Status: "False",
                  LastTransitionTime: {
                      Time: 1989-05-15T00:01:01.651387237Z,
                  },
                  Reason: "Failed",
                  Message: "ServiceAccount \"default\" not found",
              },
              {
                  Type: "Succeeded",
                  Status: "False",
                  LastTransitionTime: {
                      Time: 1989-05-15T00:01:01.651387237Z,
                  },
                  Reason: "Failed",
                  Message: "ServiceAccount \"default\" not found",
              },
              {
                  Type: "Succeeded",
                  Status: "False",
                  LastTransitionTime: {
                      Time: 1989-05-15T00:01:01.651387237Z,
                  },
                  Reason: "Failed",
                  Message: "ServiceAccount \"default\" not found",
              },
              {
                  Type: "Succeeded",
                  Status: "False",
                  LastTransitionTime: {
                      Time: 1989-05-15T00:01:01.651387237Z,
                  },
                  Reason: "Failed",
                  Message: "ServiceAccount \"default\" not found",
              },
              {
                  Type: "Succeeded",
                  Status: "False",
                  LastTransitionTime: {
                      Time: 1989-05-15T00:01:01.651387237Z,
                  },
                  Reason: "Failed",
                  Message: "ServiceAccount \"default\" not found",
              },
              {
                  Type: "Succeeded",
                  Status: "False",
                  LastTransitionTime: {
                      Time: 1989-05-15T00:01:01.651387237Z,
                  },
                  Reason: "Failed",
                  Message: "ServiceAccount \"default\" not found",
              },
          ]

@qu1queee
Copy link
Contributor

qu1queee commented Feb 25, 2021

@imjasonh pls rebase this one on top of master, it will help the tests while we removed the multiple k8s versions test.

@imjasonh
Copy link
Contributor Author

@imjasonh pls rebase this one on top of master, it will help the tests while we removed the multiple k8s versions test.

This seems to have helped! 👍

I am a bit nervous that we may have found a genuine bug with v1.20 though... 🤔

@zhangtbj
Copy link
Contributor

Hi,

Does anyone know if this PR was just ran the tests on v1.18.15?

@qu1queee
Copy link
Contributor

@zhangtbj yes, same as we have been doing before.

@sbose78 thanks for asking, I think this one would be better if it can get merged after #610 . I will spend time today reviewing these PRs.

@qu1queee qu1queee added this to the release-v0.4.0 milestone Feb 26, 2021
This renames references to the build.dev API group, replacing them with
shipwright.io. This change updates code and docs, but doesn't modify
anything in docs/proposals/.

This constitutes a breaking change for existing users, who will need to
modify their Builds/BuildStrategies/BuildRuns to use the new API group.
No other changes are expected to be needed. When upgrading, users should
delete the old CRD types before installing the new ones, to avoid
confusion (kubectl delete -f deploy/crds/).
Copy link
Contributor

@qu1queee qu1queee left a comment

Choose a reason for hiding this comment

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

thanks for this!
/lgtm
/approve

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qu1queee

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

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 26, 2021
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 26, 2021
@openshift-merge-robot openshift-merge-robot merged commit 7b054ed into shipwright-io:master Feb 26, 2021
@gabemontero gabemontero added the kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API label Mar 1, 2021
@adambkaplan adambkaplan mentioned this pull request Mar 22, 2021
4 tasks
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. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API lgtm Indicates that a PR is ready to be merged. release-note Label for when a PR has specified a release note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shipwright uses API group *.build.dev
8 participants