Skip to content

[DEMO] examples: Dont use alpine-dev image for examples - #16325

Closed
phlax wants to merge 3 commits into
envoyproxy:mainfrom
phlax:demo-remove-alpine-dev-backend-examples
Closed

phlax wants to merge 3 commits into
envoyproxy:mainfrom
phlax:demo-remove-alpine-dev-backend-examples

Conversation

@phlax

@phlax phlax commented May 5, 2021

Copy link
Copy Markdown
Member

Commit Message: DEMO: please ignore
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

@phlax
phlax marked this pull request as draft May 5, 2021 06:18

- stage: linux_x64
dependsOn: ["precheck"]
dependsOn: [] # "precheck"]

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this is just to speed up running verify_examples


CMD ["python3", "/code/service.py"]

# ENTRYPOINT /usr/local/bin/start_service.sh

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

probs we can remove start_service.sh too

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It includes Envoy cmd ...

Signed-off-by: Ryan Northey <[email protected]>
@@ -7,4 +7,7 @@ COPY ./start_service.sh /usr/local/bin/start_service.sh
COPY ./service-envoy.yaml /etc/service-envoy.yaml

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

no need for this either

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

so generally you want to split Flask based service and envoy, right?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yep

@phlax phlax mentioned this pull request May 14, 2021
@@ -1,3 +1,5 @@
#!/bin/sh
python3 /code/service.py &
envoy -c /etc/service-envoy.yaml --service-cluster "service${SERVICE_NAME}"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It needs to run a envoy process, I am trying to remove it.

@phlax

phlax commented May 28, 2021

Copy link
Copy Markdown
Member Author

closing this - ive implemented required changes myself in #16717

@phlax phlax closed this May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants