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

Fix bash condition in endtoend script - #44

Merged
EngHabu merged 2 commits into
masterfrom
fix-endtoend
Nov 12, 2021
Merged

Fix bash condition in endtoend script#44
EngHabu merged 2 commits into
masterfrom
fix-endtoend

Conversation

@EngHabu

@EngHabu EngHabu commented Nov 12, 2021

Copy link
Copy Markdown
Contributor

Signed-off-by: Haytham Abuelfutuh haytham@afutuh.com

fixes: flyteorg/flyte#1825

tested here: flyteorg/flytepropeller#363

Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
if [ "${IMAGE_NAME}" == "flytepropeller" ]
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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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

Comment thread boilerplate/flyte/end2end/end2end.sh Outdated
fi

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

Copy link
Copy Markdown

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 <haytham@afutuh.com>
@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