Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Now the official website of submarine is at: https://github.com/apache/submarine-site.git
Use jekyll to convert markdown documents into html files,
Show it on submarine.apache.org.
Now jekyll's service is running through docker. We need to add an image apache/submairne:site-0.3.0-SNAPSHOT for developing the official website. This docker needs to meet the following requirements.
1. This docker has built-in jekyll service, we can use the docker image here as our base image. If possible, I recommend using jekyll/jekyll:minimal, because the mirror volume is relatively small.
2. We need to follow the git component in submairne:site-0.3.0-SNAPSHOT, so that we can use the git clone command directly in the container
git clone https://github.com/apache/submarine-site.git
git checkout master
Allow the maintenance staff to modify the complete in the container, generate html files through jekyll,
Upload the markdown file to the master branch and the html file to the asf-site branch.
3. Just like submarine-cicd,
https://github.com/apache/submarine/tree/master/dev-support/cicd#docker-mode
It can support setting the git account and password as the container's startup command through the docker environment variable, and running this container will allow git to log in with a username and password.
Attachments
Issue Links
- links to