Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Fix bash condition in endtoend script #44

Merged
merged 2 commits into from
Nov 12, 2021
Merged

Fix bash condition in endtoend script #44

merged 2 commits into from
Nov 12, 2021

Conversation

EngHabu
Copy link
Contributor

@EngHabu EngHabu commented Nov 12, 2021

Signed-off-by: Haytham Abuelfutuh [email protected]

fixes: flyteorg/flyte#1825

tested here: flyteorg/flytepropeller#363

Signed-off-by: Haytham Abuelfutuh <[email protected]>
then
sed -i.bak -e "s_${IMAGE_NAME}:.*_${IMAGE}_g" ${OUT}/kustomize/base/propeller/deployment.yaml
sed -i.bak -e "s_${IMAGE_NAME}:.*_${IMAGE}_g" "${OUT}"/kustomize/base/propeller/deployment.yaml
Copy link

Choose a reason for hiding this comment

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

should we continue to use kustomize?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ideally not... might as well change it now I guess...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll leave that for another PR 😬 ... I want to get this in for 18.1

fi

if [ ${IMAGE} -eq "flyteadmin" ]
if [ "${IMAGE}" == "flyteadmin" ]
Copy link

Choose a reason for hiding this comment

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

should this be IMAGE_NAME

Signed-off-by: Haytham Abuelfutuh <[email protected]>
@EngHabu EngHabu merged commit 019743a into master Nov 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] EndToEnd tests in flytepropeller PRs do not pickup latest built images
3 participants