File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed
Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1010 image : duskmoon/dev-env:ucore-ci
1111 steps :
1212 - uses : actions/checkout@v3
13- - run : git clone https://github.com/LearningOS/uCore-Tutorial-Checker-2023S .git ucore-tutorial-ci
14- - run : git clone https://github.com/LearningOS/uCore-Tutorial-Test-2023S .git ucore-tutorial-ci/workplace/user
13+ - run : git clone https://github.com/LearningOS/uCore-Tutorial-Checker-2023A .git ucore-tutorial-ci
14+ - run : git clone https://github.com/LearningOS/uCore-Tutorial-Test-2023A .git ucore-tutorial-ci/workplace/user
1515 - run : cd ucore-tutorial-ci && make test passwd=${{ secrets.BASE_TEST_TOKEN }} CHAPTER=`echo ${GITHUB_REF##*/} | grep -oP 'ch\K[0-9]'`
1616
Original file line number Diff line number Diff line change 99 build :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v1
12+ - uses : actions/checkout@v4
1313 - name : Mirror + trigger CI
14- uses : Gallium70 /gitlab-mirror-and-ci-action@master
14+ uses : tkf2019 /gitlab-mirror-and-ci-action@master
1515 with :
16- args : " https://git.tsinghua.edu.cn/os-lab/2023s /public/ucore-tutorial-code-2023s "
16+ args : " https://git.tsinghua.edu.cn/os-lab/2023a /public/ucore-tutorial-code-2023a "
1717 env :
1818 GITLAB_HOSTNAME : " git.tsinghua.edu.cn"
19- GITLAB_PROJECT_ID : " 20789 "
20- GITLAB_PROJECT_NAME : " ucore-tutorial-code-2023s "
19+ GITLAB_PROJECT_ID : " 26336 "
20+ GITLAB_PROJECT_NAME : " ucore-tutorial-code-2023a "
2121 GITLAB_PROJECT_TOKEN : ${{secrets.GITLAB_PROJECT_TOKEN}}
2222 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 77test-code-job :
88 stage : test
99 script :
10- - git clone https://token:${UCORE_CHECKER_REPO_READ_TOKEN_2023S }@git.tsinghua.edu.cn/os-lab/2023s /ta/ucore-tutorial-checker-2023s .git ucore-tutorial-ci
11- - git clone https://token:${UCORE_TEST_REPO_READ_TOKEN_2023S }@git.tsinghua.edu.cn/os-lab/2023s /public/ucore-tutorial-test-2023s .git ucore-tutorial-ci/workplace/user
10+ - git clone https://token:${UCORE_CHECKER_REPO_READ_TOKEN_2023A }@git.tsinghua.edu.cn/os-lab/2023a /ta/ucore-tutorial-checker-2023a .git ucore-tutorial-ci
11+ - git clone https://token:${UCORE_TEST_REPO_READ_TOKEN_2023A }@git.tsinghua.edu.cn/os-lab/2023a /public/ucore-tutorial-test-2023a .git ucore-tutorial-ci/workplace/user
1212 - cd ucore-tutorial-ci && make test CHAPTER=`echo $CI_COMMIT_REF_NAME | grep -oP 'ch\K[0-9]'`
Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ Course project for THU-OS.
1616
1717``` bash
1818# 清华 git 使用 https
19- git clone https://git.tsinghua.edu.cn/os-lab/public/ucore-tutorial-test-2022a .git user
19+ git clone https://git.tsinghua.edu.cn/os-lab/2023a/ public/ucore-tutorial-test-2023a .git user
2020# 清华 git 使用 ssh
21- git clone
[email protected] :os-lab/public/ucore-tutorial-test-
2022a .git user
21+ git clone
[email protected] :os-lab/
2023a/ public/ucore-tutorial-test-
2023a .git user
2222# GitHub 使用 https
23- git clone https://github.com/LearningOS/uCore-Tutorial-Test-2022A .git user
23+ git clone https://github.com/LearningOS/uCore-Tutorial-Test-2023A .git user
2424# GitHub 使用 ssh
25- git clone
[email protected] :LearningOS/uCore-Tutorial-Test-
2022A .git user
25+ git clone
[email protected] :LearningOS/uCore-Tutorial-Test-
2023A .git user
2626```
2727
2828注意:` user ` 已添加至 ` .gitignore ` ,你无需将其提交,ci 也不会使用它
You can’t perform that action at this time.
0 commit comments