Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
付燕斌
android-image-pack-tool
Commits
2384f5c1
Commit
2384f5c1
authored
Sep 18, 2024
by
fuyanbin
Browse files
fix: 输出打包好的hugep-all.zip的url
parent
76f85411
Pipeline
#55999
passed with stages
in 8 seconds
Changes
1
Pipelines
25
Hide whitespace changes
Inline
Side-by-side
pack-deploy-ci.sh
View file @
2384f5c1
...
@@ -106,12 +106,12 @@ upload() {
...
@@ -106,12 +106,12 @@ upload() {
uri
=
"product/terminal/chroot_integration/""
$ORGCODE
/
${
CHANNELID
}
/
$(
basename
"
$outfile
"
)
"
uri
=
"product/terminal/chroot_integration/""
$ORGCODE
/
${
CHANNELID
}
/
$(
basename
"
$outfile
"
)
"
obsutil
cp
"
$outfile
"
obs://fae-cdn.linkfog.cn/
"
$uri
"
obsutil
cp
"
$outfile
"
obs://fae-cdn.linkfog.cn/
"
$uri
"
result[
"url"
]=
"https://fae-cdn.linkfog.cn/""
$uri
"
md5sum
"
${
outfile
}
"
|
awk
'{print $1}'
>
"
${
outfile
}
.md5"
md5sum
"
${
outfile
}
"
|
awk
'{print $1}'
>
"
${
outfile
}
.md5"
uri
=
"product/terminal/chroot_integration/""
$ORGCODE
/
${
CHANNELID
}
/
$(
basename
"
$outfile
"
)
.md5"
uri
=
"product/terminal/chroot_integration/""
$ORGCODE
/
${
CHANNELID
}
/
$(
basename
"
$outfile
"
)
.md5"
obsutil
cp
"
${
outfile
}
.md5"
obs://fae-cdn.linkfog.cn/
"
$uri
"
obsutil
cp
"
${
outfile
}
.md5"
obs://fae-cdn.linkfog.cn/
"
$uri
"
result[
"url"
]=
"https://fae-cdn.linkfog.cn/""
$uri
"
result[
"md5"
]=
"
$(
cat
"
${
outfile
}
.md5"
)
"
result[
"md5"
]=
"
$(
cat
"
${
outfile
}
.md5"
)
"
mkdir
-p
.result
mkdir
-p
.result
jq
-n
--arg
url
"
${
result
[url]
}
"
--arg
md5
"
${
result
[md5]
}
"
'{$url, $md5}'
>
".result/
${
PROJECT_ID
}
-
${
PIPELINE_ID
}
.json"
jq
-n
--arg
url
"
${
result
[url]
}
"
--arg
md5
"
${
result
[md5]
}
"
'{$url, $md5}'
>
".result/
${
PROJECT_ID
}
-
${
PIPELINE_ID
}
.json"
...
...
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