From 9c4b476163586e251cb31f60117dcf17bec85448 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Fri, 8 Sep 2023 09:59:14 +0800 Subject: [PATCH 1/5] =?UTF-8?q?feat:=20.devops/=E6=9C=AA=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devops/未命名项目.yml | 53 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .devops/未命名项目.yml diff --git a/.devops/未命名项目.yml b/.devops/未命名项目.yml new file mode 100644 index 0000000..8cba901 --- /dev/null +++ b/.devops/未命名项目.yml @@ -0,0 +1,53 @@ +version: 2 +name: 未命名项目 +description: "" +global: + concurrent: 1 +workflow: + - ref: start + name: 开始 + task: start + - ref: nodejs_build_0 + name: nodejs构建 + task: nodejs_build@1.7.0-node12 + input: + workspace: '"((git_clone_0.git_path))"' + build_action: '"build"' + build_args: '""' + install_args: '""' + registry_url: '""' + disturl_url: '""' + sass_binary_site_url: '""' + package_management_type: '"yarn"' + vc_package_dir: '"."' + cache_path: '"/cache"' + needs: + - git_clone_0 + - ref: git_clone_0 + name: git clone + task: git_clone@1.2.9 + input: + remote_url: '"https://www.gitlink.org.cn/gitlink/gitlink_help_center.git"' + ref: '"refs/heads/master"' + commit_id: '""' + depth: 1 + needs: + - start + - ref: end + name: 结束 + task: end + needs: + - scp_resource_0 + - ref: scp_resource_0 + name: scp替换文件 + task: scp_resource@1.4.3 + input: + ssh_ip: '""' + ssh_port: '"22"' + ssh_user: '"root"' + remote_file: '""' + local_file: '""' + file_content: '""' + needs: + - nodejs_build_0 + From 02b74f20b3c558c3604004491ceea8e890b1a6e9 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Fri, 8 Sep 2023 10:01:27 +0800 Subject: [PATCH 2/5] =?UTF-8?q?refactor:=20delete=20.devops/=E6=9C=AA?= =?UTF-8?q?=E5=91=BD=E5=90=8D=E9=A1=B9=E7=9B=AE.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devops/未命名项目.yml | 53 ------------------------------------------ 1 file changed, 53 deletions(-) delete mode 100644 .devops/未命名项目.yml diff --git a/.devops/未命名项目.yml b/.devops/未命名项目.yml deleted file mode 100644 index 8cba901..0000000 --- a/.devops/未命名项目.yml +++ /dev/null @@ -1,53 +0,0 @@ -version: 2 -name: 未命名项目 -description: "" -global: - concurrent: 1 -workflow: - - ref: start - name: 开始 - task: start - - ref: nodejs_build_0 - name: nodejs构建 - task: nodejs_build@1.7.0-node12 - input: - workspace: '"((git_clone_0.git_path))"' - build_action: '"build"' - build_args: '""' - install_args: '""' - registry_url: '""' - disturl_url: '""' - sass_binary_site_url: '""' - package_management_type: '"yarn"' - vc_package_dir: '"."' - cache_path: '"/cache"' - needs: - - git_clone_0 - - ref: git_clone_0 - name: git clone - task: git_clone@1.2.9 - input: - remote_url: '"https://www.gitlink.org.cn/gitlink/gitlink_help_center.git"' - ref: '"refs/heads/master"' - commit_id: '""' - depth: 1 - needs: - - start - - ref: end - name: 结束 - task: end - needs: - - scp_resource_0 - - ref: scp_resource_0 - name: scp替换文件 - task: scp_resource@1.4.3 - input: - ssh_ip: '""' - ssh_port: '"22"' - ssh_user: '"root"' - remote_file: '""' - local_file: '""' - file_content: '""' - needs: - - nodejs_build_0 - From 437c803a8aa2c2f219b88c9e54b52b89dc670805 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Fri, 8 Sep 2023 10:01:28 +0800 Subject: [PATCH 3/5] =?UTF-8?q?feat:=20.devops/=E7=94=9F=E4=BA=A7=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=8F=91=E5=B8=83.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devops/生产环境发布.yml | 53 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .devops/生产环境发布.yml diff --git a/.devops/生产环境发布.yml b/.devops/生产环境发布.yml new file mode 100644 index 0000000..05ac588 --- /dev/null +++ b/.devops/生产环境发布.yml @@ -0,0 +1,53 @@ +version: 2 +name: 生产环境发布 +description: "" +global: + concurrent: 1 +workflow: + - ref: start + name: 开始 + task: start + - ref: nodejs_build_0 + name: nodejs构建 + task: nodejs_build@1.7.0-node12 + input: + workspace: ((git_clone_0.git_path)) + build_action: '"build"' + build_args: '""' + install_args: '""' + registry_url: '""' + disturl_url: '""' + sass_binary_site_url: '""' + package_management_type: '"yarn"' + vc_package_dir: '"."' + cache_path: '"/cache"' + needs: + - git_clone_0 + - ref: git_clone_0 + name: git clone + task: git_clone@1.2.9 + input: + remote_url: '"https://www.gitlink.org.cn/gitlink/gitlink_help_center.git"' + ref: '"refs/heads/master"' + commit_id: '""' + depth: 1 + needs: + - start + - ref: end + name: 结束 + task: end + needs: + - scp_resource_0 + - ref: scp_resource_0 + name: scp替换文件 + task: scp_resource@1.4.3 + input: + ssh_ip: '""' + ssh_port: '"22"' + ssh_user: '"root"' + remote_file: '""' + local_file: '""' + file_content: '""' + needs: + - nodejs_build_0 + From 2c606be80c37374058ddf8560c8029b82d54b1ed Mon Sep 17 00:00:00 2001 From: xxq250 Date: Fri, 8 Sep 2023 10:02:58 +0800 Subject: [PATCH 4/5] =?UTF-8?q?refactor:=20.devops/=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E5=8F=91=E5=B8=83.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devops/生产环境发布.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.devops/生产环境发布.yml b/.devops/生产环境发布.yml index 05ac588..5431ab4 100644 --- a/.devops/生产环境发布.yml +++ b/.devops/生产环境发布.yml @@ -9,9 +9,9 @@ workflow: task: start - ref: nodejs_build_0 name: nodejs构建 - task: nodejs_build@1.7.0-node12 + task: nodejs_build@1.7.0-node18 input: - workspace: ((git_clone_0.git_path)) + workspace: '""' build_action: '"build"' build_args: '""' install_args: '""' From de7d694972179261518de8fc7b23290cc2ad489f Mon Sep 17 00:00:00 2001 From: xxq250 Date: Fri, 8 Sep 2023 10:05:06 +0800 Subject: [PATCH 5/5] =?UTF-8?q?refactor:=20.devops/=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E5=8F=91=E5=B8=83.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devops/生产环境发布.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devops/生产环境发布.yml b/.devops/生产环境发布.yml index 5431ab4..681d470 100644 --- a/.devops/生产环境发布.yml +++ b/.devops/生产环境发布.yml @@ -11,7 +11,7 @@ workflow: name: nodejs构建 task: nodejs_build@1.7.0-node18 input: - workspace: '""' + workspace: ((git_clone_0.git_path)) build_action: '"build"' build_args: '""' install_args: '""'