From 8b438d9ffff3b3420de1d7627b8366156a579b9b Mon Sep 17 00:00:00 2001 From: lannoy0523 <46735290+lannoy0523@users.noreply.github.com> Date: Tue, 8 Oct 2024 16:06:34 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=96=B0=E5=A2=9Es3=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E4=BB=93=E5=BA=93=20#2593?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat:新增s3类型仓库 #2593 * feat:新增s3类型仓库 --- .../devops-repository/src/images/s3.svg | 149 ++++++++++++++++++ .../devops-repository/src/store/publicEnum.js | 6 +- 2 files changed, 153 insertions(+), 2 deletions(-) create mode 100644 src/frontend/devops-repository/src/images/s3.svg diff --git a/src/frontend/devops-repository/src/images/s3.svg b/src/frontend/devops-repository/src/images/s3.svg new file mode 100644 index 0000000000..bc2f9503ce --- /dev/null +++ b/src/frontend/devops-repository/src/images/s3.svg @@ -0,0 +1,149 @@ + + + + diff --git a/src/frontend/devops-repository/src/store/publicEnum.js b/src/frontend/devops-repository/src/store/publicEnum.js index c576bc722e..5aea76291d 100644 --- a/src/frontend/devops-repository/src/store/publicEnum.js +++ b/src/frontend/devops-repository/src/store/publicEnum.js @@ -6,7 +6,8 @@ export const repoEnum = MODE_CONFIG === 'ci' { label: 'Helm', value: 'helm' }, { label: 'Docker', value: 'docker' }, // { label: 'Rds', value: 'rds' }, - { label: 'Nuget', value: 'nuget' } + { label: 'Nuget', value: 'nuget' }, + { label: 'S3', value: 's3' } ] : [ { label: 'Generic', value: 'generic' }, @@ -20,7 +21,8 @@ export const repoEnum = MODE_CONFIG === 'ci' { label: 'Composer', value: 'composer' }, { label: 'Rpm', value: 'rpm' }, { label: 'Git', value: 'git' }, - { label: 'Nuget', value: 'nuget' } + { label: 'Nuget', value: 'nuget' }, + { label: 'S3', value: 's3' } ] // 文件类型