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

meta data name support #235

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

meta data name support #235

wants to merge 1 commit into from

Conversation

shivakunv
Copy link

No description provided.

@shivakunv shivakunv force-pushed the ci-dynamicname branch 8 times, most recently from c4e124c to 3d43889 Compare December 13, 2024 06:11
.github/dependabot.yml Outdated Show resolved Hide resolved
.github/dependabot.yml Outdated Show resolved Hide resolved
.github/workflows/e2e.yml Outdated Show resolved Hide resolved
.github/workflows/go.yml Outdated Show resolved Hide resolved
.github/workflows/go.yml Outdated Show resolved Hide resolved
@shivakunv shivakunv force-pushed the ci-dynamicname branch 2 times, most recently from 7a83c02 to 974bb03 Compare December 15, 2024 12:02
# Calico CRDs created. Now we sleep for 10s to ensure they are fully registered in the K8s etcd
sleep 10s
with_retry 3 10s kubectl --kubeconfig $KUBECONFIG apply -f https://raw.githubusercontent.com/projectcalico/calico/${CALICO_VERSION}/manifests/custom-resources.yaml
with_retry 3 10s kubectl --kubeconfig $KUBECONFIG create -f https://raw.githubusercontent.com/projectcalico/calico/${CALICO_VERSION}/manifests/custom-resources.yaml
Copy link
Author

@shivakunv shivakunv Dec 15, 2024

Choose a reason for hiding this comment

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

with new calico version apply gives error
The CustomResourceDefinition "installations.operator.tigera.io" is invalid: metadata.annotations: Too long: must have at most 262144 bytes

@shivakunv shivakunv marked this pull request as ready for review December 15, 2024 12:38
@shivakunv shivakunv self-assigned this Dec 15, 2024
parts := strings.Split(repo_name, "/")
repoName := parts[len(parts)-1]

cfg.Name = fmt.Sprintf("ci%s-%s-%s-%s-%s-%s", attempt, actor, branchName, repoName, sha, uid)
Copy link
Author

Choose a reason for hiding this comment

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

resultant gpu-driver-container e2e instance name with this change :

Actor: shivakunv
gpu-driver-container Branch Name: holodeckname
repo: gpu-driver-container

ci5-shivakunv-holodeckname-gpu-driver-container-a0917fc6-fqpz5zu8

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.

1 participant