From 0f4e71f08c114e8bec70affb4360028a1ff1447f Mon Sep 17 00:00:00 2001 From: Kevin Su Date: Tue, 26 Sep 2023 16:55:07 -0700 Subject: [PATCH 1/6] Update release script Signed-off-by: Kevin Su --- charts/flyteagent/values.yaml | 2 +- script/release.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/flyteagent/values.yaml b/charts/flyteagent/values.yaml index c0da011a11..01264b202e 100755 --- a/charts/flyteagent/values.yaml +++ b/charts/flyteagent/values.yaml @@ -23,7 +23,7 @@ image: # -- Docker image for flyteagent deployment repository: ghcr.io/flyteorg/flyteagent # -- Docker image tag - tag: 1.8.3 + tag: 1.8.3 # FLYTEAGENT_TAG # -- Docker image pull policy pullPolicy: IfNotPresent ports: diff --git a/script/release.sh b/script/release.sh index 1c903c5bbb..8f08eeb281 100755 --- a/script/release.sh +++ b/script/release.sh @@ -7,7 +7,7 @@ set -ex # In other words, if we have two consecutive releases the latest tag in the second release is going to point to an invalid # tag (because there will not be images tagged with the previous release tag). LATEST_TAG=$(git tag | sed 's#[^/]*/##' | sort | tail -n 1) - +FLYTEKIT_TAG=$(curl --silent "https://api.github.com/repos/flyteorg/flytekit/releases/latest" | jq -r .tag_name) FLYTECONSOLE_TAG=$(curl --silent "https://api.github.com/repos/flyteorg/flyteconsole/releases/latest" | jq -r .tag_name) # bump latest release of flyte component in kustomize @@ -36,6 +36,8 @@ sed -i "s,image:[^P]*# FLYTECOPILOT_IMAGE,image: cr.flyte.org/flyteorg/flytecopi sed -i "s,image:[^P]*# FLYTECOPILOT_IMAGE,image: cr.flyte.org/flyteorg/flytecopilot:${LATEST_TAG} # FLYTECOPILOT_IMAGE," ./charts/flyte-core/values.yaml sed -i "s,tag:[^P]*# FLYTECOPILOT_TAG,tag: ${LATEST_TAG} # FLYTECOPILOT_TAG," ./charts/flyte-binary/values.yaml +sed -i "s,tag:[^P]*# FLYTEAGENT_TAG,tag: ${FLYTEKIT_TAG} # FLYTEAGENT_TAG," ./charts/flyteagent/values.yaml + go get github.com/flyteorg/flyte/flyteadmin@${LATEST_TAG} go get github.com/flyteorg/flyte/flytepropeller@${LATEST_TAG} go get github.com/flyteorg/flyte/datacatalog@${LATEST_TAG} From c8f74f38f75624fed272e2543058c2d426035cf8 Mon Sep 17 00:00:00 2001 From: Kevin Su Date: Tue, 26 Sep 2023 17:13:26 -0700 Subject: [PATCH 2/6] Update tag Signed-off-by: Kevin Su --- script/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/release.sh b/script/release.sh index 8f08eeb281..14bec2a54f 100755 --- a/script/release.sh +++ b/script/release.sh @@ -7,7 +7,7 @@ set -ex # In other words, if we have two consecutive releases the latest tag in the second release is going to point to an invalid # tag (because there will not be images tagged with the previous release tag). LATEST_TAG=$(git tag | sed 's#[^/]*/##' | sort | tail -n 1) -FLYTEKIT_TAG=$(curl --silent "https://api.github.com/repos/flyteorg/flytekit/releases/latest" | jq -r .tag_name) +FLYTEKIT_TAG=$(curl --silent "https://api.github.com/repos/flyteorg/flytekit/releases/latest" | jq -r .tag_name | sed 's/^v//') FLYTECONSOLE_TAG=$(curl --silent "https://api.github.com/repos/flyteorg/flyteconsole/releases/latest" | jq -r .tag_name) # bump latest release of flyte component in kustomize From 12dcba398a42d86d370df549b6623075cfd086e0 Mon Sep 17 00:00:00 2001 From: Kevin Su Date: Tue, 26 Sep 2023 17:23:13 -0700 Subject: [PATCH 3/6] nit Signed-off-by: Kevin Su --- charts/flyteagent/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/flyteagent/values.yaml b/charts/flyteagent/values.yaml index 01264b202e..0578262c7c 100755 --- a/charts/flyteagent/values.yaml +++ b/charts/flyteagent/values.yaml @@ -23,7 +23,7 @@ image: # -- Docker image for flyteagent deployment repository: ghcr.io/flyteorg/flyteagent # -- Docker image tag - tag: 1.8.3 # FLYTEAGENT_TAG + tag: 1.9.1 # FLYTEAGENT_TAG # -- Docker image pull policy pullPolicy: IfNotPresent ports: From e64cf7d9ee34ab922b8f444b27258e91948b99b6 Mon Sep 17 00:00:00 2001 From: Kevin Su Date: Tue, 26 Sep 2023 17:24:14 -0700 Subject: [PATCH 4/6] nit Signed-off-by: Kevin Su --- charts/flyteagent/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/flyteagent/values.yaml b/charts/flyteagent/values.yaml index 0578262c7c..80abdd71dd 100755 --- a/charts/flyteagent/values.yaml +++ b/charts/flyteagent/values.yaml @@ -23,7 +23,7 @@ image: # -- Docker image for flyteagent deployment repository: ghcr.io/flyteorg/flyteagent # -- Docker image tag - tag: 1.9.1 # FLYTEAGENT_TAG + tag: 1.9.5555555555555 # FLYTEAGENT_TAG # -- Docker image pull policy pullPolicy: IfNotPresent ports: From 844510b7bb11e8aadbf119454077733c6b68067d Mon Sep 17 00:00:00 2001 From: Kevin Su Date: Tue, 26 Sep 2023 17:26:51 -0700 Subject: [PATCH 5/6] nit Signed-off-by: Kevin Su --- charts/flyteagent/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/flyteagent/values.yaml b/charts/flyteagent/values.yaml index 80abdd71dd..0578262c7c 100755 --- a/charts/flyteagent/values.yaml +++ b/charts/flyteagent/values.yaml @@ -23,7 +23,7 @@ image: # -- Docker image for flyteagent deployment repository: ghcr.io/flyteorg/flyteagent # -- Docker image tag - tag: 1.9.5555555555555 # FLYTEAGENT_TAG + tag: 1.9.1 # FLYTEAGENT_TAG # -- Docker image pull policy pullPolicy: IfNotPresent ports: From 705b7f51ac3899afa922c62a8f632c8cae16ce6a Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario Date: Tue, 26 Sep 2023 18:31:22 -0700 Subject: [PATCH 6/6] make helm Signed-off-by: Eduardo Apolinario --- charts/flyteagent/README.md | 2 +- deployment/agent/flyte_agent_helm_generated.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/flyteagent/README.md b/charts/flyteagent/README.md index 523312ac17..c45f994816 100644 --- a/charts/flyteagent/README.md +++ b/charts/flyteagent/README.md @@ -20,7 +20,7 @@ A Helm chart for Flyte agent | fullnameOverride | string | `""` | | | image.pullPolicy | string | `"IfNotPresent"` | Docker image pull policy | | image.repository | string | `"ghcr.io/flyteorg/flyteagent"` | Docker image for flyteagent deployment | -| image.tag | string | `"1.8.3"` | Docker image tag | +| image.tag | string | `"1.9.1"` | Docker image tag | | nameOverride | string | `""` | | | nodeSelector | object | `{}` | nodeSelector for flyteagent deployment | | podAnnotations | object | `{}` | Annotations for flyteagent pods | diff --git a/deployment/agent/flyte_agent_helm_generated.yaml b/deployment/agent/flyte_agent_helm_generated.yaml index 8ea6ede511..89f3835892 100644 --- a/deployment/agent/flyte_agent_helm_generated.yaml +++ b/deployment/agent/flyte_agent_helm_generated.yaml @@ -75,7 +75,7 @@ spec: - command: - pyflyte - serve - image: "ghcr.io/flyteorg/flyteagent:1.8.3" + image: "ghcr.io/flyteorg/flyteagent:1.9.1" imagePullPolicy: "IfNotPresent" name: flyteagent volumeMounts: