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

Fix environment validators #89

Merged
merged 5 commits into from
Apr 22, 2023
Merged

Conversation

MarekPikula
Copy link
Collaborator

@MarekPikula MarekPikula commented Apr 22, 2023

This should fix the issues with BUILD_TIME and AUTH_TYPE validation.

Please double-check if it works before releasing it – especially the modification in Jenkinsfile. It should work by looking at https://stackoverflow.com/a/50095241/2929726, but I have no means to test it.

Should fix #88

- allow any casing style
- use Basic th by default if the string is left empty
- set some default values for user-password pair for BasicAuth

Signed-off-by: Marek Pikuła <[email protected]>
Should give better insight into the validation error.

Signed-off-by: Marek Pikuła <[email protected]>
It should be more permissive and fall back to current time if format
error is detected,

Signed-off-by: Marek Pikuła <[email protected]>
@MarekPikula MarekPikula requested a review from iFargle April 22, 2023 05:38
@MarekPikula MarekPikula self-assigned this Apr 22, 2023
@MarekPikula
Copy link
Collaborator Author

BTW, why do you use Jenkins for building the images instead of GitHub Actions? It would make it much easier to debug ad integrate the building in (possibly) integrated CI tests in the future. GitHub Actions have really nice infrastructure for building Docker images. If you wish, I could look into that.

@iFargle
Copy link
Owner

iFargle commented Apr 22, 2023

it's just what I'm familiar with :) I'd gladly move to Github Actions, just need time to learn it

@iFargle iFargle merged commit 155ae7e into iFargle:main Apr 22, 2023
@MarekPikula MarekPikula deleted the fix_env_validators branch April 22, 2023 05:59
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

Successfully merging this pull request may close these issues.

Docker version 0.7.0 is not starting
2 participants