-
Notifications
You must be signed in to change notification settings - Fork 72
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
fix: Remove and relocate files #1246
fix: Remove and relocate files #1246
Conversation
Skipping CI for Draft Pull Request. |
.github/workflows/docs-actions.yml
Outdated
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.
Unfortunately we do not have GitHub actions in this repo, so these files are not used
Except from the link checker job, I think the rest is already done by PROW
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.
Isn't that still relevant for people (like doc's team) which would want to setup such workflows on the forked repos? openshift org doesn't allow GitHub Actions, however on a forked oadp-operator we can have them.
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.
I have in the past setup codecov workflows to run in forks. Have thrown ideas in the ring for having GHActions do code formatting in forks which would indirectly update PRs.. but people didn't like the idea of having code updated without their knowledge.
Not just docs.
Makefile
Outdated
@@ -318,9 +318,6 @@ bundle: manifests kustomize operator-sdk ## Generate bundle manifests and metada | |||
cd config/manager && GOFLAGS="-mod=mod" $(KUSTOMIZE) edit set image controller=$(IMG) | |||
GOFLAGS="-mod=mod" $(KUSTOMIZE) build config/manifests | GOFLAGS="-mod=mod" $(OPERATOR_SDK) generate bundle -q --extra-service-accounts "velero" --overwrite --version $(VERSION) $(BUNDLE_METADATA_OPTS) | |||
@make nullables | |||
# Copy updated bundle.Dockerfile to CI's Dockerfile.bundle | |||
# TODO: update CI to use generated one | |||
cp bundle.Dockerfile build/Dockerfile.bundle |
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.
@shubham-pampattiwar Can you confirm this is not needed? (we could also remove the doc file I modified)
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.
Usually most of that Makefile is generated by operator-sdk, did you experiment with creating new one or upgrading to the newer version of operator-sdk and re-generating Makefile?
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.
OWNERS_ALIASES
Outdated
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.
To use this, we would need to cite the team name in OWNERS
Reference https://github.com/kubernetes/community/blob/master/contributors/guide/owners.md
docs/design/upstream-datamover.md
Outdated
@@ -66,7 +66,7 @@ The new velero `DataUpload` and `DataDownload` will be added. | |||
|
|||
#### OADP container images | |||
|
|||
References to `velero-plugin-for-vsm` and `volume-snapshot-mover` images need to be removed from `config/manager/manager.yaml`, golang code, and `deploy/disconnected-prep.sh`. | |||
References to `velero-plugin-for-vsm` and `volume-snapshot-mover` images need to be removed from `config/manager/manager.yaml`, golang code, and `scripts/disconnected-prep.sh`. |
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.
Maybe would also need changes in prod docs
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.
maybe not? https://github.com/search?q=repo%3Aopenshift%2Fopenshift-docs+disconnected-prep&type=code Is there other places our docs live?
scripts/ci.Dockerfile
Outdated
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.
This would also need PROW changes
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.
gave up in the idea on this PR, for simplicity, but could be a valid change in the future
scripts/disconnected-prep.sh
Outdated
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.
would also want to move docs/examples/datamover_resources.sh
, docs/scripts/dc-post-restore.sh
files and blogs/tekton-oadp-nonadmin/
, must-gather/
folders inside this new folder
and move blogs/
folder inside docs/
folder
build/Dockerfile.bundle
Outdated
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.
Isn't this file generated by operator-sdk operator-sdk generate bundle
?
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.
no, operator-sdk
generates bundle.Dockerfile
in the project root. This one is copy of it
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.
Maybe downstream build requires that? Please double check with release engineering. And if needed maybe a symlink instead of raw copy?
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.
No the build/....Dockerfiles were mostly for CI/prow related mods to run e2e/unit tests.
926e270
to
6ce23e0
Compare
/retest |
f8691c8
to
0aa055c
Compare
build/Dockerfile.bundle
Outdated
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.
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.
lets revert this change if CI uses this file
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.
reverted. The details are in the issue, so it can be done later in another PR
/hold Discuss change in CI files (that would also need changes in all tested branches) |
/unhold |
Signed-off-by: Mateus Oliveira <[email protected]>
Signed-off-by: Mateus Oliveira <[email protected]>
1441531
to
827d576
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mateusoliveira43, weshayutin 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 |
/override ci/prow/4.13-e2e-test-aws |
@mateusoliveira43: Overrode contexts on behalf of mateusoliveira43: ci/prow/4.13-e2e-test-aws, ci/prow/4.14-e2e-test-azure In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@mateusoliveira43: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Remove unused files and relocate files that were alone in folders.