From 1fdd17be300b1fdae6f254730b3cee60df4bc8d9 Mon Sep 17 00:00:00 2001 From: yinzh Date: Thu, 8 Jul 2021 17:41:38 +0800 Subject: [PATCH] cicd test2 --- .../.gitkeep" | 0 .../001_about_bubble_sort.md" | 0 .../001_algorithm_steps.md" | 0 .../001_end.md" | 0 .../code.md" | 0 .../commit_ci_done_option.md" | 0 .../commit_ci_error.md" | 0 .../commit_ci_run.md" | 0 .../end.md" | 0 .../first.md" | 0 .../index.yml" | 0 .../index.yml" | 140 ------------------ .../lin.md" | 1 - .../ready.md" | 5 - 14 files changed, 146 deletions(-) rename "01_\347\256\227\346\263\225\345\216\237\347\220\206/.gitkeep" => "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/.gitkeep" (100%) rename "01_\347\256\227\346\263\225\345\216\237\347\220\206/001_about_bubble_sort.md" => "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/001_about_bubble_sort.md" (100%) rename "01_\347\256\227\346\263\225\345\216\237\347\220\206/001_algorithm_steps.md" => "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/001_algorithm_steps.md" (100%) rename "01_\347\256\227\346\263\225\345\216\237\347\220\206/001_end.md" => "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/001_end.md" (100%) rename "01_\347\256\227\346\263\225\345\216\237\347\220\206/code.md" => "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/code.md" (100%) rename "01_\347\256\227\346\263\225\345\216\237\347\220\206/commit_ci_done_option.md" => "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/commit_ci_done_option.md" (100%) rename "01_\347\256\227\346\263\225\345\216\237\347\220\206/commit_ci_error.md" => "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/commit_ci_error.md" (100%) rename "01_\347\256\227\346\263\225\345\216\237\347\220\206/commit_ci_run.md" => "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/commit_ci_run.md" (100%) rename "01_\347\256\227\346\263\225\345\216\237\347\220\206/end.md" => "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/end.md" (100%) rename "01_\347\256\227\346\263\225\345\216\237\347\220\206/first.md" => "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/first.md" (100%) rename "01_\347\256\227\346\263\225\345\216\237\347\220\206/index.yml" => "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/index.yml" (100%) delete mode 100644 "02_\347\256\227\346\263\225\345\256\236\347\216\260/index.yml" delete mode 100644 "02_\347\256\227\346\263\225\345\256\236\347\216\260/lin.md" delete mode 100644 "02_\347\256\227\346\263\225\345\256\236\347\216\260/ready.md" diff --git "a/01_\347\256\227\346\263\225\345\216\237\347\220\206/.gitkeep" "b/01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/.gitkeep" similarity index 100% rename from "01_\347\256\227\346\263\225\345\216\237\347\220\206/.gitkeep" rename to "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/.gitkeep" diff --git "a/01_\347\256\227\346\263\225\345\216\237\347\220\206/001_about_bubble_sort.md" "b/01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/001_about_bubble_sort.md" similarity index 100% rename from "01_\347\256\227\346\263\225\345\216\237\347\220\206/001_about_bubble_sort.md" rename to "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/001_about_bubble_sort.md" diff --git "a/01_\347\256\227\346\263\225\345\216\237\347\220\206/001_algorithm_steps.md" "b/01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/001_algorithm_steps.md" similarity index 100% rename from "01_\347\256\227\346\263\225\345\216\237\347\220\206/001_algorithm_steps.md" rename to "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/001_algorithm_steps.md" diff --git "a/01_\347\256\227\346\263\225\345\216\237\347\220\206/001_end.md" "b/01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/001_end.md" similarity index 100% rename from "01_\347\256\227\346\263\225\345\216\237\347\220\206/001_end.md" rename to "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/001_end.md" diff --git "a/01_\347\256\227\346\263\225\345\216\237\347\220\206/code.md" "b/01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/code.md" similarity index 100% rename from "01_\347\256\227\346\263\225\345\216\237\347\220\206/code.md" rename to "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/code.md" diff --git "a/01_\347\256\227\346\263\225\345\216\237\347\220\206/commit_ci_done_option.md" "b/01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/commit_ci_done_option.md" similarity index 100% rename from "01_\347\256\227\346\263\225\345\216\237\347\220\206/commit_ci_done_option.md" rename to "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/commit_ci_done_option.md" diff --git "a/01_\347\256\227\346\263\225\345\216\237\347\220\206/commit_ci_error.md" "b/01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/commit_ci_error.md" similarity index 100% rename from "01_\347\256\227\346\263\225\345\216\237\347\220\206/commit_ci_error.md" rename to "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/commit_ci_error.md" diff --git "a/01_\347\256\227\346\263\225\345\216\237\347\220\206/commit_ci_run.md" "b/01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/commit_ci_run.md" similarity index 100% rename from "01_\347\256\227\346\263\225\345\216\237\347\220\206/commit_ci_run.md" rename to "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/commit_ci_run.md" diff --git "a/01_\347\256\227\346\263\225\345\216\237\347\220\206/end.md" "b/01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/end.md" similarity index 100% rename from "01_\347\256\227\346\263\225\345\216\237\347\220\206/end.md" rename to "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/end.md" diff --git "a/01_\347\256\227\346\263\225\345\216\237\347\220\206/first.md" "b/01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/first.md" similarity index 100% rename from "01_\347\256\227\346\263\225\345\216\237\347\220\206/first.md" rename to "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/first.md" diff --git "a/01_\347\256\227\346\263\225\345\216\237\347\220\206/index.yml" "b/01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/index.yml" similarity index 100% rename from "01_\347\256\227\346\263\225\345\216\237\347\220\206/index.yml" rename to "01_\347\256\227\346\263\225\345\216\237\347\220\206\345\217\212\345\256\236\347\216\260/index.yml" diff --git "a/02_\347\256\227\346\263\225\345\256\236\347\216\260/index.yml" "b/02_\347\256\227\346\263\225\345\256\236\347\216\260/index.yml" deleted file mode 100644 index 7cc4825..0000000 --- "a/02_\347\256\227\346\263\225\345\256\236\347\216\260/index.yml" +++ /dev/null @@ -1,140 +0,0 @@ -before: - transitions: - action: - type: create_issue - title: "第二章" - with: lin.md - store: - chapter_2_issue: '{{result.data.html_url}}' - to: step1 - - -# Task 列表 -step1: - link: '{{chapter_2_url}}' - description: "编程作业" - transitions: - events: ['note_events'] - action: - - type: choice - with: code.md - to: step2 - -step2: - link: '{{chapter_2_url}}' - # description: "代码提交" - # 这里要开始监测 ch2 分支的代码提交,同时判断 CI 的结果,Chapter1 是提交截图 - transitions: - with: 'ch2' - events: ['push'] - action: - - type: create_pipeline - with: 'https://codechina.csdn.net/-/snippets/573/raw/master/.gitlab-ci.yml' - store: - ch2_test_url: '{{result.data.html_url}}' - ch2_test_id: '{{result.data.id}}' - - type: issue_comment.created - with: commit_ci_run.md - to: step3 - -step3: - link: '{{chapter_2_url}}' - # description: "代码提交" - # 判断CI 结果,成功的话提示下一步,失败的话提示重新 coding - transitions: - - with: - events: ['pipeline'] - left: 'failed' - operator: '=' - right: '{{object_attributes.status}}' - action: - # CI 未通过提示 - - type: pipeline_result - with: '{{ch2_test_url}}' - - type: issue_comment.created - with: commit_error.md - to: step2 - - with: '{{ch2_test_id}}' - events: ['pipeline'] - left: 'success' - operator: '=' - right: '{{object_attributes.status}}' - action: - # CI 通过提示 - - type: pipeline_result - with: '{{ch2_test_url}}' - - type: choice - with: commit_ci_done_option.md - to: end - -## 任务列表 -#step1: -# link: '{{chapter_2_url}}' -# description: '编程作业' -# transitions: -# events: ['note_events'] -# action: -# - type: choice -# - with: code.md -# to: step2 -# -#step2: -# link: '{{chapter_2_url}}' -# description: "代码提交" -# # 这里要开始监测 ch1 分支的代码提交,同时判断 CI 的结果,Chapter1 是提交截图 -# transitions: -# with: 'ch1' -# events: [ 'push' ] -# action: -# - type: create_pipeline -# with: '/.gitlab-ci.yml' -# store: -# ch2_test_url: '{{result.data.html_url}}' -# ch2_test_id: '{{result.data.id}}' -# - type: issue_comment.created -# with: commit_ci_run.md -# to: step3 -# -#step3: -# link: '{{chapter_2_url}}' -# description: "代码提交" -# # 判断CI结果,成功的话提示下一步,失败的话重新coding -# transitions: -# - with: -# events: [ 'pipeline' ] -# left: 'failed' -# operator: '=' -# right: '{{object_attributes.status}}' -# action: -# # CI未通过提示 -# - type: pipeline_result -# with: '{{ch1_test_url}}' -# - type: issue_comment.created -# with: commit_ci_error.md -# to: step2 -# - with: '{{ch1_test_id}}' -# events: [ 'pipeline' ] -# left: 'success' -# operator: '=' -# right: '{{object_attributes.status}}' -# action: -# # CI 通过提示 -# - type: pipeline_result -# with: '{{ch1_test_url}}' -# - type: choice -# with: commit_ci_done_option.md -# to: step4 -# -#step4: -# link: '{{chapter_2_url}}' -# # description: "完成当前章节学习" -# transitions: -# events: [ 'close_issue' ] -# action: -# - type: issue_comment.created -# with: end.md -# to: end - - - - diff --git "a/02_\347\256\227\346\263\225\345\256\236\347\216\260/lin.md" "b/02_\347\256\227\346\263\225\345\256\236\347\216\260/lin.md" deleted file mode 100644 index 1135d71..0000000 --- "a/02_\347\256\227\346\263\225\345\256\236\347\216\260/lin.md" +++ /dev/null @@ -1 +0,0 @@ -算法实现 \ No newline at end of file diff --git "a/02_\347\256\227\346\263\225\345\256\236\347\216\260/ready.md" "b/02_\347\256\227\346\263\225\345\256\236\347\216\260/ready.md" deleted file mode 100644 index 7ce3c6c..0000000 --- "a/02_\347\256\227\346\263\225\345\256\236\347\216\260/ready.md" +++ /dev/null @@ -1,5 +0,0 @@ -* :wave: 准备好编写代码实现冒泡排序算法了吗?准备好的话请点击下方的开始按钮 :point_down: :point_down: :point_down: ** - -(x) 开始 {{让我们开始写代码吧!}} - -|| 小提示:点击开始学习按钮就ok了 || \ No newline at end of file -- GitLab