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

Simplify test logic #1114

Open
onedr0p opened this issue Oct 6, 2024 · 0 comments
Open

Simplify test logic #1114

onedr0p opened this issue Oct 6, 2024 · 0 comments

Comments

@onedr0p
Copy link
Owner

onedr0p commented Oct 6, 2024

There is a limitation on goss when testing a container and having an ENTRYPOINT like this:

ENTRYPOINT ["/usr/bin/catatonit", "--", "/entrypoint.sh"]

Goss will attempt to run the container and it will likely fail because the entrypoint.sh will never exit 0

I suggest to make the tests a simple toggle to enable / disable, e.g.

app: postgres-init
semver: true
test: false
channels:
  - name: stable
    platforms: ["linux/amd64", "linux/arm64"]
    stable: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant