From e73e0aab7eb2e8e2e32366a67fb4175c52d976be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Mon, 6 Sep 2021 07:26:32 +0000 Subject: [PATCH 01/95] update HELP.md. --- HELP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HELP.md b/HELP.md index e7fd88c..b47c63e 100644 --- a/HELP.md +++ b/HELP.md @@ -1,4 +1,4 @@ -# Getting Started +# Getting Started. ### Reference Documentation For further reference, please consider the following sections: -- Gitee From 6446351ed3edfa126bc7490508750a3a1002b2cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Mon, 6 Sep 2021 07:27:38 +0000 Subject: [PATCH 02/95] update HELP.md. --- HELP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HELP.md b/HELP.md index b47c63e..e7fd88c 100644 --- a/HELP.md +++ b/HELP.md @@ -1,4 +1,4 @@ -# Getting Started. +# Getting Started ### Reference Documentation For further reference, please consider the following sections: -- Gitee From 3ab067e40c308792958639dc79a37b249a7c6a5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Mon, 6 Sep 2021 07:34:04 +0000 Subject: [PATCH 03/95] update HELP.md. --- HELP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HELP.md b/HELP.md index e7fd88c..de893f3 100644 --- a/HELP.md +++ b/HELP.md @@ -1,4 +1,4 @@ -# Getting Started +# Getting Started123123 ### Reference Documentation For further reference, please consider the following sections: -- Gitee From 5cee58bea05378525dc8c2881811214464aceb0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Mon, 6 Sep 2021 07:39:42 +0000 Subject: [PATCH 04/95] update HELP.md. --- HELP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HELP.md b/HELP.md index de893f3..0c05fb9 100644 --- a/HELP.md +++ b/HELP.md @@ -1,4 +1,4 @@ -# Getting Started123123 +# Getting Started123123asdad ### Reference Documentation For further reference, please consider the following sections: -- Gitee From c3ece9f1739369d6e2300c5835397131a022e631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Tue, 7 Sep 2021 02:36:48 +0000 Subject: [PATCH 05/95] add .workflow/test.yml. --- .workflow/test.yml | 85 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 .workflow/test.yml diff --git a/.workflow/test.yml b/.workflow/test.yml new file mode 100644 index 0000000..f7eb316 --- /dev/null +++ b/.workflow/test.yml @@ -0,0 +1,85 @@ +################################################################ +# function: +# 提交代码到 master 自动触发, 同步 proto 协议 +# filename: rsync-proto-new.yml +################################################################ + + +name: rsync-proto-new # 定义一个唯一 ID 标识为 rsync-proto,名称为 “rsync-proto” 的流水线 +displayName: 'rsync-proto-new' +triggers: # 流水线触发器配置 + push: # 设置 master 分支 在产生代码 push 时精确触发(PRECISE)构建 + - matchType: PRECISE + branch: master +commitMessage: '' # 通过匹配当前提交的 CommitMessage 决定是否执行流水线 +stages: # 构建阶段配置 + - stage: # 定义一个 ID 标识为 build-stage,名为 “Stage” 的阶段 + name: build-stage + displayName: 'Clone Stage' + failFast: false # 允许快速失败,即当 Stage 中有任务失败时,直接结束整个 Stage + steps: # 构建步骤配置 + - step: golangbuild@1 # 采用 Golang 编译环境 + name: clond # 定义一个 ID 标识为 golang-build ,名为 “Golang Step” 的阶段 + displayName: 'Golang Step' + inputs: # 构建输入参数设定 + golangVersion: 1.13 # 指定 Golang 环境版本为 1.13 + goals: | # 执行脚本: + + PROJECT_DIR=`pwd` + + export PROJECT_NAME=`echo ${PROJECT_DIR##*/}` + + export PUSH_PROJECT_NAME="mcbeam-apis" + + ls -l ~/.ssh/id_rsa + + cat ~/.gitconfig + + rm -rf ~/.ssh/* + + ssh-keygen -t rsa -P "" -f ~/.ssh/id_rsa + + # public key + echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3rgobfwdFXKn4s1AUcBKIc1dIxPjlkQFxt7BDjEEEqzm9OUR7LfnBc5LVDAvhM1T8Aw0Daw7m0G13eQmskkLCuhta54yCYgq8qg/xwT70+WiRR45f1RxaWmxJc3Ew2E4MaSfxYGY/VhFZr4WGSfpReBtVnXKMlQxYxZSIpDRYhaIwUI0XzpgzSd8/WLBYfU7tBPE1FQa7B7UjeSXxQFjVHttnUjNTw+MVVpvqFI+Kd63i7LBL6X4CMLuH1g/7SYXwr3HY1SuC8SEwU+yYrpS7tEJdj3QCoNZJx5whgJJx+i0YnQvuZZvyVhtf1ITrgS3vb+GVUKGZbxbVOmYPeiJH ubuntu@VM-69-211-ubuntu" > ~/.ssh/id_rsa.pub + + # private key + echo "-----BEGIN RSA PRIVATE KEY-----" > ~/.ssh/id_rsa + echo "MIIEowIBAAKCAQEAt64KG38HRVyp+LNQFHASiHNXSMT45ZEBcbewQ4xBBKs5vTlE" >> ~/.ssh/id_rsa + echo "ey35wXOS1QwL4TNU/AMNA2sO5tBtd3kJrJJCwrobWueMgmIKvKoP8cE+9PlokUeO" >> ~/.ssh/id_rsa + echo "X9UcWlpsSXNxMNhODGkn8WBmP1YRWa+Fhkn6UXgbVZ1yjJUMWMWUiKQ0WIWiMFCN" >> ~/.ssh/id_rsa + echo "F86YM0nfP1iwWH1O7QTxNRUGuwe1I3kl8UBY1R7bZ1IzU8PjFVab6hSPinet4uyw" >> ~/.ssh/id_rsa + echo "S+l+AjC7h9YP+0mF8K9x2NUrgvEhMFPsmK6Uu7RCXY90AqDWScecIYCScfotGJ0L" >> ~/.ssh/id_rsa + echo "7mWb8lYbX9SE64Et72/hlVChmW8W1TpmD3oiRwIDAQABAoIBAH4Xzfx+QcGOEWkX" >> ~/.ssh/id_rsa + echo "v7uoDDD77UmZXrxJxVIJpclZOTE5UlPiQm7FaxUwf/YdZPJeSNMQTRixn/M31k4U" >> ~/.ssh/id_rsa + echo "G14KsiX3mNvY5Q6Eu5Y0sOlnng6SQQSquMR1ChfEx13NEEFV3I6Mic0cPlTwgsys" >> ~/.ssh/id_rsa + echo "v98mXd8bsrgddAuqLmWqjYMYJo81VAnK/4GCtBnge+FTo/npO0XOpvxaTek+uuvB" >> ~/.ssh/id_rsa + echo "7d5AuRQdPxl43M269yNhWZTWv6HEqKztiowiIG2u3DIblf77bWkAXNdBu6PyktSs" >> ~/.ssh/id_rsa + echo "Tgl5cR9UOQXtcPZRubc21gGjXfRE+8o6DdGAEPU/fYeNv6C1YxER+E6ufaqJwU85" >> ~/.ssh/id_rsa + echo "nqPMIqECgYEA3ex1Yr/N59MDe3dEI0MN3tXsrOXGE8vusVkAruart61L8nAtrG6S" >> ~/.ssh/id_rsa + echo "ufxU3pRyBZ3V+RvG6X4cBUDYr7JrJsm2+rA/hmV3zJJ5DJ7ejzyF09NDw6y/zz1o" >> ~/.ssh/id_rsa + echo "CiLyxcKd/k4ScsTheINzEd/1/ZwkGtrJmwMPFh6O8nBE/hyIOy9q5C8CgYEA0+JD" >> ~/.ssh/id_rsa + echo "m0Ga5PMlV74F1yBmJ/qKwnRscfmTSKxRvW1wHSl43546gxouGCOZXYXLZDIYbEmn" >> ~/.ssh/id_rsa + echo "20GU/9oZoybvnbdZ6c7olgVWL02dm7DclHzKHIyXu3AZnE4IMSWE/2HwRYEgmEsH" >> ~/.ssh/id_rsa + echo "FXxfDzDt1K9+QSxapMPbungpxyUGeiGd+sYkZWkCgYBj2ZNLVf9f8fpcH+JhdzcT" >> ~/.ssh/id_rsa + echo "bu8pL8z6dUQ1OVVsXE8gunE0aLK0JaAQ3G6XIvVWf5iZl5zcy6fx2SZljwJVFmck" >> ~/.ssh/id_rsa + echo "zg4W+yp2ueSLACQlEFcqYqDXtq8qoHdiMC1JO3J4zEnSp7DG12X7wefdLtaz2oLh" >> ~/.ssh/id_rsa + echo "IvQzwJYSkN8J8m59Kq2OcwKBgQCxF9RZ16OW6IK1q2VGQRYhJA8GKDjbqjWn8B8B" >> ~/.ssh/id_rsa + echo "rI6gUSFuBdnx6dfM5TQyLrmorRYsrANYBqB6l9gFvW1Y7P6BpSZQ/XTjZIPutQwo" >> ~/.ssh/id_rsa + echo "L4TeB8RqLW+6bJ38NdfLfBhOf3a20z7AfosVL1gZA/UKk//O5sSoPfbtM80OFzrr" >> ~/.ssh/id_rsa + echo "duDEwQKBgE4uVL8JADGafs1P549md6ObdKNCfhT3l5ktWuZM6XDhMsJInvB54kg7" >> ~/.ssh/id_rsa + echo "dcvkHFmMO4+sQpUB8AZbioMvd6T6DOlUTXtu81ZQ5sp84fCWQXMEYHbSS5A2TVH/" >> ~/.ssh/id_rsa + echo "RAA6p4lH0rAOGZ1oV5YLp3ErPSaxTOp1X3tRejAxj8LDM2atR3n4" >> ~/.ssh/id_rsa + echo "-----END RSA PRIVATE KEY-----" >> ~/.ssh/id_rsa + + ssh-keyscan gitee.com >> ~/.ssh/known_hosts + + git config --global url.'ssh://git@gitee.com'.insteadOf 'https://gitee.com' + + cat ~/.gitconfig + + git clone https://gitee.com/microbeam/${PUSH_PROJECT_NAME}.git /workspace/${PUSH_PROJECT_NAME} + + ls -l /workspace/${PUSH_PROJECT_NAME} + + # 调用同步脚本 + /workspace/${PUSH_PROJECT_NAME}/rsync-proto/rsync-proto.sh \ No newline at end of file -- Gitee From 855537084144433f3097fd7f49e884652a78d436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Tue, 7 Sep 2021 02:39:13 +0000 Subject: [PATCH 06/95] update .workflow/test.yml. --- .workflow/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/test.yml b/.workflow/test.yml index f7eb316..813b206 100644 --- a/.workflow/test.yml +++ b/.workflow/test.yml @@ -5,7 +5,7 @@ ################################################################ -name: rsync-proto-new # 定义一个唯一 ID 标识为 rsync-proto,名称为 “rsync-proto” 的流水线 +name: 'rsync-proto-new' # 定义一个唯一 ID 标识为 rsync-proto,名称为 “rsync-proto” 的流水线 displayName: 'rsync-proto-new' triggers: # 流水线触发器配置 push: # 设置 master 分支 在产生代码 push 时精确触发(PRECISE)构建 -- Gitee From b4bf22adbb2ab2ad043b234a3eeacf86ba47c7ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Tue, 7 Sep 2021 02:39:34 +0000 Subject: [PATCH 07/95] update .workflow/test.yml. --- .workflow/test.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.workflow/test.yml b/.workflow/test.yml index 813b206..b603c1f 100644 --- a/.workflow/test.yml +++ b/.workflow/test.yml @@ -1,10 +1,3 @@ -################################################################ -# function: -# 提交代码到 master 自动触发, 同步 proto 协议 -# filename: rsync-proto-new.yml -################################################################ - - name: 'rsync-proto-new' # 定义一个唯一 ID 标识为 rsync-proto,名称为 “rsync-proto” 的流水线 displayName: 'rsync-proto-new' triggers: # 流水线触发器配置 -- Gitee From 0ca11132513e5ffcdeaf0f130f7100134574c326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Tue, 7 Sep 2021 02:42:58 +0000 Subject: [PATCH 08/95] update .workflow/test.yml. --- .workflow/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/test.yml b/.workflow/test.yml index b603c1f..df15a5f 100644 --- a/.workflow/test.yml +++ b/.workflow/test.yml @@ -1,5 +1,5 @@ name: 'rsync-proto-new' # 定义一个唯一 ID 标识为 rsync-proto,名称为 “rsync-proto” 的流水线 -displayName: 'rsync-proto-new' +displayName: 'rsync-proto-new1' triggers: # 流水线触发器配置 push: # 设置 master 分支 在产生代码 push 时精确触发(PRECISE)构建 - matchType: PRECISE -- Gitee From 123350b5fb8b8f05698c65c18e677fb29cd04e84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Tue, 7 Sep 2021 02:53:31 +0000 Subject: [PATCH 09/95] update .workflow/test.yml. --- .workflow/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/test.yml b/.workflow/test.yml index df15a5f..b603c1f 100644 --- a/.workflow/test.yml +++ b/.workflow/test.yml @@ -1,5 +1,5 @@ name: 'rsync-proto-new' # 定义一个唯一 ID 标识为 rsync-proto,名称为 “rsync-proto” 的流水线 -displayName: 'rsync-proto-new1' +displayName: 'rsync-proto-new' triggers: # 流水线触发器配置 push: # 设置 master 分支 在产生代码 push 时精确触发(PRECISE)构建 - matchType: PRECISE -- Gitee From 3d18f04ea66ad647ca92486ad7482697cda41191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Tue, 7 Sep 2021 03:57:24 +0000 Subject: [PATCH 10/95] add .workflow/test1.yml. --- .workflow/test1.yml | 85 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 .workflow/test1.yml diff --git a/.workflow/test1.yml b/.workflow/test1.yml new file mode 100644 index 0000000..2498399 --- /dev/null +++ b/.workflow/test1.yml @@ -0,0 +1,85 @@ +################################################################ +# function: +# 提交代码到 master 自动触发, 同步 proto 协议 +# filename: rsync-proto.yml +################################################################ + + +name: rsync-proto # 定义一个唯一 ID 标识为 rsync-proto,名称为 “rsync-proto” 的流水线 +displayName: 'rsync-proto' +triggers: # 流水线触发器配置 + push: # 设置 master 分支 在产生代码 push 时精确触发(PRECISE)构建 + - matchType: PRECISE + branch: master +commitMessage: '' # 通过匹配当前提交的 CommitMessage 决定是否执行流水线 +stages: # 构建阶段配置 + - stage: # 定义一个 ID 标识为 build-stage,名为 “Stage” 的阶段 + name: build-stage + displayName: 'Clone Stage' + failFast: false # 允许快速失败,即当 Stage 中有任务失败时,直接结束整个 Stage + steps: # 构建步骤配置 + - step: golangbuild@1 # 采用 Golang 编译环境 + name: clond # 定义一个 ID 标识为 golang-build ,名为 “Golang Step” 的阶段 + displayName: 'Golang Step' + inputs: # 构建输入参数设定 + golangVersion: 1.13 # 指定 Golang 环境版本为 1.13 + goals: | # 执行脚本: + + PROJECT_DIR=`pwd` + + export PROJECT_NAME=`echo ${PROJECT_DIR##*/}` + + export PUSH_PROJECT_NAME="mcbeam-apis" + + ls -l ~/.ssh/id_rsa + + cat ~/.gitconfig + + rm -rf ~/.ssh/* + + ssh-keygen -t rsa -P "" -f ~/.ssh/id_rsa + + # public key + echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3rgobfwdFXKn4s1AUcBKIc1dIxPjlkQFxt7BDjEEEqzm9OUR7LfnBc5LVDAvhM1T8Aw0Daw7m0G13eQmskkLCuhta54yCYgq8qg/xwT70+WiRR45f1RxaWmxJc3Ew2E4MaSfxYGY/VhFZr4WGSfpReBtVnXKMlQxYxZSIpDRYhaIwUI0XzpgzSd8/WLBYfU7tBPE1FQa7B7UjeSXxQFjVHttnUjNTw+MVVpvqFI+Kd63i7LBL6X4CMLuH1g/7SYXwr3HY1SuC8SEwU+yYrpS7tEJdj3QCoNZJx5whgJJx+i0YnQvuZZvyVhtf1ITrgS3vb+GVUKGZbxbVOmYPeiJH ubuntu@VM-69-211-ubuntu" > ~/.ssh/id_rsa.pub + + # private key + echo "-----BEGIN RSA PRIVATE KEY-----" > ~/.ssh/id_rsa + echo "MIIEowIBAAKCAQEAt64KG38HRVyp+LNQFHASiHNXSMT45ZEBcbewQ4xBBKs5vTlE" >> ~/.ssh/id_rsa + echo "ey35wXOS1QwL4TNU/AMNA2sO5tBtd3kJrJJCwrobWueMgmIKvKoP8cE+9PlokUeO" >> ~/.ssh/id_rsa + echo "X9UcWlpsSXNxMNhODGkn8WBmP1YRWa+Fhkn6UXgbVZ1yjJUMWMWUiKQ0WIWiMFCN" >> ~/.ssh/id_rsa + echo "F86YM0nfP1iwWH1O7QTxNRUGuwe1I3kl8UBY1R7bZ1IzU8PjFVab6hSPinet4uyw" >> ~/.ssh/id_rsa + echo "S+l+AjC7h9YP+0mF8K9x2NUrgvEhMFPsmK6Uu7RCXY90AqDWScecIYCScfotGJ0L" >> ~/.ssh/id_rsa + echo "7mWb8lYbX9SE64Et72/hlVChmW8W1TpmD3oiRwIDAQABAoIBAH4Xzfx+QcGOEWkX" >> ~/.ssh/id_rsa + echo "v7uoDDD77UmZXrxJxVIJpclZOTE5UlPiQm7FaxUwf/YdZPJeSNMQTRixn/M31k4U" >> ~/.ssh/id_rsa + echo "G14KsiX3mNvY5Q6Eu5Y0sOlnng6SQQSquMR1ChfEx13NEEFV3I6Mic0cPlTwgsys" >> ~/.ssh/id_rsa + echo "v98mXd8bsrgddAuqLmWqjYMYJo81VAnK/4GCtBnge+FTo/npO0XOpvxaTek+uuvB" >> ~/.ssh/id_rsa + echo "7d5AuRQdPxl43M269yNhWZTWv6HEqKztiowiIG2u3DIblf77bWkAXNdBu6PyktSs" >> ~/.ssh/id_rsa + echo "Tgl5cR9UOQXtcPZRubc21gGjXfRE+8o6DdGAEPU/fYeNv6C1YxER+E6ufaqJwU85" >> ~/.ssh/id_rsa + echo "nqPMIqECgYEA3ex1Yr/N59MDe3dEI0MN3tXsrOXGE8vusVkAruart61L8nAtrG6S" >> ~/.ssh/id_rsa + echo "ufxU3pRyBZ3V+RvG6X4cBUDYr7JrJsm2+rA/hmV3zJJ5DJ7ejzyF09NDw6y/zz1o" >> ~/.ssh/id_rsa + echo "CiLyxcKd/k4ScsTheINzEd/1/ZwkGtrJmwMPFh6O8nBE/hyIOy9q5C8CgYEA0+JD" >> ~/.ssh/id_rsa + echo "m0Ga5PMlV74F1yBmJ/qKwnRscfmTSKxRvW1wHSl43546gxouGCOZXYXLZDIYbEmn" >> ~/.ssh/id_rsa + echo "20GU/9oZoybvnbdZ6c7olgVWL02dm7DclHzKHIyXu3AZnE4IMSWE/2HwRYEgmEsH" >> ~/.ssh/id_rsa + echo "FXxfDzDt1K9+QSxapMPbungpxyUGeiGd+sYkZWkCgYBj2ZNLVf9f8fpcH+JhdzcT" >> ~/.ssh/id_rsa + echo "bu8pL8z6dUQ1OVVsXE8gunE0aLK0JaAQ3G6XIvVWf5iZl5zcy6fx2SZljwJVFmck" >> ~/.ssh/id_rsa + echo "zg4W+yp2ueSLACQlEFcqYqDXtq8qoHdiMC1JO3J4zEnSp7DG12X7wefdLtaz2oLh" >> ~/.ssh/id_rsa + echo "IvQzwJYSkN8J8m59Kq2OcwKBgQCxF9RZ16OW6IK1q2VGQRYhJA8GKDjbqjWn8B8B" >> ~/.ssh/id_rsa + echo "rI6gUSFuBdnx6dfM5TQyLrmorRYsrANYBqB6l9gFvW1Y7P6BpSZQ/XTjZIPutQwo" >> ~/.ssh/id_rsa + echo "L4TeB8RqLW+6bJ38NdfLfBhOf3a20z7AfosVL1gZA/UKk//O5sSoPfbtM80OFzrr" >> ~/.ssh/id_rsa + echo "duDEwQKBgE4uVL8JADGafs1P549md6ObdKNCfhT3l5ktWuZM6XDhMsJInvB54kg7" >> ~/.ssh/id_rsa + echo "dcvkHFmMO4+sQpUB8AZbioMvd6T6DOlUTXtu81ZQ5sp84fCWQXMEYHbSS5A2TVH/" >> ~/.ssh/id_rsa + echo "RAA6p4lH0rAOGZ1oV5YLp3ErPSaxTOp1X3tRejAxj8LDM2atR3n4" >> ~/.ssh/id_rsa + echo "-----END RSA PRIVATE KEY-----" >> ~/.ssh/id_rsa + + ssh-keyscan gitee.com >> ~/.ssh/known_hosts + + git config --global url.'ssh://git@gitee.com'.insteadOf 'https://gitee.com' + + cat ~/.gitconfig + + git clone https://gitee.com/microbeam/${PUSH_PROJECT_NAME}.git /workspace/${PUSH_PROJECT_NAME} + + ls -l /workspace/${PUSH_PROJECT_NAME} + + # 调用同步脚本 + /workspace/${PUSH_PROJECT_NAME}/rsync-proto/rsync-proto.sh \ No newline at end of file -- Gitee From ebf9f31e1a417e33c0339f0eb03fc35b403c1353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Tue, 7 Sep 2021 03:58:44 +0000 Subject: [PATCH 11/95] update HELP.md. --- HELP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HELP.md b/HELP.md index 0c05fb9..3bc6fa6 100644 --- a/HELP.md +++ b/HELP.md @@ -1,4 +1,4 @@ -# Getting Started123123asdad +# Getting Started123123asdad11111 ### Reference Documentation For further reference, please consider the following sections: -- Gitee From 0eb91af9d6d05c2adf824f4f2a58f696780f798e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Tue, 7 Sep 2021 05:50:10 +0000 Subject: [PATCH 12/95] update .workflow/test.yml. --- .workflow/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/test.yml b/.workflow/test.yml index b603c1f..73113e7 100644 --- a/.workflow/test.yml +++ b/.workflow/test.yml @@ -1,5 +1,5 @@ name: 'rsync-proto-new' # 定义一个唯一 ID 标识为 rsync-proto,名称为 “rsync-proto” 的流水线 -displayName: 'rsync-proto-new' +displayName: '测试' triggers: # 流水线触发器配置 push: # 设置 master 分支 在产生代码 push 时精确触发(PRECISE)构建 - matchType: PRECISE -- Gitee From 496dda86a452c386c4e4c9747a269ffde8b53966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Tue, 7 Sep 2021 05:50:23 +0000 Subject: [PATCH 13/95] update .workflow/test1.yml. --- .workflow/test1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/test1.yml b/.workflow/test1.yml index 2498399..9b4cbf3 100644 --- a/.workflow/test1.yml +++ b/.workflow/test1.yml @@ -6,7 +6,7 @@ name: rsync-proto # 定义一个唯一 ID 标识为 rsync-proto,名称为 “rsync-proto” 的流水线 -displayName: 'rsync-proto' +displayName: '测试' triggers: # 流水线触发器配置 push: # 设置 master 分支 在产生代码 push 时精确触发(PRECISE)构建 - matchType: PRECISE -- Gitee From 0724dc197fc025ff83649c5b12638f2313f2e0ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Mon, 25 Oct 2021 10:48:15 +0000 Subject: [PATCH 14/95] update HELP.md. --- HELP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HELP.md b/HELP.md index 3bc6fa6..d9397c2 100644 --- a/HELP.md +++ b/HELP.md @@ -3,7 +3,7 @@ ### Reference Documentation For further reference, please consider the following sections: -* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html) +* [Official Apache Maven doqweqwcumentation](https://maven.apache.org/guides/index.html) * [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.4.0/maven-plugin/reference/html/) * [Create an OCI image](https://docs.spring.io/spring-boot/docs/2.4.0/maven-plugin/reference/html/#build-image) * [Spring Web](https://docs.spring.io/spring-boot/docs/2.4.0/reference/htmlsingle/#boot-features-developing-web-applications) -- Gitee From 074eebfae7e70e3b4835e1e4e9324e7059f44b56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Tue, 26 Oct 2021 03:18:21 +0000 Subject: [PATCH 15/95] update HELP.md. --- HELP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HELP.md b/HELP.md index 0c05fb9..24ee237 100644 --- a/HELP.md +++ b/HELP.md @@ -1,7 +1,7 @@ # Getting Started123123asdad ### Reference Documentation -For further reference, please consider the following sections: +For further reference, please cffffonsider the following sections: * [Official Apache Maven documentation](https://maven.apache.org/guides/index.html) * [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.4.0/maven-plugin/reference/html/) -- Gitee From 701fed85ed4b2b8273600f7d2df6fa38602b906d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Tue, 26 Oct 2021 03:21:01 +0000 Subject: [PATCH 16/95] update HELP.md. --- HELP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HELP.md b/HELP.md index 24ee237..b207984 100644 --- a/HELP.md +++ b/HELP.md @@ -1,5 +1,5 @@ # Getting Started123123asdad - +asdasd ### Reference Documentation For further reference, please cffffonsider the following sections: -- Gitee From a1a9726972eb3de1b433290f6de23736db17a7f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 28 Oct 2021 06:39:20 +0000 Subject: [PATCH 17/95] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20.w?= =?UTF-8?q?orkflow/deploy.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .workflow/deploy.yml | 56 -------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 .workflow/deploy.yml diff --git a/.workflow/deploy.yml b/.workflow/deploy.yml deleted file mode 100644 index 9011532..0000000 --- a/.workflow/deploy.yml +++ /dev/null @@ -1,56 +0,0 @@ -# ======================================================== -# 基于 Maven 构建部署 SpringBoot 流水线示例 -# 功能:通过 Maven 编译构建 SpringBoot 项目并部署到主机 -# ======================================================== -name: spring-boot-maven-ci # 定义一个唯一 ID 标识为 spring-boot-maven-ci ,名称为「Spring Boot(Maven)示例」的流水线 -displayName: 'Spring Boot(Maven)示例' -triggers: # 流水线触发器配置 - push: # 设置 master 分支 在产生代码 push 时精确触发(PRECISE)构建 - - matchType: PRECISE - branch: master -commitMessage: '' # 通过匹配当前提交的 CommitMessage 决定是否执行流水线 -stages: # 构建阶段配置 - - stage: # 定义一个 ID 标识为 spring-boot-build-stage ,名为「Build Stage」的阶段 - name: spring-boot-stage - displayName: 'Spring Boot Stage' - failFast: false # 允许快速失败,即当 Stage 中有任务失败时,直接结束整个 Stage - steps: # 构建步骤配置 - - step: mavenbuild@1 # 采用 Maven 编译环境 - name: spring-boot-build-step # 定义一个 ID 标识为 spring-boot-build-step ,名为「编译构建」的阶段 - displayName: '编译构建' - inputs: # 构建输入参数设定 - jdkVersion: 8 # 指定 JDK 环境版本为 1.8 - mavenVersion: 3.6 # 指定 Maven 环境版本为 3.6 - goals: | # 使用 mvnw 打包编译,并将构建的 Jar 包 - mvn clean package - mkdir output-artifact - cp target/maven-demo-0.0.1-SNAPSHOT.jar output-artifact/ - uploadArtifact: true # 构建完成后是否将构建物作为制品产出,非必填项,与下方上传参数需同时定义 - uploadArtifactOptions: # 构建物上传参数,非必填项,与 `uploadArtifact` 参数需同时定义 - artifactPath: './output-artifact' # 构建完成后要打包的构建物所在路径 - artifactRepository: 'default' # 制品库名称,可以理解为一批构建物的集合 - artifactName: 'spring-boot-jar' # 构建物打包后的制品名 - - step: agent-deploy@1 # 定义通过 SA 部署插件 - name: deploy # Step 唯一标识 - dependsOn: spring-boot-build-step - displayName: '部署发布' # Step 显示名称 - inputs: # Step 入参 - hostGroupID: 'backend' # 指定部署主机组ID - minComplicating: 0 # 允许的最小并发部署数量 - maxComplicating: 2 # 允许的最大并发部署数量 - deployArtifact: # 上传的制品项 - - name: 'compiled-artifact' # 上传部署的制品名(仅作为显示,无具体作用,允许重复) - source: build@spring-boot-stage/spring-boot-build-step # 部署制品文件引用自上游流水线 Stage/Step 的制品 - artifactRepository: 'compiled-artifact' # 当制品引用自流水线,此参数可忽略 - artifactName: 'server' # 当制品引用自流水线,此参数可忽略 - target: /data # 目标机器制品上传目录 - isForce: true # 当目标存在时是否强制覆盖,默认为 true,可选 - script: | # 部署脚本,到目标机器制品上传目录解压并启动构建程序,并通过curl检测 - cd /data - ls - tar -zxf spring-boot-jar.tar.gz - cd output-artifact - nohup java -jar maven-demo-0.0.1-SNAPSHOT.jar & - echo "Deploy Success" - sleep 10 - curl 127.0.0.1:8080 -- Gitee From edc5db67796b0b301ac3e69b233e3d4743622455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 28 Oct 2021 06:39:31 +0000 Subject: [PATCH 18/95] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20.w?= =?UTF-8?q?orkflow/test.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .workflow/test.yml | 78 ---------------------------------------------- 1 file changed, 78 deletions(-) delete mode 100644 .workflow/test.yml diff --git a/.workflow/test.yml b/.workflow/test.yml deleted file mode 100644 index 73113e7..0000000 --- a/.workflow/test.yml +++ /dev/null @@ -1,78 +0,0 @@ -name: 'rsync-proto-new' # 定义一个唯一 ID 标识为 rsync-proto,名称为 “rsync-proto” 的流水线 -displayName: '测试' -triggers: # 流水线触发器配置 - push: # 设置 master 分支 在产生代码 push 时精确触发(PRECISE)构建 - - matchType: PRECISE - branch: master -commitMessage: '' # 通过匹配当前提交的 CommitMessage 决定是否执行流水线 -stages: # 构建阶段配置 - - stage: # 定义一个 ID 标识为 build-stage,名为 “Stage” 的阶段 - name: build-stage - displayName: 'Clone Stage' - failFast: false # 允许快速失败,即当 Stage 中有任务失败时,直接结束整个 Stage - steps: # 构建步骤配置 - - step: golangbuild@1 # 采用 Golang 编译环境 - name: clond # 定义一个 ID 标识为 golang-build ,名为 “Golang Step” 的阶段 - displayName: 'Golang Step' - inputs: # 构建输入参数设定 - golangVersion: 1.13 # 指定 Golang 环境版本为 1.13 - goals: | # 执行脚本: - - PROJECT_DIR=`pwd` - - export PROJECT_NAME=`echo ${PROJECT_DIR##*/}` - - export PUSH_PROJECT_NAME="mcbeam-apis" - - ls -l ~/.ssh/id_rsa - - cat ~/.gitconfig - - rm -rf ~/.ssh/* - - ssh-keygen -t rsa -P "" -f ~/.ssh/id_rsa - - # public key - echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3rgobfwdFXKn4s1AUcBKIc1dIxPjlkQFxt7BDjEEEqzm9OUR7LfnBc5LVDAvhM1T8Aw0Daw7m0G13eQmskkLCuhta54yCYgq8qg/xwT70+WiRR45f1RxaWmxJc3Ew2E4MaSfxYGY/VhFZr4WGSfpReBtVnXKMlQxYxZSIpDRYhaIwUI0XzpgzSd8/WLBYfU7tBPE1FQa7B7UjeSXxQFjVHttnUjNTw+MVVpvqFI+Kd63i7LBL6X4CMLuH1g/7SYXwr3HY1SuC8SEwU+yYrpS7tEJdj3QCoNZJx5whgJJx+i0YnQvuZZvyVhtf1ITrgS3vb+GVUKGZbxbVOmYPeiJH ubuntu@VM-69-211-ubuntu" > ~/.ssh/id_rsa.pub - - # private key - echo "-----BEGIN RSA PRIVATE KEY-----" > ~/.ssh/id_rsa - echo "MIIEowIBAAKCAQEAt64KG38HRVyp+LNQFHASiHNXSMT45ZEBcbewQ4xBBKs5vTlE" >> ~/.ssh/id_rsa - echo "ey35wXOS1QwL4TNU/AMNA2sO5tBtd3kJrJJCwrobWueMgmIKvKoP8cE+9PlokUeO" >> ~/.ssh/id_rsa - echo "X9UcWlpsSXNxMNhODGkn8WBmP1YRWa+Fhkn6UXgbVZ1yjJUMWMWUiKQ0WIWiMFCN" >> ~/.ssh/id_rsa - echo "F86YM0nfP1iwWH1O7QTxNRUGuwe1I3kl8UBY1R7bZ1IzU8PjFVab6hSPinet4uyw" >> ~/.ssh/id_rsa - echo "S+l+AjC7h9YP+0mF8K9x2NUrgvEhMFPsmK6Uu7RCXY90AqDWScecIYCScfotGJ0L" >> ~/.ssh/id_rsa - echo "7mWb8lYbX9SE64Et72/hlVChmW8W1TpmD3oiRwIDAQABAoIBAH4Xzfx+QcGOEWkX" >> ~/.ssh/id_rsa - echo "v7uoDDD77UmZXrxJxVIJpclZOTE5UlPiQm7FaxUwf/YdZPJeSNMQTRixn/M31k4U" >> ~/.ssh/id_rsa - echo "G14KsiX3mNvY5Q6Eu5Y0sOlnng6SQQSquMR1ChfEx13NEEFV3I6Mic0cPlTwgsys" >> ~/.ssh/id_rsa - echo "v98mXd8bsrgddAuqLmWqjYMYJo81VAnK/4GCtBnge+FTo/npO0XOpvxaTek+uuvB" >> ~/.ssh/id_rsa - echo "7d5AuRQdPxl43M269yNhWZTWv6HEqKztiowiIG2u3DIblf77bWkAXNdBu6PyktSs" >> ~/.ssh/id_rsa - echo "Tgl5cR9UOQXtcPZRubc21gGjXfRE+8o6DdGAEPU/fYeNv6C1YxER+E6ufaqJwU85" >> ~/.ssh/id_rsa - echo "nqPMIqECgYEA3ex1Yr/N59MDe3dEI0MN3tXsrOXGE8vusVkAruart61L8nAtrG6S" >> ~/.ssh/id_rsa - echo "ufxU3pRyBZ3V+RvG6X4cBUDYr7JrJsm2+rA/hmV3zJJ5DJ7ejzyF09NDw6y/zz1o" >> ~/.ssh/id_rsa - echo "CiLyxcKd/k4ScsTheINzEd/1/ZwkGtrJmwMPFh6O8nBE/hyIOy9q5C8CgYEA0+JD" >> ~/.ssh/id_rsa - echo "m0Ga5PMlV74F1yBmJ/qKwnRscfmTSKxRvW1wHSl43546gxouGCOZXYXLZDIYbEmn" >> ~/.ssh/id_rsa - echo "20GU/9oZoybvnbdZ6c7olgVWL02dm7DclHzKHIyXu3AZnE4IMSWE/2HwRYEgmEsH" >> ~/.ssh/id_rsa - echo "FXxfDzDt1K9+QSxapMPbungpxyUGeiGd+sYkZWkCgYBj2ZNLVf9f8fpcH+JhdzcT" >> ~/.ssh/id_rsa - echo "bu8pL8z6dUQ1OVVsXE8gunE0aLK0JaAQ3G6XIvVWf5iZl5zcy6fx2SZljwJVFmck" >> ~/.ssh/id_rsa - echo "zg4W+yp2ueSLACQlEFcqYqDXtq8qoHdiMC1JO3J4zEnSp7DG12X7wefdLtaz2oLh" >> ~/.ssh/id_rsa - echo "IvQzwJYSkN8J8m59Kq2OcwKBgQCxF9RZ16OW6IK1q2VGQRYhJA8GKDjbqjWn8B8B" >> ~/.ssh/id_rsa - echo "rI6gUSFuBdnx6dfM5TQyLrmorRYsrANYBqB6l9gFvW1Y7P6BpSZQ/XTjZIPutQwo" >> ~/.ssh/id_rsa - echo "L4TeB8RqLW+6bJ38NdfLfBhOf3a20z7AfosVL1gZA/UKk//O5sSoPfbtM80OFzrr" >> ~/.ssh/id_rsa - echo "duDEwQKBgE4uVL8JADGafs1P549md6ObdKNCfhT3l5ktWuZM6XDhMsJInvB54kg7" >> ~/.ssh/id_rsa - echo "dcvkHFmMO4+sQpUB8AZbioMvd6T6DOlUTXtu81ZQ5sp84fCWQXMEYHbSS5A2TVH/" >> ~/.ssh/id_rsa - echo "RAA6p4lH0rAOGZ1oV5YLp3ErPSaxTOp1X3tRejAxj8LDM2atR3n4" >> ~/.ssh/id_rsa - echo "-----END RSA PRIVATE KEY-----" >> ~/.ssh/id_rsa - - ssh-keyscan gitee.com >> ~/.ssh/known_hosts - - git config --global url.'ssh://git@gitee.com'.insteadOf 'https://gitee.com' - - cat ~/.gitconfig - - git clone https://gitee.com/microbeam/${PUSH_PROJECT_NAME}.git /workspace/${PUSH_PROJECT_NAME} - - ls -l /workspace/${PUSH_PROJECT_NAME} - - # 调用同步脚本 - /workspace/${PUSH_PROJECT_NAME}/rsync-proto/rsync-proto.sh \ No newline at end of file -- Gitee From 4335c8c6b94c773397873e9cb04a61054ba1ff67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 28 Oct 2021 06:39:48 +0000 Subject: [PATCH 19/95] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20.w?= =?UTF-8?q?orkflow/test1.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .workflow/test1.yml | 85 --------------------------------------------- 1 file changed, 85 deletions(-) delete mode 100644 .workflow/test1.yml diff --git a/.workflow/test1.yml b/.workflow/test1.yml deleted file mode 100644 index 9b4cbf3..0000000 --- a/.workflow/test1.yml +++ /dev/null @@ -1,85 +0,0 @@ -################################################################ -# function: -# 提交代码到 master 自动触发, 同步 proto 协议 -# filename: rsync-proto.yml -################################################################ - - -name: rsync-proto # 定义一个唯一 ID 标识为 rsync-proto,名称为 “rsync-proto” 的流水线 -displayName: '测试' -triggers: # 流水线触发器配置 - push: # 设置 master 分支 在产生代码 push 时精确触发(PRECISE)构建 - - matchType: PRECISE - branch: master -commitMessage: '' # 通过匹配当前提交的 CommitMessage 决定是否执行流水线 -stages: # 构建阶段配置 - - stage: # 定义一个 ID 标识为 build-stage,名为 “Stage” 的阶段 - name: build-stage - displayName: 'Clone Stage' - failFast: false # 允许快速失败,即当 Stage 中有任务失败时,直接结束整个 Stage - steps: # 构建步骤配置 - - step: golangbuild@1 # 采用 Golang 编译环境 - name: clond # 定义一个 ID 标识为 golang-build ,名为 “Golang Step” 的阶段 - displayName: 'Golang Step' - inputs: # 构建输入参数设定 - golangVersion: 1.13 # 指定 Golang 环境版本为 1.13 - goals: | # 执行脚本: - - PROJECT_DIR=`pwd` - - export PROJECT_NAME=`echo ${PROJECT_DIR##*/}` - - export PUSH_PROJECT_NAME="mcbeam-apis" - - ls -l ~/.ssh/id_rsa - - cat ~/.gitconfig - - rm -rf ~/.ssh/* - - ssh-keygen -t rsa -P "" -f ~/.ssh/id_rsa - - # public key - echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3rgobfwdFXKn4s1AUcBKIc1dIxPjlkQFxt7BDjEEEqzm9OUR7LfnBc5LVDAvhM1T8Aw0Daw7m0G13eQmskkLCuhta54yCYgq8qg/xwT70+WiRR45f1RxaWmxJc3Ew2E4MaSfxYGY/VhFZr4WGSfpReBtVnXKMlQxYxZSIpDRYhaIwUI0XzpgzSd8/WLBYfU7tBPE1FQa7B7UjeSXxQFjVHttnUjNTw+MVVpvqFI+Kd63i7LBL6X4CMLuH1g/7SYXwr3HY1SuC8SEwU+yYrpS7tEJdj3QCoNZJx5whgJJx+i0YnQvuZZvyVhtf1ITrgS3vb+GVUKGZbxbVOmYPeiJH ubuntu@VM-69-211-ubuntu" > ~/.ssh/id_rsa.pub - - # private key - echo "-----BEGIN RSA PRIVATE KEY-----" > ~/.ssh/id_rsa - echo "MIIEowIBAAKCAQEAt64KG38HRVyp+LNQFHASiHNXSMT45ZEBcbewQ4xBBKs5vTlE" >> ~/.ssh/id_rsa - echo "ey35wXOS1QwL4TNU/AMNA2sO5tBtd3kJrJJCwrobWueMgmIKvKoP8cE+9PlokUeO" >> ~/.ssh/id_rsa - echo "X9UcWlpsSXNxMNhODGkn8WBmP1YRWa+Fhkn6UXgbVZ1yjJUMWMWUiKQ0WIWiMFCN" >> ~/.ssh/id_rsa - echo "F86YM0nfP1iwWH1O7QTxNRUGuwe1I3kl8UBY1R7bZ1IzU8PjFVab6hSPinet4uyw" >> ~/.ssh/id_rsa - echo "S+l+AjC7h9YP+0mF8K9x2NUrgvEhMFPsmK6Uu7RCXY90AqDWScecIYCScfotGJ0L" >> ~/.ssh/id_rsa - echo "7mWb8lYbX9SE64Et72/hlVChmW8W1TpmD3oiRwIDAQABAoIBAH4Xzfx+QcGOEWkX" >> ~/.ssh/id_rsa - echo "v7uoDDD77UmZXrxJxVIJpclZOTE5UlPiQm7FaxUwf/YdZPJeSNMQTRixn/M31k4U" >> ~/.ssh/id_rsa - echo "G14KsiX3mNvY5Q6Eu5Y0sOlnng6SQQSquMR1ChfEx13NEEFV3I6Mic0cPlTwgsys" >> ~/.ssh/id_rsa - echo "v98mXd8bsrgddAuqLmWqjYMYJo81VAnK/4GCtBnge+FTo/npO0XOpvxaTek+uuvB" >> ~/.ssh/id_rsa - echo "7d5AuRQdPxl43M269yNhWZTWv6HEqKztiowiIG2u3DIblf77bWkAXNdBu6PyktSs" >> ~/.ssh/id_rsa - echo "Tgl5cR9UOQXtcPZRubc21gGjXfRE+8o6DdGAEPU/fYeNv6C1YxER+E6ufaqJwU85" >> ~/.ssh/id_rsa - echo "nqPMIqECgYEA3ex1Yr/N59MDe3dEI0MN3tXsrOXGE8vusVkAruart61L8nAtrG6S" >> ~/.ssh/id_rsa - echo "ufxU3pRyBZ3V+RvG6X4cBUDYr7JrJsm2+rA/hmV3zJJ5DJ7ejzyF09NDw6y/zz1o" >> ~/.ssh/id_rsa - echo "CiLyxcKd/k4ScsTheINzEd/1/ZwkGtrJmwMPFh6O8nBE/hyIOy9q5C8CgYEA0+JD" >> ~/.ssh/id_rsa - echo "m0Ga5PMlV74F1yBmJ/qKwnRscfmTSKxRvW1wHSl43546gxouGCOZXYXLZDIYbEmn" >> ~/.ssh/id_rsa - echo "20GU/9oZoybvnbdZ6c7olgVWL02dm7DclHzKHIyXu3AZnE4IMSWE/2HwRYEgmEsH" >> ~/.ssh/id_rsa - echo "FXxfDzDt1K9+QSxapMPbungpxyUGeiGd+sYkZWkCgYBj2ZNLVf9f8fpcH+JhdzcT" >> ~/.ssh/id_rsa - echo "bu8pL8z6dUQ1OVVsXE8gunE0aLK0JaAQ3G6XIvVWf5iZl5zcy6fx2SZljwJVFmck" >> ~/.ssh/id_rsa - echo "zg4W+yp2ueSLACQlEFcqYqDXtq8qoHdiMC1JO3J4zEnSp7DG12X7wefdLtaz2oLh" >> ~/.ssh/id_rsa - echo "IvQzwJYSkN8J8m59Kq2OcwKBgQCxF9RZ16OW6IK1q2VGQRYhJA8GKDjbqjWn8B8B" >> ~/.ssh/id_rsa - echo "rI6gUSFuBdnx6dfM5TQyLrmorRYsrANYBqB6l9gFvW1Y7P6BpSZQ/XTjZIPutQwo" >> ~/.ssh/id_rsa - echo "L4TeB8RqLW+6bJ38NdfLfBhOf3a20z7AfosVL1gZA/UKk//O5sSoPfbtM80OFzrr" >> ~/.ssh/id_rsa - echo "duDEwQKBgE4uVL8JADGafs1P549md6ObdKNCfhT3l5ktWuZM6XDhMsJInvB54kg7" >> ~/.ssh/id_rsa - echo "dcvkHFmMO4+sQpUB8AZbioMvd6T6DOlUTXtu81ZQ5sp84fCWQXMEYHbSS5A2TVH/" >> ~/.ssh/id_rsa - echo "RAA6p4lH0rAOGZ1oV5YLp3ErPSaxTOp1X3tRejAxj8LDM2atR3n4" >> ~/.ssh/id_rsa - echo "-----END RSA PRIVATE KEY-----" >> ~/.ssh/id_rsa - - ssh-keyscan gitee.com >> ~/.ssh/known_hosts - - git config --global url.'ssh://git@gitee.com'.insteadOf 'https://gitee.com' - - cat ~/.gitconfig - - git clone https://gitee.com/microbeam/${PUSH_PROJECT_NAME}.git /workspace/${PUSH_PROJECT_NAME} - - ls -l /workspace/${PUSH_PROJECT_NAME} - - # 调用同步脚本 - /workspace/${PUSH_PROJECT_NAME}/rsync-proto/rsync-proto.sh \ No newline at end of file -- Gitee From 32816457820dc5ba6df4a5f3cd8c01bfcdb72004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 28 Oct 2021 06:40:24 +0000 Subject: [PATCH 20/95] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20.workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .workflow/.keep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .workflow/.keep diff --git a/.workflow/.keep b/.workflow/.keep new file mode 100644 index 0000000..e69de29 -- Gitee From 26a1ee79fe796a664e8a8265cff92129536abb15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 28 Oct 2021 06:40:45 +0000 Subject: [PATCH 21/95] add .workflow/test.yml. --- .workflow/test.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .workflow/test.yml diff --git a/.workflow/test.yml b/.workflow/test.yml new file mode 100644 index 0000000..6413f2d --- /dev/null +++ b/.workflow/test.yml @@ -0,0 +1,19 @@ +version: '1.0' +name: pipeline-20211028 +displayName: pipeline-20211028 +stages: + - stage: '' + name: stage_name_56 + displayName: stage_display_name_57 + steps: + - step: build@nodejs + name: build_nodejs_63 + displayName: Nodejs 构建 + nodeVersion: 12.16.1 + commands: + - ls +triggers: + push: + branches: + include: + - master \ No newline at end of file -- Gitee From d5b455567ec15d16c11d1e7274125be9f4d61a17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Mon, 6 Dec 2021 03:28:26 +0000 Subject: [PATCH 22/95] add master-pipeline.yml for Gitee Go created_at: 2021-12-06 11:28:26 --- .workflow/master-pipeline.yml | 55 +++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 .workflow/master-pipeline.yml diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml new file mode 100644 index 0000000..f21baf6 --- /dev/null +++ b/.workflow/master-pipeline.yml @@ -0,0 +1,55 @@ +version: '1.0' +name: master-pipeline +displayName: MasterPipeline +stages: + - stage: + name: compile + displayName: 编译 + steps: + - step: build@maven + name: build_maven + displayName: Maven 构建 + # 支持6、7、8、9、10、11六个版本 + jdkVersion: 8 + # 支持2.2.1、3.2.5、3.3.9、3.5.2、3.5.3、3.5.4、3.6.1、3.6.3八个版本 + mavenVersion: 3.3.9 + # 构建命令 + commands: + - mvn -B clean package -Dmaven.test.skip=true + # 非必填字段,开启后表示将构建产物暂存,但不会上传到制品库中,7天后自动清除 + artifacts: + # 构建产物名字,作为产物的唯一标识可向下传递,支持自定义,默认为BUILD_ARTIFACT。在下游可以通过${BUILD_ARTIFACT}方式引用来获取构建物地址 + - name: BUILD_ARTIFACT + # 构建产物获取路径,是指代码编译完毕之后构建物的所在路径,如通常jar包在target目录下。当前目录为代码库根目录 + path: + - ./target + - step: publish@general_artifacts + name: publish_general_artifacts + displayName: 上传制品 + # 上游构建任务定义的产物名,默认BUILD_ARTIFACT + dependArtifact: BUILD_ARTIFACT + # 构建产物制品库,默认default,系统默认创建 + artifactRepository: default + # 上传到制品库时的制品命名,默认build + artifactName: output + dependsOn: build_maven + - stage: + name: release + displayName: 发布 + steps: + - step: publish@release_artifacts + name: publish_release_artifacts + displayName: '发布' + # 上游上传制品任务的产出 + dependArtifact: output + # 发行版制品库,默认release,系统默认创建 + artifactRepository: release + # 发布制品版本号 + version: '1.0.0.0' + # 是否开启版本号自增,默认开启 + autoIncrement: true +triggers: + push: + branches: + include: + - master -- Gitee From 5f0ac800dd7dba8e006d21482ea93e1bfd486f88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Mon, 6 Dec 2021 03:31:07 +0000 Subject: [PATCH 23/95] update .workflow/master-pipeline.yml. --- .workflow/master-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index f21baf6..661af21 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -1,5 +1,5 @@ version: '1.0' -name: master-pipeline +name: master-pipeline # 唯一标识 displayName: MasterPipeline stages: - stage: -- Gitee From 7fa0842cf1adc21a17ec4966ac60b6744bee8b2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Mon, 20 Dec 2021 09:48:31 +0000 Subject: [PATCH 24/95] update master-pipeline.yml for Gitee Go updated_at:2021-12-20 09:48:31 --- .workflow/master-pipeline.yml | 58 +++++++++++++++++------------------ 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 661af21..7e14012 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -1,55 +1,55 @@ version: '1.0' -name: master-pipeline # 唯一标识 +name: master-pipeline displayName: MasterPipeline +triggers: + push: + branches: + include: + - master stages: - - stage: - name: compile + - name: compile displayName: 编译 + strategy: naturally + trigger: auto steps: - step: build@maven name: build_maven displayName: Maven 构建 - # 支持6、7、8、9、10、11六个版本 jdkVersion: 8 - # 支持2.2.1、3.2.5、3.3.9、3.5.2、3.5.3、3.5.4、3.6.1、3.6.3八个版本 mavenVersion: 3.3.9 - # 构建命令 - commands: - - mvn -B clean package -Dmaven.test.skip=true - # 非必填字段,开启后表示将构建产物暂存,但不会上传到制品库中,7天后自动清除 artifacts: - # 构建产物名字,作为产物的唯一标识可向下传递,支持自定义,默认为BUILD_ARTIFACT。在下游可以通过${BUILD_ARTIFACT}方式引用来获取构建物地址 - name: BUILD_ARTIFACT - # 构建产物获取路径,是指代码编译完毕之后构建物的所在路径,如通常jar包在target目录下。当前目录为代码库根目录 path: - ./target + commands: + - mvn -B clean package -Dmaven.test.skip=true + - step: build@maven + name: build_maven_1 + displayName: Maven 构建 + jdkVersion: '8' + mavenVersion: 3.3.9 + commands: + - echo ${BUILD_ARTIFACT} + dependsOn: build_maven - step: publish@general_artifacts name: publish_general_artifacts displayName: 上传制品 - # 上游构建任务定义的产物名,默认BUILD_ARTIFACT dependArtifact: BUILD_ARTIFACT - # 构建产物制品库,默认default,系统默认创建 artifactRepository: default - # 上传到制品库时的制品命名,默认build - artifactName: output - dependsOn: build_maven - - stage: - name: release + artifactName: output + dependsOn: build_maven_1 + - name: release displayName: 发布 + strategy: naturally + trigger: auto steps: - step: publish@release_artifacts name: publish_release_artifacts - displayName: '发布' - # 上游上传制品任务的产出 + displayName: 发布 dependArtifact: output - # 发行版制品库,默认release,系统默认创建 artifactRepository: release - # 发布制品版本号 - version: '1.0.0.0' - # 是否开启版本号自增,默认开启 + version: 1.0.0.0 autoIncrement: true -triggers: - push: - branches: - include: - - master +permissions: + - role: admin + members: [] -- Gitee From fe753dbd44a898459372c8225eab8bb06c686091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 23 Dec 2021 04:06:36 +0000 Subject: [PATCH 25/95] add .workflow/old-pipe-test.yml. --- .workflow/old-pipe-test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .workflow/old-pipe-test.yml diff --git a/.workflow/old-pipe-test.yml b/.workflow/old-pipe-test.yml new file mode 100644 index 0000000..40defaf --- /dev/null +++ b/.workflow/old-pipe-test.yml @@ -0,0 +1,21 @@ +name: old-pipe-test +displayName: '旧Yaml测试' +triggers: # 流水线触发器配置 + push: # 设置 master 分支 在产生代码 push 时精确触发(PRECISE)构建 + - matchType: PRECISE + branch: master +commitMessage: '' # 通过匹配当前提交的 CommitMessage 决定是否执行流水线 +stages: # 构建阶段配置 + - stage: # 定义一个 ID 标识为 npm-build-stage ,名为 “npm Stage” 的阶段 + name: build-stage + displayName: 'Maven Stage' + failFast: false # 允许快速失败,即当 Stage 中有任务失败时,直接结束整个 Stage + steps: # 构建步骤配置 + - step: mavenbuild@1 # 构建步骤的任务类型(枚举类型),用于决定使用什么构建环境。目前不支持自定义。当前示例为采用 Maven 编译环境 + name: maven-build # 构建步骤唯一标识,当前示例中定义了一个标识为 maven-build 的构建步骤 + displayName: 'Maven Step' # 构建步骤名称当前示例中定义了一个名为 “Maven Step” 的构建步骤 + inputs: # 构建输入参数设定 + jdkVersion: 8 # 语言版本,指定 JDK 环境版本为 1.8 + mavenVersion: 3.6 # 工具版本,指定 Maven 环境版本为 3.6 + goals: | # 构建脚本,当前示例中使用 Maven 命令初始化、构建一个 Maven 工程并执行输出内容 + mvn -v \ No newline at end of file -- Gitee From 9d00a8611185f27b605f204e116c14b67ea33b5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 6 Jan 2022 03:42:43 +0000 Subject: [PATCH 26/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-06 03:42:43 --- .workflow/master-pipeline.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 7e14012..2bae49e 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -1,11 +1,16 @@ version: '1.0' name: master-pipeline -displayName: MasterPipeline +displayName: xuxu-test-cron triggers: push: branches: - include: - - master + exclude: + - '' + tags: + exclude: + - '' + schedule: + - cron: '* */1 * * * ? *' stages: - name: compile displayName: 编译 -- Gitee From cf3912f82a0c83c9c1d69bad7320c90fa45af762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 6 Jan 2022 03:42:58 +0000 Subject: [PATCH 27/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-06 03:42:58 --- .workflow/master-pipeline.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 2bae49e..338da76 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -9,8 +9,6 @@ triggers: tags: exclude: - '' - schedule: - - cron: '* */1 * * * ? *' stages: - name: compile displayName: 编译 -- Gitee From 8edd09ec2cfcd55764eeb20f76b77b1cdf51a1d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 6 Jan 2022 06:06:31 +0000 Subject: [PATCH 28/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-06 06:06:31 --- .workflow/master-pipeline.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 338da76..b002621 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -9,6 +9,8 @@ triggers: tags: exclude: - '' + schedule: + - cron: '* 1 * * * ? *' stages: - name: compile displayName: 编译 -- Gitee From 27b135a7a682915a3d87d2ad26d77507c8583c16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 6 Jan 2022 06:17:27 +0000 Subject: [PATCH 29/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-06 06:17:27 --- .workflow/master-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index b002621..2bae49e 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -10,7 +10,7 @@ triggers: exclude: - '' schedule: - - cron: '* 1 * * * ? *' + - cron: '* */1 * * * ? *' stages: - name: compile displayName: 编译 -- Gitee From be479ecb4689fa3c32b65b04b7d558fec56f884a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 6 Jan 2022 06:22:21 +0000 Subject: [PATCH 30/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-06 06:22:21 --- .workflow/master-pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 2bae49e..360ad1b 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -4,10 +4,10 @@ displayName: xuxu-test-cron triggers: push: branches: - exclude: + include: - '' tags: - exclude: + include: - '' schedule: - cron: '* */1 * * * ? *' -- Gitee From 6634be31c7f7f47eb3cd16fcca857bbe9f87090d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 6 Jan 2022 06:24:24 +0000 Subject: [PATCH 31/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-06 06:24:24 --- .workflow/master-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 360ad1b..0f33f2f 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -13,7 +13,7 @@ triggers: - cron: '* */1 * * * ? *' stages: - name: compile - displayName: 编译 + displayName: 编译1 strategy: naturally trigger: auto steps: -- Gitee From 5897a7c10feccaca63508df70c11ec5edcf97f23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 6 Jan 2022 06:26:04 +0000 Subject: [PATCH 32/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-06 06:26:04 --- .workflow/master-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 0f33f2f..bc1fc32 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -13,7 +13,7 @@ triggers: - cron: '* */1 * * * ? *' stages: - name: compile - displayName: 编译1 + displayName: 编译11 strategy: naturally trigger: auto steps: -- Gitee From 3e5cf5aac8b5fdc4467f5493660130dffd67e386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 6 Jan 2022 06:27:17 +0000 Subject: [PATCH 33/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-06 06:27:17 --- .workflow/master-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index bc1fc32..8bb28b6 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -13,7 +13,7 @@ triggers: - cron: '* */1 * * * ? *' stages: - name: compile - displayName: 编译11 + displayName: 编译111 strategy: naturally trigger: auto steps: -- Gitee From cb222d7920791e5a680e6eda57547cc97e03dad2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 6 Jan 2022 06:32:21 +0000 Subject: [PATCH 34/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-06 06:32:21 --- .workflow/master-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 8bb28b6..faeb10c 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -13,7 +13,7 @@ triggers: - cron: '* */1 * * * ? *' stages: - name: compile - displayName: 编译111 + displayName: 编译1111 strategy: naturally trigger: auto steps: -- Gitee From dce7219ba98372ac29dde1339d5f6b8444848445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 6 Jan 2022 06:35:48 +0000 Subject: [PATCH 35/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-06 06:35:48 --- .workflow/master-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index faeb10c..1ee1e4c 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -13,7 +13,7 @@ triggers: - cron: '* */1 * * * ? *' stages: - name: compile - displayName: 编译1111 + displayName: 编译11111 strategy: naturally trigger: auto steps: -- Gitee From 0d40f232e212253ef4af1c26eb72a047d67d8070 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 6 Jan 2022 06:39:18 +0000 Subject: [PATCH 36/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-06 06:39:18 --- .workflow/master-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 1ee1e4c..dee073e 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -13,7 +13,7 @@ triggers: - cron: '* */1 * * * ? *' stages: - name: compile - displayName: 编译11111 + displayName: 编译111111 strategy: naturally trigger: auto steps: -- Gitee From 69745caa01ee607a18d7f95200df1434574a81dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 6 Jan 2022 06:39:56 +0000 Subject: [PATCH 37/95] update test.yml for Gitee Go updated_at:2022-01-06 06:39:56 --- .workflow/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/test.yml b/.workflow/test.yml index 6413f2d..80afc63 100644 --- a/.workflow/test.yml +++ b/.workflow/test.yml @@ -4,7 +4,7 @@ displayName: pipeline-20211028 stages: - stage: '' name: stage_name_56 - displayName: stage_display_name_57 + displayName: stage_display_name_571 steps: - step: build@nodejs name: build_nodejs_63 -- Gitee From b15fa7505966842847e28711f8e39ce9bb540a9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E5=AE=8F=E6=96=8C?= <1602586227@qq.com> Date: Thu, 6 Jan 2022 06:43:25 +0000 Subject: [PATCH 38/95] update .workflow/master-pipeline.yml. --- .workflow/master-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index dee073e..c02b359 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -5,7 +5,7 @@ triggers: push: branches: include: - - '' + - 'master' tags: include: - '' -- Gitee From 993b02154f67da9088200fe96d0079f05eb6644e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 6 Jan 2022 06:45:25 +0000 Subject: [PATCH 39/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-06 06:45:25 --- .workflow/master-pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index c02b359..65aa4ed 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -5,7 +5,7 @@ triggers: push: branches: include: - - 'master' + - master tags: include: - '' @@ -13,7 +13,7 @@ triggers: - cron: '* */1 * * * ? *' stages: - name: compile - displayName: 编译111111 + displayName: 编译 strategy: naturally trigger: auto steps: -- Gitee From 66e8bbfebe53706bec90b066e9f4a217d3b98b76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 6 Jan 2022 06:46:14 +0000 Subject: [PATCH 40/95] update .workflow/master-pipeline.yml. --- .workflow/master-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 65aa4ed..8692449 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -13,7 +13,7 @@ triggers: - cron: '* */1 * * * ? *' stages: - name: compile - displayName: 编译 + displayName: 编译1 strategy: naturally trigger: auto steps: -- Gitee From 71b5fcda0128e38401904ef076efe45d8790873e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 6 Jan 2022 06:48:37 +0000 Subject: [PATCH 41/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-06 06:48:37 --- .workflow/master-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 8692449..723756a 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -13,7 +13,7 @@ triggers: - cron: '* */1 * * * ? *' stages: - name: compile - displayName: 编译1 + displayName: 编译11 strategy: naturally trigger: auto steps: -- Gitee From 64f21109f7c161e078fe6f6ed122678c912e9d6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 6 Jan 2022 06:53:39 +0000 Subject: [PATCH 42/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-06 06:53:39 --- .workflow/master-pipeline.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 723756a..6766c92 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -9,8 +9,6 @@ triggers: tags: include: - '' - schedule: - - cron: '* */1 * * * ? *' stages: - name: compile displayName: 编译11 -- Gitee From c7f247046aac74b66bd8e6671259ff7fbe1c2570 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 6 Jan 2022 07:04:30 +0000 Subject: [PATCH 43/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-06 07:04:30 --- .workflow/master-pipeline.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 6766c92..cb48be1 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -9,6 +9,8 @@ triggers: tags: include: - '' + schedule: + - cron: '* 6 15 * * ? *' stages: - name: compile displayName: 编译11 -- Gitee From ff8a0ce70c9516433518a13982a4e501e727e4a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Fri, 7 Jan 2022 09:47:17 +0000 Subject: [PATCH 44/95] update .workflow/old-pipe-test.yml. --- .workflow/old-pipe-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/old-pipe-test.yml b/.workflow/old-pipe-test.yml index 40defaf..e39c4ff 100644 --- a/.workflow/old-pipe-test.yml +++ b/.workflow/old-pipe-test.yml @@ -4,7 +4,7 @@ triggers: # 流水线触发器配置 push: # 设置 master 分支 在产生代码 push 时精确触发(PRECISE)构建 - matchType: PRECISE branch: master -commitMessage: '' # 通过匹配当前提交的 CommitMessage 决定是否执行流水线 +commitMessage: '' # 通过匹配当前提交的 C1ommitMessage 决定是否执行流水线 stages: # 构建阶段配置 - stage: # 定义一个 ID 标识为 npm-build-stage ,名为 “npm Stage” 的阶段 name: build-stage -- Gitee From 446725f91cdcbd25b18dd13c3bf9d44f2a38ea51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Mon, 10 Jan 2022 03:55:34 +0000 Subject: [PATCH 45/95] update .workflow/master-pipeline.yml. --- .workflow/master-pipeline.yml | 98 ++++++++++++++++++++++------------- 1 file changed, 63 insertions(+), 35 deletions(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index cb48be1..a4c99e4 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -1,60 +1,88 @@ version: '1.0' name: master-pipeline -displayName: xuxu-test-cron -triggers: - push: - branches: - include: - - master - tags: - include: - - '' - schedule: - - cron: '* 6 15 * * ? *' +displayName: MasterPipeline stages: - - name: compile - displayName: 编译11 - strategy: naturally - trigger: auto + - stage: + name: compile + displayName: 编译 steps: - step: build@maven name: build_maven displayName: Maven 构建 + # 支持6、7、8、9、10、11六个版本 jdkVersion: 8 + # 支持2.2.1、3.2.5、3.3.9、3.5.2、3.5.3、3.5.4、3.6.1、3.6.3八个版本 mavenVersion: 3.3.9 + # 构建命令 + commands: + - mvn -B clean package -Dmaven.test.skip=true + # 非必填字段,开启后表示将构建产物暂存,但不会上传到制品库中,7天后自动清除 artifacts: + # 构建产物名字,作为产物的唯一标识可向下传递,支持自定义,默认为BUILD_ARTIFACT。在下游可以通过${BUILD_ARTIFACT}方式引用来获取构建物地址 - name: BUILD_ARTIFACT + # 构建产物获取路径,是指代码编译完毕之后构建物的所在路径,如通常jar包在target目录下。当前目录为代码库根目录 path: - ./target - commands: - - mvn -B clean package -Dmaven.test.skip=true - - step: build@maven - name: build_maven_1 - displayName: Maven 构建 - jdkVersion: '8' - mavenVersion: 3.3.9 - commands: - - echo ${BUILD_ARTIFACT} - dependsOn: build_maven - step: publish@general_artifacts name: publish_general_artifacts displayName: 上传制品 + # 上游构建任务定义的产物名,默认BUILD_ARTIFACT dependArtifact: BUILD_ARTIFACT + # 构建产物制品库,默认default,系统默认创建 artifactRepository: default - artifactName: output - dependsOn: build_maven_1 - - name: release + # 上传到制品库时的制品命名,默认build + artifactName: output + dependsOn: build_maven + - stage: + name: release displayName: 发布 - strategy: naturally - trigger: auto steps: - step: publish@release_artifacts name: publish_release_artifacts - displayName: 发布 + displayName: '发布' + # 上游上传制品任务的产出 dependArtifact: output + # 发行版制品库,默认release,系统默认创建 artifactRepository: release - version: 1.0.0.0 + # 发布制品版本号 + version: '1.0.0.0' + # 是否开启版本号自增,默认开启 autoIncrement: true -permissions: - - role: admin - members: [] + - stage: + name: deploy + displayName: 部署 + steps: + - step: deploy@agent + name: deploy_agent + displayName: '主机部署' + hostGroupID: gitee-go-test + deployArtifact: + # 部署包来源,build表示来源于上游流水线,artifact表示来源于制品仓库,推荐使用build + - source: artifact + # 将部署包下载到主机后的部署包名,默认output + name: output + # 将部署包下载主机的具体目录,默认 ~/gitee_go/deoloy + target: ~/gitee_go/deoloy + # 上游制品名,只有当source为build时生效,默认output + dependArtifact: output + # 以下内容只有在source为artifact时生效,制品库名,默认default + artifactRepository: release + # 制品名,默认output + artifactName: output + # 制品版本,默认取最新 + artifactVersion: latest + script: + | + cd ~/gitee_go/deoloy + ls + tar -zxf output.tar.gz + cd target + nohup java -jar maven-demo-0.0.1-SNAPSHOT.jar --server.port=7081 & + echo "Deploy Success" + sleep 10 + curl 127.0.0.1:7081 +triggers: + push: + branches: + include: + - master \ No newline at end of file -- Gitee From 371d70f2ae87f283a1358f6ec3ed1a88baf31143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Wed, 12 Jan 2022 04:09:41 +0000 Subject: [PATCH 46/95] add Jenkinsfile. --- Jenkinsfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..548e471 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,16 @@ +pipeline { + agent any + + stages { + stage('Build') { + steps { + echo 'Building..' + } + } + stage('Deploy') { + steps { + echo 'Deploying....' + } + } + } +} \ No newline at end of file -- Gitee From 6aebb2999d59e6a9b4ddd9cf280b718ff9cd94dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Wed, 12 Jan 2022 04:22:56 +0000 Subject: [PATCH 47/95] update Jenkinsfile. --- Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 548e471..d9f53d6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,9 @@ pipeline { - agent any + agent { + node { + label "agent-119" + } + } stages { stage('Build') { -- Gitee From 47dac84d65e2d24cbb612565f51aa6fe50df7898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Wed, 12 Jan 2022 04:23:34 +0000 Subject: [PATCH 48/95] update Jenkinsfile. --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index d9f53d6..2675e70 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,6 +8,8 @@ pipeline { stages { stage('Build') { steps { + pwd + ls echo 'Building..' } } -- Gitee From f5f2dc7f67d7a3dffe4971b43bde7e53ddac09a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Wed, 12 Jan 2022 04:25:37 +0000 Subject: [PATCH 49/95] update Jenkinsfile. --- Jenkinsfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2675e70..300ba8b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,9 +8,11 @@ pipeline { stages { stage('Build') { steps { - pwd - ls - echo 'Building..' + sh ''' + pwd + ls + echo 'Building..' + ''' } } stage('Deploy') { -- Gitee From f5a12fa0de5ef1ca35fa5c48957a8aee661197c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Wed, 12 Jan 2022 07:02:31 +0000 Subject: [PATCH 50/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-12 07:02:31 --- .workflow/master-pipeline.yml | 78 +++++++++++++++++------------------ 1 file changed, 38 insertions(+), 40 deletions(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index a4c99e4..25acef3 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -1,78 +1,78 @@ version: '1.0' name: master-pipeline displayName: MasterPipeline +triggers: + push: + branches: + include: + - master stages: - - stage: - name: compile + - name: compile displayName: 编译 + strategy: naturally + trigger: auto steps: - step: build@maven name: build_maven displayName: Maven 构建 - # 支持6、7、8、9、10、11六个版本 jdkVersion: 8 - # 支持2.2.1、3.2.5、3.3.9、3.5.2、3.5.3、3.5.4、3.6.1、3.6.3八个版本 mavenVersion: 3.3.9 - # 构建命令 - commands: - - mvn -B clean package -Dmaven.test.skip=true - # 非必填字段,开启后表示将构建产物暂存,但不会上传到制品库中,7天后自动清除 artifacts: - # 构建产物名字,作为产物的唯一标识可向下传递,支持自定义,默认为BUILD_ARTIFACT。在下游可以通过${BUILD_ARTIFACT}方式引用来获取构建物地址 - name: BUILD_ARTIFACT - # 构建产物获取路径,是指代码编译完毕之后构建物的所在路径,如通常jar包在target目录下。当前目录为代码库根目录 path: - ./target + commands: + - echo '流水线唯一标识:'${GITEE_PIPELINE_NAME} + - echo '流水线名字:'${GITEE_PIPELINE_DISPLAY_NAME} + - echo '流水线构建号:'${GITEE_PIPELINE_BUILD_NUMBER} + - echo '流水线触发人:'${GITEE_PIPELINE_TRIGGER_USER} + - echo '流水线触发人ID:'${GITEE_PIPELINE_TRIGGER_USER_ID} + - echo '阶段唯一标识:'${GITEE_STAGE_NAME} + - echo '阶段名字:'${GITEE_STAGE_DISPLAY_NAME} + - echo '阶段唯一标识:'${GITEE_STAGE_NAME} + - echo 'Push和Tag的message或PR的title:'${GITEE_COMMIT_MESSAGE} + - echo 'Push下的分支或PR下的目标分支:'${GITEE_BRANCH} + - echo '发起PR时的源分支:'${GITEE_SOURCE_BRANCH} + - echo '发起PR时的源分支commit:'${GITEE_SOURCE_COMMIT} + - echo '发起PR时的PR号:'${GITEE_PULL_ID} + - echo '代码仓库名:'${GITEE_REPO} + - mvn -B clean package -Dmaven.test.skip=true - step: publish@general_artifacts name: publish_general_artifacts displayName: 上传制品 - # 上游构建任务定义的产物名,默认BUILD_ARTIFACT dependArtifact: BUILD_ARTIFACT - # 构建产物制品库,默认default,系统默认创建 artifactRepository: default - # 上传到制品库时的制品命名,默认build - artifactName: output + artifactName: output dependsOn: build_maven - - stage: - name: release + - name: release displayName: 发布 + strategy: naturally + trigger: auto steps: - step: publish@release_artifacts name: publish_release_artifacts - displayName: '发布' - # 上游上传制品任务的产出 + displayName: 发布 dependArtifact: output - # 发行版制品库,默认release,系统默认创建 artifactRepository: release - # 发布制品版本号 - version: '1.0.0.0' - # 是否开启版本号自增,默认开启 + version: 1.0.0.0 autoIncrement: true - - stage: - name: deploy + - name: deploy displayName: 部署 + strategy: naturally + trigger: auto steps: - step: deploy@agent name: deploy_agent - displayName: '主机部署' + displayName: 主机部署 hostGroupID: gitee-go-test deployArtifact: - # 部署包来源,build表示来源于上游流水线,artifact表示来源于制品仓库,推荐使用build - source: artifact - # 将部署包下载到主机后的部署包名,默认output name: output - # 将部署包下载主机的具体目录,默认 ~/gitee_go/deoloy target: ~/gitee_go/deoloy - # 上游制品名,只有当source为build时生效,默认output - dependArtifact: output - # 以下内容只有在source为artifact时生效,制品库名,默认default artifactRepository: release - # 制品名,默认output artifactName: output - # 制品版本,默认取最新 artifactVersion: latest - script: - | + script: | cd ~/gitee_go/deoloy ls tar -zxf output.tar.gz @@ -81,8 +81,6 @@ stages: echo "Deploy Success" sleep 10 curl 127.0.0.1:7081 -triggers: - push: - branches: - include: - - master \ No newline at end of file +permissions: + - role: admin + members: [] -- Gitee From 262c07cea1632eb4416bf1f6116730da185802d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Wed, 12 Jan 2022 07:54:08 +0000 Subject: [PATCH 51/95] add Dockerfile. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..11951ff --- /dev/null +++ b/Dockerfile @@ -0,0 +1 @@ +RUN echo 'Hello Gitee' \ No newline at end of file -- Gitee From 075635073ce49a4a2cece35b6a46a3e17c568c84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Wed, 12 Jan 2022 07:55:39 +0000 Subject: [PATCH 52/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-12 07:55:39 --- .workflow/master-pipeline.yml | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 25acef3..5730d46 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -22,20 +22,6 @@ stages: path: - ./target commands: - - echo '流水线唯一标识:'${GITEE_PIPELINE_NAME} - - echo '流水线名字:'${GITEE_PIPELINE_DISPLAY_NAME} - - echo '流水线构建号:'${GITEE_PIPELINE_BUILD_NUMBER} - - echo '流水线触发人:'${GITEE_PIPELINE_TRIGGER_USER} - - echo '流水线触发人ID:'${GITEE_PIPELINE_TRIGGER_USER_ID} - - echo '阶段唯一标识:'${GITEE_STAGE_NAME} - - echo '阶段名字:'${GITEE_STAGE_DISPLAY_NAME} - - echo '阶段唯一标识:'${GITEE_STAGE_NAME} - - echo 'Push和Tag的message或PR的title:'${GITEE_COMMIT_MESSAGE} - - echo 'Push下的分支或PR下的目标分支:'${GITEE_BRANCH} - - echo '发起PR时的源分支:'${GITEE_SOURCE_BRANCH} - - echo '发起PR时的源分支commit:'${GITEE_SOURCE_COMMIT} - - echo '发起PR时的PR号:'${GITEE_PULL_ID} - - echo '代码仓库名:'${GITEE_REPO} - mvn -B clean package -Dmaven.test.skip=true - step: publish@general_artifacts name: publish_general_artifacts @@ -44,6 +30,23 @@ stages: artifactRepository: default artifactName: output dependsOn: build_maven + - name: docker-build + displayName: 镜像构建 + strategy: naturally + trigger: auto + executor: [] + steps: + - step: build@docker + name: build_docker + displayName: 镜像构建 + repository: registry.baidubce.com + username: 112c6b0ac67e42fe97beb3f15a9be562 + password: OSCccr2021 + tag: ${GITEE_PIPELINE_BUILD_NUMBER} + dockerfile: ./Dockerfile + artifacts: + - ${BUILD_ARTIFACT} + isCache: false - name: release displayName: 发布 strategy: naturally -- Gitee From a86a43cb3957e5057e5f751f0cd123ccf1b0abdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Wed, 12 Jan 2022 07:57:56 +0000 Subject: [PATCH 53/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-12 07:57:56 -- Gitee From 13f54ea7b269942acac74b2dcd9c5c5b26579ce3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Wed, 12 Jan 2022 08:03:03 +0000 Subject: [PATCH 54/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-12 08:03:03 --- .workflow/master-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 5730d46..d93fb94 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -45,7 +45,7 @@ stages: tag: ${GITEE_PIPELINE_BUILD_NUMBER} dockerfile: ./Dockerfile artifacts: - - ${BUILD_ARTIFACT} + - ${BUILD_ARTIFACT_PATH} isCache: false - name: release displayName: 发布 -- Gitee From 84e088ffe77e05d597bdb6f7a90a1b291ec19e17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Wed, 12 Jan 2022 08:05:57 +0000 Subject: [PATCH 55/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-12 08:05:57 --- .workflow/master-pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index d93fb94..71143b6 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -39,10 +39,10 @@ stages: - step: build@docker name: build_docker displayName: 镜像构建 - repository: registry.baidubce.com + repository: registry.baidubce.com/gitee-prod username: 112c6b0ac67e42fe97beb3f15a9be562 password: OSCccr2021 - tag: ${GITEE_PIPELINE_BUILD_NUMBER} + tag: test-${GITEE_PIPELINE_BUILD_NUMBER} dockerfile: ./Dockerfile artifacts: - ${BUILD_ARTIFACT_PATH} -- Gitee From 4bf59aa0345b46c6d2a01ce451642e6e1fb20def Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Wed, 12 Jan 2022 08:16:03 +0000 Subject: [PATCH 56/95] update Dockerfile. --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 11951ff..f9c0b6e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1 +1,4 @@ -RUN echo 'Hello Gitee' \ No newline at end of file +FROM alpine:latest +RUN set -eux && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories +RUN apk add busybox-extras curl +CMD ["echo","Hello DevOps"] \ No newline at end of file -- Gitee From 4ad6f3cdc7a7f4ae8f979e025565dbde0feef636 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Wed, 12 Jan 2022 08:18:19 +0000 Subject: [PATCH 57/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-12 08:18:19 --- .workflow/master-pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 71143b6..57789a8 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -39,10 +39,10 @@ stages: - step: build@docker name: build_docker displayName: 镜像构建 - repository: registry.baidubce.com/gitee-prod + repository: registry.baidubce.com/gitee-test-repo username: 112c6b0ac67e42fe97beb3f15a9be562 password: OSCccr2021 - tag: test-${GITEE_PIPELINE_BUILD_NUMBER} + tag: test:${GITEE_PIPELINE_BUILD_NUMBER} dockerfile: ./Dockerfile artifacts: - ${BUILD_ARTIFACT_PATH} -- Gitee From 7521135a76f1a7c6f322fb393ae7d894f404453b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Wed, 12 Jan 2022 08:37:58 +0000 Subject: [PATCH 58/95] update Jenkinsfile. --- Jenkinsfile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 300ba8b..6c28a81 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,15 +9,22 @@ pipeline { stage('Build') { steps { sh ''' - pwd + mvn -B clean package -Dmaven.test.skip=true + ''' + } + } + stage('BuildImage') { + steps { + sh ''' ls - echo 'Building..' ''' } } stage('Deploy') { steps { - echo 'Deploying....' + sh ''' + ls + ''' } } } -- Gitee From 2af19d6de3881a82508e91189bf8ad759b331fa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Fri, 14 Jan 2022 02:12:19 +0000 Subject: [PATCH 59/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-14 02:12:19 --- .workflow/master-pipeline.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 57789a8..8a2fa0c 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -2,13 +2,14 @@ version: '1.0' name: master-pipeline displayName: MasterPipeline triggers: + trigger: auto push: branches: include: - master stages: - name: compile - displayName: 编译 + displayName: 编译1 strategy: naturally trigger: auto steps: -- Gitee From 5e71996bbba08e9f82fcca3d899232e45741289d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Fri, 14 Jan 2022 02:28:20 +0000 Subject: [PATCH 60/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-14 02:28:20 --- .workflow/master-pipeline.yml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 8a2fa0c..73d0920 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -31,23 +31,6 @@ stages: artifactRepository: default artifactName: output dependsOn: build_maven - - name: docker-build - displayName: 镜像构建 - strategy: naturally - trigger: auto - executor: [] - steps: - - step: build@docker - name: build_docker - displayName: 镜像构建 - repository: registry.baidubce.com/gitee-test-repo - username: 112c6b0ac67e42fe97beb3f15a9be562 - password: OSCccr2021 - tag: test:${GITEE_PIPELINE_BUILD_NUMBER} - dockerfile: ./Dockerfile - artifacts: - - ${BUILD_ARTIFACT_PATH} - isCache: false - name: release displayName: 发布 strategy: naturally -- Gitee From 48a0abdbd9b98bbfb8ec3d828a02f7787ba102c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Tue, 18 Jan 2022 07:31:08 +0000 Subject: [PATCH 61/95] update Jenkinsfile. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6c28a81..ba88f0f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { stage('Build') { steps { sh ''' - mvn -B clean package -Dmaven.test.skip=true + ls ''' } } -- Gitee From cf37523811a19d8272dbef9084132cfd3fcd7c07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Tue, 18 Jan 2022 08:59:10 +0000 Subject: [PATCH 62/95] update Jenkinsfile. --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index ba88f0f..3887536 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,6 +10,7 @@ pipeline { steps { sh ''' ls + sleep 20 ''' } } -- Gitee From db4a15e7733441c1c91fa54e354059f87874860a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 20 Jan 2022 07:24:46 +0000 Subject: [PATCH 63/95] update master-pipeline.yml for Gitee Go updated_at:2022-01-20 07:24:46 --- .workflow/master-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 73d0920..3d090ca 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -46,7 +46,7 @@ stages: - name: deploy displayName: 部署 strategy: naturally - trigger: auto + trigger: manual steps: - step: deploy@agent name: deploy_agent -- Gitee From 3474e3e54aaaa13bc3912653d36dd38da55e8586 Mon Sep 17 00:00:00 2001 From: XiaoXuxuy Date: Thu, 20 Jan 2022 15:26:23 +0800 Subject: [PATCH 64/95] test --- test.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 test.txt diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..1cb6fd9 --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 -- Gitee From dec1070b2c7f33246d8ca7960495fb2d949daa92 Mon Sep 17 00:00:00 2001 From: XiaoXuxuy Date: Thu, 20 Jan 2022 15:26:50 +0800 Subject: [PATCH 65/95] ggg --- test.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test.txt b/test.txt index 1cb6fd9..6e4da25 100644 --- a/test.txt +++ b/test.txt @@ -1 +1,3 @@ +wwwww + 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 -- Gitee From 83bbe6969949bd7af3ad48cd5d37cea7f5ace81b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Mon, 7 Feb 2022 10:25:27 +0000 Subject: [PATCH 66/95] add jenkins-test.yml for Gitee Go created_at:2022-02-07 10:25:26 --- .workflow/jenkins-test.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .workflow/jenkins-test.yml diff --git a/.workflow/jenkins-test.yml b/.workflow/jenkins-test.yml new file mode 100644 index 0000000..2605ff3 --- /dev/null +++ b/.workflow/jenkins-test.yml @@ -0,0 +1,24 @@ +version: '1.0' +name: jenkins-test +displayName: jenkins-test +triggers: + trigger: auto + push: + branches: + prefix: + - '' +stages: + - name: stage-2b2e0760 + displayName: Jenkins阶段 + strategy: naturally + trigger: auto + executor: [] + steps: + - step: build@jenkins + name: build_jenkins + displayName: Jenkins Job + certificate: jenkins-test + job: 徐旭测试(Maven项目) +permissions: + - role: admin + members: [] -- Gitee From da3859548216ae5a82a5caf15dd95e362fb33d8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Mon, 7 Feb 2022 10:27:29 +0000 Subject: [PATCH 67/95] update .workflow/jenkins-test.yml. --- .workflow/jenkins-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/jenkins-test.yml b/.workflow/jenkins-test.yml index 2605ff3..5894ba0 100644 --- a/.workflow/jenkins-test.yml +++ b/.workflow/jenkins-test.yml @@ -8,7 +8,7 @@ triggers: prefix: - '' stages: - - name: stage-2b2e0760 + - name: stage-2b2e07601 displayName: Jenkins阶段 strategy: naturally trigger: auto -- Gitee From fad9c29e49ad6331ffc4a0e027da1a107ba9c0b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 10 Feb 2022 07:08:38 +0000 Subject: [PATCH 68/95] add xx.yml for Gitee Go created_at:2022-02-10 07:08:38 --- .workflow/xx.yml | 55 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 .workflow/xx.yml diff --git a/.workflow/xx.yml b/.workflow/xx.yml new file mode 100644 index 0000000..4093b4a --- /dev/null +++ b/.workflow/xx.yml @@ -0,0 +1,55 @@ +version: '1.0' +name: xx-master-pipeline +displayName: xx-MasterPipeline +stages: + - stage: + name: compile + displayName: 编译 + steps: + - step: build@maven + name: build_maven + displayName: Maven 构建 + # 支持6、7、8、9、10、11六个版本 + jdkVersion: 8 + # 支持2.2.1、3.2.5、3.3.9、3.5.2、3.5.3、3.5.4、3.6.1、3.6.3八个版本 + mavenVersion: 3.3.9 + # 构建命令 + commands: + - mvn -B clean package -Dmaven.test.skip=true + # 非必填字段,开启后表示将构建产物暂存,但不会上传到制品库中,7天后自动清除 + artifacts: + # 构建产物名字,作为产物的唯一标识可向下传递,支持自定义,默认为BUILD_ARTIFACT。在下游可以通过${BUILD_ARTIFACT}方式引用来获取构建物地址 + - name: BUILD_ARTIFACT + # 构建产物获取路径,是指代码编译完毕之后构建物的所在路径,如通常jar包在target目录下。当前目录为代码库根目录 + path: + - ./target + - step: publish@general_artifacts + name: publish_general_artifacts + displayName: 上传制品 + # 上游构建任务定义的产物名,默认BUILD_ARTIFACT + dependArtifact: BUILD_ARTIFACT + # 构建产物制品库,默认default,系统默认创建 + artifactRepository: default + # 上传到制品库时的制品命名,默认build + artifactName: output + dependsOn: build_maven + - stage: + name: release + displayName: 发布 + steps: + - step: publish@release_artifacts + name: publish_release_artifacts + displayName: '发布' + # 上游上传制品任务的产出 + dependArtifact: output + # 发行版制品库,默认release,系统默认创建 + artifactRepository: release + # 发布制品版本号 + version: '1.0.0.0' + # 是否开启版本号自增,默认开启 + autoIncrement: true +triggers: + push: + branches: + include: + - master -- Gitee From fdbe70cf51d97191af81af598110cde1c11e5c4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Fri, 18 Feb 2022 09:37:35 +0000 Subject: [PATCH 69/95] add test-maven.yml for Gitee Go created_at:2022-02-18 09:37:35 --- .workflow/test-maven.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .workflow/test-maven.yml diff --git a/.workflow/test-maven.yml b/.workflow/test-maven.yml new file mode 100644 index 0000000..4ea8f30 --- /dev/null +++ b/.workflow/test-maven.yml @@ -0,0 +1,34 @@ +version: '1.0' +name: pipeline-20220218-1 +displayName: pipeline-20220218-1 +triggers: + trigger: auto + push: + branches: + prefix: + - '' +stages: + - name: stage-9a113c4b + displayName: 未命名 + strategy: naturally + trigger: auto + executor: [] + steps: + - step: build@maven + name: build_maven + displayName: Maven 构建 + jdkVersion: '8' + mavenVersion: 3.3.9 + commands: + - mvn -B clean package -Dmaven.test.skip=true + artifacts: + - name: BUILD_ARTIFACT + path: + - ./target + settings: + - isRelease: true + isSnapshot: true + certificate: '' +permissions: + - role: admin + members: [] -- Gitee From 2eaf7ec019b6d6c5a959b24fd310ad81a3e92e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Fri, 18 Feb 2022 09:38:53 +0000 Subject: [PATCH 70/95] update .workflow/test-maven.yml. --- .workflow/test-maven.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.workflow/test-maven.yml b/.workflow/test-maven.yml index 4ea8f30..2e53ff3 100644 --- a/.workflow/test-maven.yml +++ b/.workflow/test-maven.yml @@ -25,10 +25,7 @@ stages: - name: BUILD_ARTIFACT path: - ./target - settings: - - isRelease: true - isSnapshot: true - certificate: '' + settings: [] permissions: - role: admin members: [] -- Gitee From 8b41621e306848c494d4c0f7474f6f4ebdcc894b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Fri, 25 Feb 2022 06:32:01 +0000 Subject: [PATCH 71/95] update jenkins-test.yml for Gitee Go updated_at:2022-02-25 06:32:00 -- Gitee From a7b3e647bf805534265e1383a3fcc864a529aa70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 17 Mar 2022 10:09:35 +0000 Subject: [PATCH 72/95] update test-maven.yml for Gitee Go updated_at:2022-03-17 10:09:35 --- .workflow/test-maven.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.workflow/test-maven.yml b/.workflow/test-maven.yml index 2e53ff3..e946d24 100644 --- a/.workflow/test-maven.yml +++ b/.workflow/test-maven.yml @@ -9,7 +9,7 @@ triggers: - '' stages: - name: stage-9a113c4b - displayName: 未命名 + displayName: 编译 strategy: naturally trigger: auto executor: [] @@ -26,6 +26,26 @@ stages: path: - ./target settings: [] + - step: publish@general_artifacts + name: publish_general_artifacts + displayName: 上传制品 + dependArtifact: BUILD_ARTIFACT + artifactRepository: default + artifactName: output + dependsOn: build_maven + - name: stage-c3279b5f + displayName: 发布 + strategy: naturally + trigger: auto + executor: [] + steps: + - step: publish@release_artifacts + name: publish_release_artifacts + displayName: 发布 + dependArtifact: BUILD_ARTIFACT + artifactRepository: release + version: 1.0.0.0 + autoIncrement: true permissions: - role: admin members: [] -- Gitee From 20f41a6a37ca3269eb40543682ee4b8a222c58d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 17 Mar 2022 10:09:59 +0000 Subject: [PATCH 73/95] update test-maven.yml for Gitee Go updated_at:2022-03-17 10:09:59 --- .workflow/test-maven.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.workflow/test-maven.yml b/.workflow/test-maven.yml index e946d24..25489b4 100644 --- a/.workflow/test-maven.yml +++ b/.workflow/test-maven.yml @@ -30,7 +30,6 @@ stages: name: publish_general_artifacts displayName: 上传制品 dependArtifact: BUILD_ARTIFACT - artifactRepository: default artifactName: output dependsOn: build_maven - name: stage-c3279b5f @@ -43,7 +42,6 @@ stages: name: publish_release_artifacts displayName: 发布 dependArtifact: BUILD_ARTIFACT - artifactRepository: release version: 1.0.0.0 autoIncrement: true permissions: -- Gitee From fcc4ed5038d678668a727f172b6cfe06b00d48ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 17 Mar 2022 10:11:06 +0000 Subject: [PATCH 74/95] update test-maven.yml for Gitee Go updated_at:2022-03-17 10:11:05 -- Gitee From 2c6a29218f7bb4efb26f3c9c656ecf5cfca6dac8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 17 Mar 2022 10:12:01 +0000 Subject: [PATCH 75/95] update test-maven.yml for Gitee Go updated_at:2022-03-17 10:12:01 --- .workflow/test-maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/test-maven.yml b/.workflow/test-maven.yml index 25489b4..b75644f 100644 --- a/.workflow/test-maven.yml +++ b/.workflow/test-maven.yml @@ -8,7 +8,7 @@ triggers: prefix: - '' stages: - - name: stage-9a113c4b + - name: stage-9a113c4b1 displayName: 编译 strategy: naturally trigger: auto -- Gitee From 9cfb0bf85e09fbebb5e449b6485aa5452b4a3d11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 17 Mar 2022 10:16:02 +0000 Subject: [PATCH 76/95] add artifact-repo-test.yml for Gitee Go created_at:2022-03-17 10:16:02 --- .workflow/artifact-repo-test.yml | 49 ++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .workflow/artifact-repo-test.yml diff --git a/.workflow/artifact-repo-test.yml b/.workflow/artifact-repo-test.yml new file mode 100644 index 0000000..aff165e --- /dev/null +++ b/.workflow/artifact-repo-test.yml @@ -0,0 +1,49 @@ +version: '1.0' +name: artifact-repo-test +displayName: 测试整体流程 +triggers: + trigger: auto + push: + branches: + prefix: + - '' +stages: + - name: stage-eb6f433011 + displayName: 编译上传 + strategy: naturally + trigger: auto + executor: [] + steps: + - step: build@maven + name: build_maven + displayName: Maven 构建 + jdkVersion: '8' + mavenVersion: 3.3.9 + commands: + - echo "aaaeraer" > ss.txt + artifacts: + - name: BUILD_ARTIFACT + path: + - ./ss.txt + settings: [] + - step: publish@general_artifacts + name: publish_general_artifacts + displayName: 上传制品 + dependArtifact: BUILD_ARTIFACT + artifactName: output + dependsOn: build_maven + - name: stage-2ced9837 + displayName: 发布 + strategy: naturally + trigger: manual + executor: [] + steps: + - step: publish@release_artifacts + name: publish_release_artifacts + displayName: 发布 + dependArtifact: output + version: 1.0.0.0 + autoIncrement: true +permissions: + - role: admin + members: [] -- Gitee From 60fcf39a38b055466e0a1b52d768d18a92d7ab76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 17 Mar 2022 10:17:14 +0000 Subject: [PATCH 77/95] update artifact-repo-test.yml for Gitee Go updated_at:2022-03-17 10:17:13 --- .workflow/artifact-repo-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/artifact-repo-test.yml b/.workflow/artifact-repo-test.yml index aff165e..701f7e5 100644 --- a/.workflow/artifact-repo-test.yml +++ b/.workflow/artifact-repo-test.yml @@ -8,7 +8,7 @@ triggers: prefix: - '' stages: - - name: stage-eb6f433011 + - name: stage-eb6f4330111 displayName: 编译上传 strategy: naturally trigger: auto -- Gitee From 4fea980805dbc4de11b6ff95ae9a5a6225f0ec09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 17 Mar 2022 10:19:14 +0000 Subject: [PATCH 78/95] update artifact-repo-test.yml for Gitee Go updated_at:2022-03-17 10:19:14 --- .workflow/artifact-repo-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/artifact-repo-test.yml b/.workflow/artifact-repo-test.yml index 701f7e5..a6c36cc 100644 --- a/.workflow/artifact-repo-test.yml +++ b/.workflow/artifact-repo-test.yml @@ -8,7 +8,7 @@ triggers: prefix: - '' stages: - - name: stage-eb6f4330111 + - name: stage-eb6f4330 displayName: 编译上传 strategy: naturally trigger: auto -- Gitee From e69ce5a5b521c634eb88025325b14d2c34d244a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 17 Mar 2022 10:28:09 +0000 Subject: [PATCH 79/95] update artifact-repo-test.yml for Gitee Go updated_at:2022-03-17 10:28:09 --- .workflow/artifact-repo-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/artifact-repo-test.yml b/.workflow/artifact-repo-test.yml index a6c36cc..83190bd 100644 --- a/.workflow/artifact-repo-test.yml +++ b/.workflow/artifact-repo-test.yml @@ -32,7 +32,7 @@ stages: dependArtifact: BUILD_ARTIFACT artifactName: output dependsOn: build_maven - - name: stage-2ced9837 + - name: stage-2ced98371 displayName: 发布 strategy: naturally trigger: manual -- Gitee From dfc8ffb59f7aeb40bd535b4b35ae744d5512279d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 17 Mar 2022 10:33:52 +0000 Subject: [PATCH 80/95] update artifact-repo-test.yml for Gitee Go updated_at:2022-03-17 10:33:52 --- .workflow/artifact-repo-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.workflow/artifact-repo-test.yml b/.workflow/artifact-repo-test.yml index 83190bd..aff165e 100644 --- a/.workflow/artifact-repo-test.yml +++ b/.workflow/artifact-repo-test.yml @@ -8,7 +8,7 @@ triggers: prefix: - '' stages: - - name: stage-eb6f4330 + - name: stage-eb6f433011 displayName: 编译上传 strategy: naturally trigger: auto @@ -32,7 +32,7 @@ stages: dependArtifact: BUILD_ARTIFACT artifactName: output dependsOn: build_maven - - name: stage-2ced98371 + - name: stage-2ced9837 displayName: 发布 strategy: naturally trigger: manual -- Gitee From 74cc92536ff118d55ea9e199ec551bd5055a9326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 17 Mar 2022 10:34:36 +0000 Subject: [PATCH 81/95] update artifact-repo-test.yml for Gitee Go updated_at:2022-03-17 10:34:35 --- .workflow/artifact-repo-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/artifact-repo-test.yml b/.workflow/artifact-repo-test.yml index aff165e..701f7e5 100644 --- a/.workflow/artifact-repo-test.yml +++ b/.workflow/artifact-repo-test.yml @@ -8,7 +8,7 @@ triggers: prefix: - '' stages: - - name: stage-eb6f433011 + - name: stage-eb6f4330111 displayName: 编译上传 strategy: naturally trigger: auto -- Gitee From 1185a5f94d0e2d0e43c607f86e8706dc920cbc55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 17 Mar 2022 10:53:28 +0000 Subject: [PATCH 82/95] update artifact-repo-test.yml for Gitee Go updated_at:2022-03-17 10:53:25 --- .workflow/artifact-repo-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/artifact-repo-test.yml b/.workflow/artifact-repo-test.yml index 701f7e5..b7eebd3 100644 --- a/.workflow/artifact-repo-test.yml +++ b/.workflow/artifact-repo-test.yml @@ -32,7 +32,7 @@ stages: dependArtifact: BUILD_ARTIFACT artifactName: output dependsOn: build_maven - - name: stage-2ced9837 + - name: stage-2ced98371 displayName: 发布 strategy: naturally trigger: manual -- Gitee From 4d3b8c3f28484b05e7aa538c988b5f18e916e410 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 17 Mar 2022 11:57:05 +0000 Subject: [PATCH 83/95] update artifact-repo-test.yml for Gitee Go updated_at:2022-03-17 11:57:05 --- .workflow/artifact-repo-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/artifact-repo-test.yml b/.workflow/artifact-repo-test.yml index b7eebd3..98a1de2 100644 --- a/.workflow/artifact-repo-test.yml +++ b/.workflow/artifact-repo-test.yml @@ -35,7 +35,7 @@ stages: - name: stage-2ced98371 displayName: 发布 strategy: naturally - trigger: manual + trigger: auto executor: [] steps: - step: publish@release_artifacts -- Gitee From 2a903321a80dd365084d1f9227d5edeb21692817 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Thu, 17 Mar 2022 11:57:09 +0000 Subject: [PATCH 84/95] update artifact-repo-test.yml for Gitee Go updated_at:2022-03-17 11:57:08 -- Gitee From 88fa1756eb153252662f18a11b148331e80341bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Mon, 21 Mar 2022 02:21:16 +0000 Subject: [PATCH 85/95] update test-maven.yml for Gitee Go updated_at:2022-03-21 02:21:16 --- .workflow/test-maven.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.workflow/test-maven.yml b/.workflow/test-maven.yml index b75644f..f225375 100644 --- a/.workflow/test-maven.yml +++ b/.workflow/test-maven.yml @@ -17,9 +17,10 @@ stages: - step: build@maven name: build_maven displayName: Maven 构建 - jdkVersion: '8' + jdkVersion: '11' mavenVersion: 3.3.9 commands: + - java -version - mvn -B clean package -Dmaven.test.skip=true artifacts: - name: BUILD_ARTIFACT -- Gitee From 112aac28385d985c761dd2496773cd227e150592 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Mon, 21 Mar 2022 07:12:25 +0000 Subject: [PATCH 86/95] update test-maven.yml for Gitee Go updated_at:2022-03-21 07:12:25 --- .workflow/test-maven.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.workflow/test-maven.yml b/.workflow/test-maven.yml index f225375..4302464 100644 --- a/.workflow/test-maven.yml +++ b/.workflow/test-maven.yml @@ -21,6 +21,8 @@ stages: mavenVersion: 3.3.9 commands: - java -version + - ls + - pwd - mvn -B clean package -Dmaven.test.skip=true artifacts: - name: BUILD_ARTIFACT -- Gitee From aef0395b9e355ebe4f69ba9abec92dd05cf59cef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Mon, 21 Mar 2022 07:14:02 +0000 Subject: [PATCH 87/95] update test-maven.yml for Gitee Go updated_at:2022-03-21 07:14:02 --- .workflow/test-maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/test-maven.yml b/.workflow/test-maven.yml index 4302464..402195f 100644 --- a/.workflow/test-maven.yml +++ b/.workflow/test-maven.yml @@ -44,7 +44,7 @@ stages: - step: publish@release_artifacts name: publish_release_artifacts displayName: 发布 - dependArtifact: BUILD_ARTIFACT + dependArtifact: output version: 1.0.0.0 autoIncrement: true permissions: -- Gitee From c433d87d440ac876af3b4973ef1d60ffa2c3bb1c Mon Sep 17 00:00:00 2001 From: zhuguohui <775737814@qq.com> Date: Mon, 21 Mar 2022 07:15:11 +0000 Subject: [PATCH 88/95] update artifact-repo-test.yml for Gitee Go updated_at:2022-03-21 07:15:11 --- .workflow/artifact-repo-test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.workflow/artifact-repo-test.yml b/.workflow/artifact-repo-test.yml index 98a1de2..898c916 100644 --- a/.workflow/artifact-repo-test.yml +++ b/.workflow/artifact-repo-test.yml @@ -20,7 +20,11 @@ stages: jdkVersion: '8' mavenVersion: 3.3.9 commands: - - echo "aaaeraer" > ss.txt + - for i in {1..1000000} + - do + - echo "aaaeraerbbdbdbdbdbbdbdbdb" >> ss.txt; + - echo "aaaeraerbbdbdbdbdbbdbdbdd" >> ss.txt; + - done artifacts: - name: BUILD_ARTIFACT path: -- Gitee From 6dbe7d9c9f829a974b1976bd5691f5623aa8b3fb Mon Sep 17 00:00:00 2001 From: zhuguohui <775737814@qq.com> Date: Mon, 21 Mar 2022 07:25:47 +0000 Subject: [PATCH 89/95] update artifact-repo-test.yml for Gitee Go updated_at:2022-03-21 07:25:47 --- .workflow/artifact-repo-test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.workflow/artifact-repo-test.yml b/.workflow/artifact-repo-test.yml index 898c916..1df05b9 100644 --- a/.workflow/artifact-repo-test.yml +++ b/.workflow/artifact-repo-test.yml @@ -24,6 +24,8 @@ stages: - do - echo "aaaeraerbbdbdbdbdbbdbdbdb" >> ss.txt; - echo "aaaeraerbbdbdbdbdbbdbdbdd" >> ss.txt; + - echo "aaaeraerbbdbdbdbdbbdbdbdb" >> ss1.txt; + - echo "aaaeraerbbdbdbdbdbbdbdbdd" >> ss1.txt; - done artifacts: - name: BUILD_ARTIFACT -- Gitee From 9877aedf0a60f28a1b6ccb2825943318340656f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Mon, 21 Mar 2022 07:35:14 +0000 Subject: [PATCH 90/95] update artifact-repo-test.yml for Gitee Go updated_at:2022-03-21 07:35:14 --- .workflow/artifact-repo-test.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.workflow/artifact-repo-test.yml b/.workflow/artifact-repo-test.yml index 1df05b9..b75449d 100644 --- a/.workflow/artifact-repo-test.yml +++ b/.workflow/artifact-repo-test.yml @@ -20,17 +20,11 @@ stages: jdkVersion: '8' mavenVersion: 3.3.9 commands: - - for i in {1..1000000} - - do - - echo "aaaeraerbbdbdbdbdbbdbdbdb" >> ss.txt; - - echo "aaaeraerbbdbdbdbdbbdbdbdd" >> ss.txt; - - echo "aaaeraerbbdbdbdbdbbdbdbdb" >> ss1.txt; - - echo "aaaeraerbbdbdbdbdbbdbdbdd" >> ss1.txt; - - done + - mvn -B clean package -Dmaven.test.skip=true artifacts: - name: BUILD_ARTIFACT path: - - ./ss.txt + - ./target settings: [] - step: publish@general_artifacts name: publish_general_artifacts -- Gitee From 314d9909e1934886edcaba577f32b8347e3c9c38 Mon Sep 17 00:00:00 2001 From: zhuguohui <775737814@qq.com> Date: Mon, 21 Mar 2022 07:35:18 +0000 Subject: [PATCH 91/95] update artifact-repo-test.yml for Gitee Go updated_at:2022-03-21 07:35:17 --- .workflow/artifact-repo-test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.workflow/artifact-repo-test.yml b/.workflow/artifact-repo-test.yml index b75449d..febc814 100644 --- a/.workflow/artifact-repo-test.yml +++ b/.workflow/artifact-repo-test.yml @@ -20,11 +20,14 @@ stages: jdkVersion: '8' mavenVersion: 3.3.9 commands: - - mvn -B clean package -Dmaven.test.skip=true + - for i in {1..1000000} + - do + - echo "aaaeraerbbdbdbdbdbbdbdbdbaaaeraerbbdbdbdbdbbdbdbdbaaaeraerbbdbdbdbdbbdbdbdbaaaeraerbbdbdbdbdbbdbdbdbaaaeraerbbdbdbdbdbbdbdbdbaaaeraerbbdbdbdbdbbdbdbdbaaaeraerbbdbdbdbdbbdbdbdbaaaeraerbbdbdbdbdbbdbdbdb" >> ss.txt; + - done artifacts: - name: BUILD_ARTIFACT path: - - ./target + - ./ss.txt settings: [] - step: publish@general_artifacts name: publish_general_artifacts -- Gitee From e011aa8f91f6d2765e8cda37751ba74c3dc32306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Mon, 21 Mar 2022 07:38:53 +0000 Subject: [PATCH 92/95] update artifact-repo-test.yml for Gitee Go updated_at:2022-03-21 07:38:53 --- .workflow/artifact-repo-test.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.workflow/artifact-repo-test.yml b/.workflow/artifact-repo-test.yml index febc814..b75449d 100644 --- a/.workflow/artifact-repo-test.yml +++ b/.workflow/artifact-repo-test.yml @@ -20,14 +20,11 @@ stages: jdkVersion: '8' mavenVersion: 3.3.9 commands: - - for i in {1..1000000} - - do - - echo "aaaeraerbbdbdbdbdbbdbdbdbaaaeraerbbdbdbdbdbbdbdbdbaaaeraerbbdbdbdbdbbdbdbdbaaaeraerbbdbdbdbdbbdbdbdbaaaeraerbbdbdbdbdbbdbdbdbaaaeraerbbdbdbdbdbbdbdbdbaaaeraerbbdbdbdbdbbdbdbdbaaaeraerbbdbdbdbdbbdbdbdb" >> ss.txt; - - done + - mvn -B clean package -Dmaven.test.skip=true artifacts: - name: BUILD_ARTIFACT path: - - ./ss.txt + - ./target settings: [] - step: publish@general_artifacts name: publish_general_artifacts -- Gitee From bed6dc53136efe3172e2aa0446646bf35bf71b6e Mon Sep 17 00:00:00 2001 From: XiaoXuxuy Date: Thu, 24 Mar 2022 10:37:55 +0800 Subject: [PATCH 93/95] =?UTF-8?q?=E5=8D=95=E5=85=83=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/pom.xml b/pom.xml index 1230676..d10873d 100644 --- a/pom.xml +++ b/pom.xml @@ -41,6 +41,45 @@ org.springframework.boot spring-boot-maven-plugin + + org.jacoco + jacoco-maven-plugin + 0.7.9 + + + pre-unit-test + + prepare-agent + + + surefireArgLine + + + + post-unit-test + test + + report + + + ${basedir}/target/jacoco.exec + ${basedir}/target/site/jacoco + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.22.2 + + ${surefireArgLine} + false + + **/*Test*.java + + + -- Gitee From 54336ff3cb4af9e141764b88bca879b58719da0c Mon Sep 17 00:00:00 2001 From: XiaoXuxuy Date: Thu, 24 Mar 2022 10:39:43 +0800 Subject: [PATCH 94/95] =?UTF-8?q?=E5=8D=95=E5=85=83=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .workflow/master-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/master-pipeline.yml b/.workflow/master-pipeline.yml index 3d090ca..e8fd1c1 100644 --- a/.workflow/master-pipeline.yml +++ b/.workflow/master-pipeline.yml @@ -23,7 +23,7 @@ stages: path: - ./target commands: - - mvn -B clean package -Dmaven.test.skip=true + - mvn -B clean test package -Dmaven.test.failure.ignore=true - step: publish@general_artifacts name: publish_general_artifacts displayName: 上传制品 -- Gitee From 0223b347aca34636bde066fb0d7baa6a030b3628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=97=AD?= <22476705@qq.com> Date: Wed, 6 Apr 2022 02:07:45 +0000 Subject: [PATCH 95/95] update HELP.md. --- HELP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HELP.md b/HELP.md index 2691f42..3ba3603 100644 --- a/HELP.md +++ b/HELP.md @@ -1,5 +1,5 @@ -### Reference Documentation +### Reference Documentation1 For further reference, please cffffonsider the following sections: * [Official Apache Maven doqweqwcumentation](https://maven.apache.org/guides/index.html) -- Gitee