forked from eoeair/cenv
add hexo
This commit is contained in:
parent
db37156427
commit
61b196aa40
@ -127,6 +127,18 @@ jobs:
|
|||||||
context: Program/js
|
context: Program/js
|
||||||
tags: eoelab.org:1027/${{ gitea.repository }}:js
|
tags: eoelab.org:1027/${{ gitea.repository }}:js
|
||||||
|
|
||||||
|
Hexo:
|
||||||
|
runs-on: runner
|
||||||
|
needs: JS
|
||||||
|
steps:
|
||||||
|
- name: checkout code
|
||||||
|
uses: https://eoelab.org:1027/actions/checkout@v4
|
||||||
|
- name: hexo build
|
||||||
|
uses: https://eoelab.org:1027/actions/build-push-action@v6
|
||||||
|
with:
|
||||||
|
context: CI/hexo
|
||||||
|
tags: eoelab.org:1027/${{ gitea.repository }}:hexo
|
||||||
|
|
||||||
Python:
|
Python:
|
||||||
runs-on: runner
|
runs-on: runner
|
||||||
needs: Base
|
needs: Base
|
||||||
|
5
CI/hexo/Dockerfile
Normal file
5
CI/hexo/Dockerfile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
FROM eoelab.org:1027/ben0i0d/cenv:js
|
||||||
|
|
||||||
|
RUN apt-get update --yes && apt-get install --yes --no-install-recommends git && apt-get clean && rm -rf /var/lib/apt/lists/* && \
|
||||||
|
npm install hexo-cli hexo-deployer-git -g && \
|
||||||
|
npm cache clean --force
|
@ -1,3 +1,4 @@
|
|||||||
FROM eoelab.org:1027/ben0i0d/cenv:base
|
FROM eoelab.org:1027/ben0i0d/cenv:base
|
||||||
|
|
||||||
RUN apt-get update --yes && apt-get install --yes --no-install-recommends nodejs npm && apt-get clean && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update --yes && apt-get install --yes --no-install-recommends nodejs npm && apt-get clean && rm -rf /var/lib/apt/lists/* && \
|
||||||
|
npm config set registry https://registry.npmmirror.com
|
28
README.md
28
README.md
@ -28,6 +28,9 @@ English | [中文](README_CN.md)
|
|||||||
`cp -r .devcontainer WORKSDIR`
|
`cp -r .devcontainer WORKSDIR`
|
||||||
|
|
||||||
## Image dependencies
|
## Image dependencies
|
||||||
|
* `Program` : development environment, primarily serving the devcontainer.
|
||||||
|
* `CI` : CI job environment
|
||||||
|
* `GS` : game server
|
||||||
```mermaid
|
```mermaid
|
||||||
graph LR
|
graph LR
|
||||||
|
|
||||||
@ -35,6 +38,20 @@ CPU-->B{Base}
|
|||||||
CUDA-->B
|
CUDA-->B
|
||||||
ROCM-->B
|
ROCM-->B
|
||||||
|
|
||||||
|
B-->C{CI}
|
||||||
|
C-->CA(Hexo)
|
||||||
|
|
||||||
|
B-->G{GS}-->GA{MC}-->GAA(JAVA)
|
||||||
|
GAA-->GAAA(JRE_8)
|
||||||
|
GAA-->GAAB(JRE_11)
|
||||||
|
GAA-->GAAC(JRE_17)
|
||||||
|
GAA-->GAAD(JRE_21)
|
||||||
|
|
||||||
|
G-->GB{MCSM}-->GBA(Web)
|
||||||
|
GB-->GBB(Daemon)
|
||||||
|
|
||||||
|
G-->GC(steam)-->GCA(steam_wine)
|
||||||
|
|
||||||
B-->P{PROGRAM}
|
B-->P{PROGRAM}
|
||||||
P-->PA(C)
|
P-->PA(C)
|
||||||
P-->PB(Cpp)
|
P-->PB(Cpp)
|
||||||
@ -45,17 +62,6 @@ P-->PD(Js)
|
|||||||
P-->PE(Julia)
|
P-->PE(Julia)
|
||||||
P-->PF(Python)
|
P-->PF(Python)
|
||||||
P-->PG(R)
|
P-->PG(R)
|
||||||
|
|
||||||
B-->G{GameServer}-->GA{MC}-->GAA(JAVA)
|
|
||||||
GAA-->GAAA(JRE_8)
|
|
||||||
GAA-->GAAB(JRE_11)
|
|
||||||
GAA-->GAAC(JRE_17)
|
|
||||||
GAA-->GAAD(JRE_21)
|
|
||||||
|
|
||||||
G-->GB{MCSM}-->GBA(Web)
|
|
||||||
GB-->GBB(Daemon)
|
|
||||||
|
|
||||||
G-->GC(steam)-->GCA(steam_wine)
|
|
||||||
```
|
```
|
||||||
## Upstream
|
## Upstream
|
||||||
* NVIDIA: https://gitlab.com/nvidia/container-images/cuda
|
* NVIDIA: https://gitlab.com/nvidia/container-images/cuda
|
||||||
|
28
README_CN.md
28
README_CN.md
@ -28,6 +28,9 @@ English | [中文](README_CN.md)
|
|||||||
`cp -r .devcontainer WORKSDIR`
|
`cp -r .devcontainer WORKSDIR`
|
||||||
|
|
||||||
## 镜像依赖
|
## 镜像依赖
|
||||||
|
* `Program`:开发环境,主要为devcontainer
|
||||||
|
* `CI`:CI作业环境,
|
||||||
|
* `GS`:游戏服务器
|
||||||
```mermaid
|
```mermaid
|
||||||
graph LR
|
graph LR
|
||||||
|
|
||||||
@ -35,6 +38,20 @@ CPU-->B{Base}
|
|||||||
CUDA-->B
|
CUDA-->B
|
||||||
ROCM-->B
|
ROCM-->B
|
||||||
|
|
||||||
|
B-->C{CI}
|
||||||
|
C-->CA(Hexo)
|
||||||
|
|
||||||
|
B-->G{GS}-->GA{MC}-->GAA(JAVA)
|
||||||
|
GAA-->GAAA(JRE_8)
|
||||||
|
GAA-->GAAB(JRE_11)
|
||||||
|
GAA-->GAAC(JRE_17)
|
||||||
|
GAA-->GAAD(JRE_21)
|
||||||
|
|
||||||
|
G-->GB{MCSM}-->GBA(Web)
|
||||||
|
GB-->GBB(Daemon)
|
||||||
|
|
||||||
|
G-->GC(steam)-->GCA(steam_wine)
|
||||||
|
|
||||||
B-->P{PROGRAM}
|
B-->P{PROGRAM}
|
||||||
P-->PA(C)
|
P-->PA(C)
|
||||||
P-->PB(Cpp)
|
P-->PB(Cpp)
|
||||||
@ -45,17 +62,6 @@ P-->PD(Js)
|
|||||||
P-->PE(Julia)
|
P-->PE(Julia)
|
||||||
P-->PF(Python)
|
P-->PF(Python)
|
||||||
P-->PG(R)
|
P-->PG(R)
|
||||||
|
|
||||||
B-->G{GameServer}-->GA{MC}-->GAA(JAVA)
|
|
||||||
GAA-->GAAA(JRE_8)
|
|
||||||
GAA-->GAAB(JRE_11)
|
|
||||||
GAA-->GAAC(JRE_17)
|
|
||||||
GAA-->GAAD(JRE_21)
|
|
||||||
|
|
||||||
G-->GB{MCSM}-->GBA(Web)
|
|
||||||
GB-->GBB(Daemon)
|
|
||||||
|
|
||||||
G-->GC(steam)-->GCA(steam_wine)
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## 镜像源
|
## 镜像源
|
||||||
|
Loading…
x
Reference in New Issue
Block a user