Cluster-api-provider-azure: v1alpha2 E2E tests

Created on 27 Sep 2019  路  13Comments  路  Source: kubernetes-sigs/cluster-api-provider-azure

To get started, look at https://github.com/kubernetes-sigs/cluster-api-provider-aws/pull/1122

Also talk to @vincepri about participating in v1alpha3 testing framework proposal.

help wanted prioritimportant-soon

All 13 comments

/help
/priority important-soon

@CecileRobertMichon:
This request has been marked as needing help from a contributor.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help command.

In response to this:

/help
/priority important-soon

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.

Hello, I would really like to start contributing and I believe this maybe a good area to start doing so. I have taken the step of trying to spin up a cluster following the developer docs, but they maybe out date. I also tried to followed the steps highlighted in this comment https://github.com/kubernetes-sigs/cluster-api-provider-azure/pull/275#issuecomment-536118064 but I maybe missing some dependencies for it failed. Therefore, are there any pointers on how to spin up a v1alpha2 cluster so that I could start work on automating it for testing?

Hi @miknoj! Would love to help you get started on contributing. Apologies for the lack of/outdated docs, the repo is still in the middle of the v1alpha2 refresh and docs are in progress.

I'd encourage you to join the k8s Slack cluster-api-azure channel if you're not already in it so you can chat with other contributors and ask quick questions.

In terms of spinning up a cluster, these steps from master should work:

export CLUSTER_NAME=$1
export VNET_NAME=$CLUSTER_NAME-vnet

echo "Creating cluster $CLUSTER_NAME..."
export AZURE_LOCATION=<location>
export AZURE_RESOURCE_GROUP=$CLUSTER_NAME
export AZURE_TENANT_ID=<your_tenant_id> 
export AZURE_CLIENT_ID=<your_client_id> 
export AZURE_SUBSCRIPTION_ID=<your_sub_id>
export AZURE_CLIENT_SECRET=<your_client_secret>
export REGISTRY=<your_registry_name
export MANAGER_IMAGE_TAG="dev" // you can rename this if you want

echo "================ DOCKER BUILD ==============="
make docker-build
echo "================ DOCKER PUSH ==============="
make docker-push

echo "================ MAKE CLEAN ==============="
make clean

echo "================ MAKE MANIFESTS ==============="
make generate-manifests
make generate-examples
echo "================ MAKE BINARIES ==============="
make binaries
echo "================ KIND RESET ==============="
make kind-reset

echo "================ CREATE CLUSTER ==============="
make create-cluster-management

(note that make create-cluster is broken at the moment so only make create-cluster-management will work). If that's still not working, let me know what error(s) you're running into and we can take it from there.

Hey @CecileRobertMichon I was able to successfully get a build to complete and have reviewed kubernetes-sigs/cluster-api-provider-aws#1122. I believe I'm good to go and give this a shot. I will ask questions on the slack if any.
/assign

@miknoj any progress on this?

/unassign
/assign @jadarsie

Javier is interested in helping out with this, re-assigning to him.

@CecileRobertMichon: GitHub didn't allow me to assign the following users: jadarsie.

Note that only kubernetes-sigs members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide

In response to this:

/unassign
/assign @jadarsie

Javier is interested in helping out with this, re-assigning to him.

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.

Hey @CecileRobertMichon, apologies for dropping the ball on this one. Got quite a bit busy these past few weeks. I will go ahead and unassign myself.
/unassign

No worries @miknoj! Feel free to pick up another issue whenever you have time.

@CecileRobertMichon we can probably close this issue now that there are specific issues about e2e tests, wdyt?

/close

@CecileRobertMichon: Closing this issue.

In response to this:

/close

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shysank picture shysank  路  8Comments

zawachte-msft picture zawachte-msft  路  3Comments

abhishek-jnpr picture abhishek-jnpr  路  8Comments

CecileRobertMichon picture CecileRobertMichon  路  5Comments

CecileRobertMichon picture CecileRobertMichon  路  7Comments