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

Downstream patches for 1.1.0-1 release branch #8

Merged
merged 13 commits into from
Sep 22, 2023

Conversation

dlipovetsky
Copy link
Collaborator

We previously merged these patches into https://github.com/mesosphere/cluster-api-provider-cloud-director/tree/d2iq/release-1.1.0-0.

We have now rebased our fork, specifically https://github.com/mesosphere/cluster-api-provider-cloud-director/tree/d2iq/release-1.1.0-1, onto the upstream 1.1.0 tag, and need to merge these patches into the branch.

A recent PR[1] updated the godoc comment that describes the
VCDMachineSpec MachineAddress field, but the change was not reflected in
the v1beta1 CRD.

This updates the comment in the CRD base, as well as
infrastructure-components.yaml

[1]: vmware#445
make runs each line in a separate shell. In a recent commit[1], commands
on one line were split to multiple lines. When `go test` ran, it did not
have the environment variable required by envtest, and failed.

[1]: https://github.com/vmware/cluster-api-provider-cloud-director/pull/466/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R129-R134
A recent PR[1] introduced the use of a relative path for envtest assets.
The path is relative to the repository root, and this means Go tests,
which run relative to their package path, cannot find the envtest
assets, and fail.

[1]: https://github.com/vmware/cluster-api-provider-cloud-director/pull/466/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R129-R134
It is sometimes necessary to skip some tests. For example, to skip the
e2e tests, run:

```shell
make test TEST_PACKAGES='$(shell go list ./... | grep -v 'tests/e2e')'
```
Copy link
Collaborator

@supershal supershal left a comment

Choose a reason for hiding this comment

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

Thank you creating CI and convenient Makefile targets.

@dlipovetsky dlipovetsky merged commit 3b83ed5 into d2iq/release-1.1.0-1 Sep 22, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants