chore: additional check that website is up#723
Merged
Conversation
Contributor
|
🚀 Preview is available at https://pr-723--camel.netlify.app |
oscerd
approved these changes
Dec 15, 2021
Contributor
|
🚀 Preview is available at https://pr-723--camel.netlify.app |
When running the web server in a container for the redirect tests there could be some network issues reaching it. This adds detection of that situation and switches to using curl from inside of the web server container. This issue has occurred once on ASF Jenkins in build 622[1], unfortunately without details allowing us to troubleshot this issue. [1] https://ci-builds.apache.org/job/Camel/job/Camel.website/job/main/622/
If the website wasn't built we can still run the redirect checks by loading the live `.htaccess` file from the `asf-site` branch in git. This way we can run the redirect checks independent of the build if we need to.
2ac8360 to
b1e8cc2
Compare
Contributor
|
🚀 Preview is available at https://pr-723--camel.netlify.app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When running the web server in a container for the redirect tests there
could be some network issues reaching it. This adds detection of that
situation and switches to using curl from inside of the web server
container.
This issue has occurred once on ASF Jenkins in build 622[1],
unfortunately without details allowing us to troubleshot this issue.
[1] ci-builds.apache.org/job/Camel/job/Camel.website/job/main/622
Also includes in 0d483cb:
chore: fetch .htaccess from git
If the website wasn't built we can still run the redirect checks by
loading the live
.htaccessfile from theasf-sitebranch in git.This way we can run the redirect checks independent of the build if we
need to.