Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
web-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
web-ci-test
Commits
ea6dbe5f
提交
ea6dbe5f
authored
6月 15, 2023
作者:
龚洪江
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' into feature/chuck
上级
55e7be87
24d08872
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
12 行增加
和
13 行删除
+12
-13
develop.yml
.github/workflows/develop.yml
+2
-2
master.yml
.github/workflows/master.yml
+2
-2
README.md
README.md
+1
-1
deployment.yaml
kustomization/base/deployment.yaml
+2
-3
kustomization.yaml
kustomization/overlays/prod/kustomization.yaml
+1
-1
next.config.js
next.config.js
+2
-2
index.tsx
...home/waterfallFlowBody/components/rotationChart/index.tsx
+2
-2
没有找到文件。
.github/workflows/
feature-chuck
.yml
→
.github/workflows/
develop
.yml
浏览文件 @
ea6dbe5f
...
@@ -2,7 +2,7 @@ name: Build and Push to ACR
...
@@ -2,7 +2,7 @@ name: Build and Push to ACR
on
:
on
:
push
:
push
:
branches
:
[
"
feature/chuck
"
]
branches
:
[
"
develop
"
]
env
:
env
:
REGION_ID
:
cn-shenzhen
REGION_ID
:
cn-shenzhen
...
@@ -57,4 +57,4 @@ jobs:
...
@@ -57,4 +57,4 @@ jobs:
git config user.email "Chuck@users.noreply.github.com"
git config user.email "Chuck@users.noreply.github.com"
git remote set-url origin "$GITLAB_URL"
git remote set-url origin "$GITLAB_URL"
git commit -am "Generated Image Update"
git commit -am "Generated Image Update"
git push origin "
feature/chuck
"
git push origin "
develop
"
.github/workflows/
release-chuck
.yml
→
.github/workflows/
master
.yml
浏览文件 @
ea6dbe5f
...
@@ -3,7 +3,7 @@ name: Build and Push to ACR
...
@@ -3,7 +3,7 @@ name: Build and Push to ACR
on
:
on
:
push
:
push
:
### Production
### Production
branches
:
[
"
release/chuck
"
]
branches
:
[
"
master
"
]
env
:
env
:
REGION_ID
:
cn-shenzhen
REGION_ID
:
cn-shenzhen
...
@@ -58,4 +58,4 @@ jobs:
...
@@ -58,4 +58,4 @@ jobs:
git config user.email "Chuck@users.noreply.github.com"
git config user.email "Chuck@users.noreply.github.com"
git remote set-url origin "$GITLAB_URL"
git remote set-url origin "$GITLAB_URL"
git commit -am "generated Image update"
git commit -am "generated Image update"
git push origin "
release/chuck
"
git push origin "
master
"
README.md
浏览文件 @
ea6dbe5f
...
@@ -5,7 +5,7 @@ github: https://github.com/sharefly-iuav/web
...
@@ -5,7 +5,7 @@ github: https://github.com/sharefly-iuav/web
1.
先本地npm run build, 确认构建前ts检查无错误, 可构建成功.
1.
先本地npm run build, 确认构建前ts检查无错误, 可构建成功.
## 构建测试服
## 构建测试服
1.
切换到
feature/chuck
分支下, 先提交gitlab, 再提交github, 自动触发构建测试服
1.
切换到
develop
分支下, 先提交gitlab, 再提交github, 自动触发构建测试服
## 构建正式服
## 构建正式服
1.
ssh连接到远程服务器登录(ip:120.77.247.178 账号: root 密码: YXF&mmc@m2023)
1.
ssh连接到远程服务器登录(ip:120.77.247.178 账号: root 密码: YXF&mmc@m2023)
...
...
kustomization/base/deployment.yaml
浏览文件 @
ea6dbe5f
...
@@ -4,7 +4,7 @@ metadata:
...
@@ -4,7 +4,7 @@ metadata:
name
:
web-deployment
name
:
web-deployment
namespace
:
default
namespace
:
default
spec
:
spec
:
minReadySeconds
:
250
#
minReadySeconds: 250
revisionHistoryLimit
:
2
revisionHistoryLimit
:
2
replicas
:
1
replicas
:
1
selector
:
selector
:
...
@@ -23,4 +23,4 @@ spec:
...
@@ -23,4 +23,4 @@ spec:
memory
:
512Mi
memory
:
512Mi
cpu
:
100m
cpu
:
100m
ports
:
ports
:
-
containerPort
:
3000
-
containerPort
:
3000
\ No newline at end of file
kustomization/overlays/prod/kustomization.yaml
浏览文件 @
ea6dbe5f
...
@@ -18,4 +18,4 @@ patches:
...
@@ -18,4 +18,4 @@ patches:
images
:
images
:
-
name
:
REGISTRY/NAMESPACE/IMAGE:TAG
-
name
:
REGISTRY/NAMESPACE/IMAGE:TAG
newName
:
mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly/web
newName
:
mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly/web
newTag
:
18a408695e671822e9b91f298e42cdb52a870360
newTag
:
bfd86338f2723db513e880683b5e4281a1b047b8
next.config.js
浏览文件 @
ea6dbe5f
...
@@ -27,8 +27,8 @@ const nextConfig = {
...
@@ -27,8 +27,8 @@ const nextConfig = {
return
[
return
[
{
{
source
:
'/local/:path*'
,
source
:
'/local/:path*'
,
// destination: 'https://iuav.mmcuav.cn
/:path*',
destination
:
'https://www.iuav.shop
/:path*'
,
destination
:
'https://test.iuav.shop/:path*'
,
//
destination: 'https://test.iuav.shop/:path*',
},
},
];
];
},
},
...
...
pages/home/waterfallFlowBody/components/rotationChart/index.tsx
浏览文件 @
ea6dbe5f
...
@@ -8,8 +8,8 @@ export default function RotationChart() {
...
@@ -8,8 +8,8 @@ export default function RotationChart() {
'https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/1(1).jpg'
,
'https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/1(1).jpg'
,
'https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/2(1).jpg'
,
'https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/2(1).jpg'
,
'https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/3(1).jpg'
,
'https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/3(1).jpg'
,
'https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
4(1)
.jpg'
,
'https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
a0dc9062-cef8-44ce-bbba-ee82a0d5fe80
.jpg'
,
'https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
5(1)
.jpg'
,
'https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
95843a99-e8bf-4156-b47a-cf3720f4a885
.jpg'
,
];
];
return
(
return
(
<
Box
>
<
Box
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论