Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
so-manage-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
smart-operation
so-manage-ui
Commits
611f2376
You need to sign in or sign up before continuing.
Commit
611f2376
authored
Aug 15, 2023
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跳转交互处理
parent
5f4c7874
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
35 deletions
+32
-35
.beagle.yml
.beagle.yml
+26
-26
.beagle/dockerfile
.beagle/dockerfile
+4
-2
src/page/main/auto-maintenance/task-history/list/record/index.vue
.../main/auto-maintenance/task-history/list/record/index.vue
+1
-6
src/page/main/auto-maintenance/task-manage/index.vue
src/page/main/auto-maintenance/task-manage/index.vue
+1
-1
No files found.
.beagle.yml
View file @
611f2376
...
...
@@ -17,15 +17,15 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
image
:
registry.cn-qingdao.aliyuncs.com/wod/devops-git:1.0
network_mode
:
host
#
- name: s3-cache
#
image: registry.cn-qingdao.aliyuncs.com/wod/devops-s3-cache:1.0
#
network_mode: host
#
settings:
#
endpoint: http://cache.wodcloud.com
#
access_key:
#
from_secret: ACCESS_KEY_MINIO
#
secret_key:
#
from_secret: SECRET_KEY_MINIO
-
name
:
s3-cache
image
:
registry.cn-qingdao.aliyuncs.com/wod/devops-s3-cache:1.0
network_mode
:
host
settings
:
endpoint
:
http://cache.wodcloud.com
access_key
:
from_secret
:
ACCESS_KEY_MINIO
secret_key
:
from_secret
:
SECRET_KEY_MINIO
-
name
:
build
# 项目打包
image
:
registry.cn-qingdao.aliyuncs.com/wod/devops-node:16.16.0-slim
...
...
@@ -37,19 +37,19 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
-
export NODE_ENV=production
-
yarn build
#
- name: s3-cache-build
#
image: registry.cn-qingdao.aliyuncs.com/wod/devops-s3-cache:1.0
#
network_mode: host
#
settings:
#
rebuild: true
#
hash: package.json
#
mount:
#
- node_modules
#
endpoint: http://cache.wodcloud.com
#
access_key:
#
from_secret: ACCESS_KEY_MINIO
#
secret_key:
#
from_secret: SECRET_KEY_MINIO
-
name
:
s3-cache-build
image
:
registry.cn-qingdao.aliyuncs.com/wod/devops-s3-cache:1.0
network_mode
:
host
settings
:
rebuild
:
true
hash
:
package.json
mount
:
-
node_modules
endpoint
:
http://cache.wodcloud.com
access_key
:
from_secret
:
ACCESS_KEY_MINIO
secret_key
:
from_secret
:
SECRET_KEY_MINIO
-
name
:
docker-amd64
image
:
registry.cn-qingdao.aliyuncs.com/wod/devops-docker:1.0
...
...
@@ -58,7 +58,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
-
name
:
docker-sock
path
:
/var/run/docker.sock
# 将下载依赖的目录挂载出来,防止重复下载
settings
:
# 当前设置
base
:
registry.cn-qingdao.aliyuncs.com/wod/
nginx:1.19.5
-amd64
# 基础镜像
base
:
registry.cn-qingdao.aliyuncs.com/wod/
ui-base:v6.1
-amd64
# 基础镜像
dockerfile
:
.beagle/dockerfile
repo
:
smart-operation/so-manage-ui
# 生成镜像的 分组/名称
version
:
"
v3.0.1"
# 版本号
...
...
@@ -89,7 +89,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
-
name
:
docker-sock
path
:
/var/run/docker.sock
settings
:
base
:
registry.cn-qingdao.aliyuncs.com/wod/
nginx:1.19.5
-arm64
base
:
registry.cn-qingdao.aliyuncs.com/wod/
ui-base:v6.1
-arm64
dockerfile
:
.beagle/dockerfile
repo
:
smart-operation/so-manage-ui
version
:
"
v3.0.1"
...
...
@@ -107,7 +107,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
-
name
:
docker-sock
path
:
/var/run/docker.sock
settings
:
base
:
registry.cn-qingdao.aliyuncs.com/wod/
nginx:1.19.5
-ppc64le
base
:
registry.cn-qingdao.aliyuncs.com/wod/
ui-base:v6.1
-ppc64le
dockerfile
:
.beagle/dockerfile
repo
:
smart-operation/so-manage-ui
version
:
"
v3.0.1"
...
...
@@ -125,7 +125,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
-
name
:
docker-sock
path
:
/var/run/docker.sock
settings
:
base
:
registry.cn-qingdao.aliyuncs.com/wod/
nginx:1.19.5
-mips64le
base
:
registry.cn-qingdao.aliyuncs.com/wod/
ui-base:v6.1
-mips64le
dockerfile
:
.beagle/dockerfile
repo
:
smart-operation/so-manage-ui
version
:
"
v3.0.1"
...
...
.beagle/dockerfile
View file @
611f2376
...
...
@@ -3,6 +3,8 @@ FROM $BASE
ARG
AUTHOR
ARG
VERSION
LABEL
maintainer=${AUTHOR} version=${VERSION}
A
DD
./dist /usr/share/nginx/html
A
DD
./.beagle/nginx.conf /etc/nginx/nginx.conf
A
RG
TARGETOS
A
RG
TARGETARCH
ENV
INDEX /so/manage/ui
ADD
./dist /www
\ No newline at end of file
src/page/main/auto-maintenance/task-history/list/record/index.vue
View file @
611f2376
...
...
@@ -3,12 +3,7 @@
<bg-breadcrumb></bg-breadcrumb>
<div
class=
"main_container"
>
<div
class=
"top-container"
>
<el-button
class=
"back"
type=
"default"
@
click=
"router.replace(`/auto-maintenance/task-history/list?id=$
{route.query.task_id}`)">
返回
</el-button>
<el-button
class=
"back"
type=
"default"
@
click=
"router.go(-1)"
>
返回
</el-button>
{{
state
.
taskName
}}
/
{{
state
.
desc
}}
</div>
<div
class=
"middle-container"
>
...
...
src/page/main/auto-maintenance/task-manage/index.vue
View file @
611f2376
...
...
@@ -202,7 +202,7 @@ const confirmUse = () => {
.
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
200
)
{
ElMessage
.
success
(
"
执行成功
"
);
router
.
push
(
`/auto-maintenance/task-
history/list
/record?id=
${
res
.
data
.
data
}
`
);
router
.
push
(
`/auto-maintenance/task-
manage
/record?id=
${
res
.
data
.
data
}
`
);
}
else
{
ElMessage
.
error
(
res
.
data
.
msg
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment