deploy website to okd
Signed-off-by: Christopher Guindon chris.guindon@eclipse-foundation.org
Merge request reports
Activity
️ Deploy Preview for eclipsefdn-eclipse ready! Explore the source changes: cd432b20 Inspect the deploy log: https://app.netlify.com/sites/eclipsefdn-eclipse/deploys/61dc37c6af5ed4000866c0d9 Browse the preview: https://deploy-preview-16--eclipsefdn-eclipse.netlify.appEdited by EclipseWeb Webrequested review from @webmaster and @mbarbero
@mbarbero I am starting to work on hosting this site on okd.
However, I think this is the first time I deploy a website under the root of a domain. We usually host them under a sub-domain.
Based on my understanding, the
hugoWebsitePipeline appname:
value in the Jenkinsfile is safe. It simply refers to the app in OKD.Is it also safe for me to use these values in the deployments.jsonnet file?
deployment.newProductionDeploymentWithStaging( "www.eclipse.org", "staging.eclipse.org" )
I believe it is but just want to make sure I am not making any mistakes since this is for eclipse.org.
I created an Jenkins project for this: https://foundation.eclipse.org/ci/webdev/job/public/job/www.eclipse.org/
However, it won't do much until we commit this MR.
LGTM, you will need to do the initial deployment as documented in https://docs.google.com/document/d/1ieMbepq92NMVt2RYklGgt5SWEll4iUxaZzFkHMyhYWI/edit#heading=h.p439msp01jiw
mentioned in commit 82a04bbc
@mbarbero I might still need your help here. I can do the initial deployment but we are not ready to host this on eclipse.org yet.
However, I would like to be able to see the website. What would be the best way to do that?
You can use
preview-mr16--eclipse-org.eclipsecontent.org
as the url for the staging site, this should work.Those pattern are automatically redirected to the cluster, so as long as you an OKD route properly set, it should just work without anything to be done at the edge nginx level
Edited by Mikaël Barbero