Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
web-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
web-ci-test
Commits
9edc664f
提交
9edc664f
authored
6月 15, 2023
作者:
龚洪江
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/master'
上级
fedb1248
70ebced2
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
9 行增加
和
10 行删除
+9
-10
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
+1
-1
没有找到文件。
.github/workflows/
feature-chuck
.yml
→
.github/workflows/
develop
.yml
浏览文件 @
9edc664f
...
@@ -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
浏览文件 @
9edc664f
...
@@ -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
浏览文件 @
9edc664f
...
@@ -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
浏览文件 @
9edc664f
...
@@ -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
浏览文件 @
9edc664f
...
@@ -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
:
58793c34b403d315473da36d3fd9156b28f510da
next.config.js
浏览文件 @
9edc664f
...
@@ -28,7 +28,7 @@ const nextConfig = {
...
@@ -28,7 +28,7 @@ const nextConfig = {
{
{
source
:
'/local/:path*'
,
source
:
'/local/:path*'
,
//destination: "https://iuav.mmcuav.cn/:path*",
//destination: "https://iuav.mmcuav.cn/:path*",
destination
:
'https://
test
.iuav.shop/:path*'
,
destination
:
'https://
www
.iuav.shop/:path*'
,
},
},
]
]
},
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论