Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devops: Use the same entrypoint.sh for all Docker stages #7639

Closed
gustavovalverde opened this issue Sep 28, 2023 · 0 comments · Fixed by #7660
Closed

devops: Use the same entrypoint.sh for all Docker stages #7639

gustavovalverde opened this issue Sep 28, 2023 · 0 comments · Fixed by #7660
Assignees
Labels
A-devops Area: Pipelines, CI/CD and Dockerfiles C-bug Category: This is a bug I-usability Zebra is hard to understand or use

Comments

@gustavovalverde
Copy link
Member

Describe the issue or request

We're using a different entrypoint for tests and for our user image, and both have different behaviors and approaches when running Zebra. This causes some tests to behave or be called differently, not allowing a single standard way to interact with the resulting artifact.

Expected Behavior

Handle production and non-production use-cases with the same parameters/variables.

Current Behavior

Some tests fail if we use the same approach as with the production image, like passing the NETWORK environment variable, for example:

This is caused by the entrypoint, as one considers this changes, and the other doesn't.

Possible Solution

Have a single entrypoint, with all the scenarios combined.

Additional Information/Context

No response

Is this happening on PRs?

Just on #7616

Is this happening on the main branch?

No

@gustavovalverde gustavovalverde added C-bug Category: This is a bug A-devops Area: Pipelines, CI/CD and Dockerfiles S-needs-triage Status: A bug report needs triage labels Sep 28, 2023
@mpguerra mpguerra added this to Zebra Sep 28, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in Zebra Sep 28, 2023
@gustavovalverde gustavovalverde added P-High 🔥 I-usability Zebra is hard to understand or use labels Sep 28, 2023
@mergify mergify bot closed this as completed in #7660 Oct 11, 2023
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Zebra Oct 11, 2023
@mpguerra mpguerra removed the S-needs-triage Status: A bug report needs triage label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-devops Area: Pipelines, CI/CD and Dockerfiles C-bug Category: This is a bug I-usability Zebra is hard to understand or use
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants