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

[OBS-270] Use Postman LCA image locations #229

Merged
merged 2 commits into from
Sep 13, 2023
Merged

[OBS-270] Use Postman LCA image locations #229

merged 2 commits into from
Sep 13, 2023

Conversation

liujed
Copy link
Member

@liujed liujed commented Sep 13, 2023

No description provided.

@liujed liujed requested a review from mgritter September 13, 2023 16:53
@liujed liujed added the 2 – Blocking Fast turnaround requested—project is blocked label Sep 13, 2023
@@ -531,7 +530,7 @@ func getTaskState(wf *AddWorkflow) (nextState optionals.Optional[AddWorkflowStat
// Check that the Akita CLI is not already present
for _, container := range output.ContainerDefinitions {
image := aws.ToString(container.Image)
if matchesImage(image, akitaECRImage) || matchesImage(image, akitaDockerImage) {
if matchesImage(image, akitaECRImage) {
Copy link
Contributor

Choose a reason for hiding this comment

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

If I believed we had any existing users who were going to change, this would be a little concerning -- what we ought to do for robustness is check both old and new names to see whether the agent is installed in the task definition. But, the ECS onboarding flow did not get a lot of uptake.

Copy link
Member Author

Choose a reason for hiding this comment

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

In 84300a7. Re-requesting review to make sure I understood what you meant.

@liujed liujed requested a review from mgritter September 13, 2023 18:35
Copy link
Contributor

@mgritter mgritter left a comment

Choose a reason for hiding this comment

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

Yes, that will not re-install the agent if it is already installed. (If EC2 is our next target then we should consider whether upgrading akita->postman is a use case we want to take on.)

@liujed liujed merged commit bf2fd01 into main Sep 13, 2023
@liujed liujed deleted the jed/obs-270 branch September 13, 2023 19:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2 – Blocking Fast turnaround requested—project is blocked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants