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

KUBE-440: add e2e test for cluster-controller upgrade #152

Merged
merged 28 commits into from
Oct 29, 2024

Conversation

Trojan295
Copy link
Contributor

@Trojan295 Trojan295 commented Oct 24, 2024

@Trojan295 Trojan295 changed the title add trigger jobs trigger e2e tests on master Oct 24, 2024
@Trojan295 Trojan295 changed the title trigger e2e tests on master KUBE-440: add e2e test for cluster-controller upgrade Oct 28, 2024
@Trojan295 Trojan295 marked this pull request as ready for review October 28, 2024 08:46
@Trojan295 Trojan295 requested a review from a team as a code owner October 28, 2024 08:46
e2e/suites/gke.go Outdated Show resolved Hide resolved
- name: Build Go binary amd64
run: go build -ldflags "-s -w -X main.GitCommit=$GITHUB_SHA -X main.GitRef=$GITHUB_REF -X main.Version=${RELEASE_TAG:-commit-$GITHUB_SHA}" -o bin/castai-cluster-controller-amd64 .
run: go build -ldflags "-s -w -X main.GitCommit=$GITHUB_SHA -X main.GitRef=$GITHUB_REF -X main.Version=${RELEASE_TAG:-$VERSION_TAG}" -o bin/castai-cluster-controller-amd64 .
Copy link
Member

Choose a reason for hiding this comment

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

Why are you using tag instead of sha? Commit SHA allows to build the image for PR

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's output from git describe --tags.

When I used the image with commit sha, then it was not possible schedule actions, because the cluster-controller was marked as outdated.

@Trojan295 Trojan295 merged commit 16608dd into main Oct 29, 2024
3 checks passed
@Trojan295 Trojan295 deleted the KUBE-632/trigger-e2e-tests branch October 29, 2024 13:20
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.

2 participants