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

Upgrade to capi 1.4 #239

Merged

Conversation

shyamradhakrishnan
Copy link
Member

What this PR does / why we need it:

Upgrade to capi 1.4

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #177

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 6, 2023
@shyamradhakrishnan
Copy link
Member Author

e2e test

------------------------------

Ran 6 of 25 Specs in 2604.453 seconds
SUCCESS! -- 6 Passed | 0 Failed | 0 Pending | 19 Skipped

@shyamradhakrishnan
Copy link
Member Author

unit test

?   	github.com/oracle/cluster-api-provider-oci	[no test files]
ok  	github.com/oracle/cluster-api-provider-oci/api/v1beta1	41.093s	coverage: 23.8% of statements
ok  	github.com/oracle/cluster-api-provider-oci/api/v1beta2	0.043s	coverage: 16.3% of statements
?   	github.com/oracle/cluster-api-provider-oci/cloud/config	[no test files]
ok  	github.com/oracle/cluster-api-provider-oci/cloud/ociutil	0.012s	coverage: 25.0% of statements
ok  	github.com/oracle/cluster-api-provider-oci/cloud/scope	165.890s	coverage: 76.6% of statements
?   	github.com/oracle/cluster-api-provider-oci/cloud/scope/mocks	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/base	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/base/mock_base	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/compute	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/compute/mock_compute	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/computemanagement	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/computemanagement/mock_computemanagement	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/containerengine	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/containerengine/mock_containerengine	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/identity	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/identity/mock_identity	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/networkloadbalancer	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/networkloadbalancer/mock_nlb	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/vcn	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/vcn/mock_vcn	[no test files]
ok  	github.com/oracle/cluster-api-provider-oci/cloud/util	0.027s	coverage: 60.0% of statements
ok  	github.com/oracle/cluster-api-provider-oci/controllers	25.855s	coverage: 67.6% of statements
ok  	github.com/oracle/cluster-api-provider-oci/exp/api/v1beta1	29.344s	coverage: 21.7% of statements
ok  	github.com/oracle/cluster-api-provider-oci/exp/api/v1beta2	0.025s	coverage: 11.0% of statements
ok  	github.com/oracle/cluster-api-provider-oci/exp/controllers	0.738s	coverage: 56.3% of statements
?   	github.com/oracle/cluster-api-provider-oci/feature	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/version	[no test files]
go tool cover -func=coverage.out -o coverage.txt
go tool cover -html=coverage.out -o coverage.html

@shyamradhakrishnan shyamradhakrishnan marked this pull request as ready for review April 6, 2023 07:02
@shyamradhakrishnan
Copy link
Member Author

capi tests

• [745.835 seconds]
Running the CAPI E2E tests Running the quick-start spec Should create a workload cluster
/home/ubuntu/go/pkg/mod/sigs.k8s.io/cluster-api/test@v1.4.1/e2e/quick_start.go:98
------------------------------
• [1287.637 seconds]
Running the CAPI E2E tests Should successfully remediate unhealthy machines with MachineHealthCheck Should replace unhealthy machines
/home/ubuntu/go/pkg/mod/sigs.k8s.io/cluster-api/test@v1.4.1/e2e/md_remediations.go:76

------------------------------
• [1578.092 seconds]
Running the CAPI E2E tests Should successfully set and use node drain timeout A node should be forcefully removed if it cannot be drained in time

------------------------------
• [913.573 seconds]
Running the CAPI E2E tests Should successfully scale out and scale in a MachineDeployment Should successfully scale a MachineDeployment up and down upon changes to the MachineDeployment replica count

Ran 4 of 25 Specs in 1757.719 seconds
SUCCESS! -- 4 Passed | 0 Failed | 0 Pending | 21 Skipped

@shyamradhakrishnan shyamradhakrishnan merged commit 7cb4637 into oracle:main Apr 6, 2023
@shyamradhakrishnan shyamradhakrishnan deleted the updgrade_to_capi_1.4 branch April 6, 2023 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CAPI 1.4 support
2 participants