Skip to content

chore: additional check that website is up#723

Merged
zregvart merged 3 commits intomainfrom
pr/redirect-test-robustness
Dec 15, 2021
Merged

chore: additional check that website is up#723
zregvart merged 3 commits intomainfrom
pr/redirect-test-robustness

Conversation

@zregvart
Copy link
Member

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 .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.

@github-actions
Copy link
Contributor

🚀 Preview is available at https://pr-723--camel.netlify.app

@github-actions
Copy link
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.
@zregvart zregvart force-pushed the pr/redirect-test-robustness branch from 2ac8360 to b1e8cc2 Compare December 15, 2021 13:32
@github-actions
Copy link
Contributor

🚀 Preview is available at https://pr-723--camel.netlify.app

@zregvart zregvart merged commit 84d9574 into main Dec 15, 2021
@zregvart zregvart deleted the pr/redirect-test-robustness branch December 15, 2021 17:11
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.

2 participants