We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In CI, we use the dockerize command to wait for the SD server instance to be up so we can connect to it:
dockerize
securedrop-client/.github/workflows/sdk.yml
Line 43 in d0d49fa
I was reviewing the web projects' CI a while back and saw that they use plain old curl in a loop for the same functionality - we should do that too.
curl
https://github.com/freedomofpress/securedrop.org/blob/6df3cd790a8cdc7409585c30813d01a5f6a5c37c/.circleci/config.yml#L59
The text was updated successfully, but these errors were encountered:
Use curl instead of dockerize in SDK CI
cfe853a
We just need a tool to wait until the HTTP service is working, and it turns out we can use curl for that by running it in a one-line bash loop, avoiding the need to download and extract dockerize. This approach was inspired by the securedrop.org repository CI.[1] [1] https://github.com/freedomofpress/securedrop-client/blob/d0d49fa01c76fbd3019a21a49abcc8f03ba4276b/.github/workflows/sdk.yml#L43 Fixes #1999.
4af8d07
We just need a tool to wait until the HTTP service is working, and it turns out we can use curl for that by running it in a one-line bash loop, avoiding the need to download and extract dockerize. This approach was inspired by the securedrop.org repository CI.[1] [1] https://github.com/freedomofpress/securedrop.org/blob/6df3cd790a8cdc7409585c30813d01a5f6a5c37c/.circleci/config.yml#L59 Fixes #1999.
3657b23
legoktm
Successfully merging a pull request may close this issue.
Description
In CI, we use the
dockerize
command to wait for the SD server instance to be up so we can connect to it:securedrop-client/.github/workflows/sdk.yml
Line 43 in d0d49fa
I was reviewing the web projects' CI a while back and saw that they use plain old
curl
in a loop for the same functionality - we should do that too.https://github.com/freedomofpress/securedrop.org/blob/6df3cd790a8cdc7409585c30813d01a5f6a5c37c/.circleci/config.yml#L59
The text was updated successfully, but these errors were encountered: