Skip to content

Commit

Permalink
chore: update client version to v0.1.113
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi committed Oct 22, 2024
1 parent 395fc6c commit 8278db0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/compatibility-e2e-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
chart-name: scheduler
- module: client
image: client
image-tag: v0.1.112
image-tag: v0.1.113
chart-name: client
- module: seed-client
image: client
image-tag: v0.1.112
image-tag: v0.1.113
chart-name: seed-client

steps:
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/v2/util/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type TaskMetadata struct {
// Check files is exist or not.
func CheckFilesExist(pods []*PodExec, taskID string) bool {
for _, pod := range pods {
contentPath := fmt.Sprintf("%s/%s", clientContentDir, taskID)
contentPath := fmt.Sprintf("%s/tasks/%s/%s", clientContentDir, taskID[:3], taskID)
if _, err := pod.Command("ls", contentPath).CombinedOutput(); err != nil {
// If the path does not exist, skip this client.
fmt.Printf("path %s does not exist: %s\n", contentPath, err.Error())
Expand All @@ -48,7 +48,7 @@ func CheckFilesExist(pods []*PodExec, taskID string) bool {
func CalculateSha256ByTaskID(pods []*PodExec, taskID string) (string, error) {
var sha256sum string
for _, pod := range pods {
contentPath := fmt.Sprintf("%s/%s", clientContentDir, taskID)
contentPath := fmt.Sprintf("%s/tasks/%s/%s", clientContentDir, taskID[:3], taskID)
if _, err := pod.Command("ls", contentPath).CombinedOutput(); err != nil {
// If the path does not exist, skip this client.
fmt.Printf("path %s does not exist: %s\n", contentPath, err.Error())
Expand Down

0 comments on commit 8278db0

Please sign in to comment.