Commit a7e64ed9 authored by fuyanbin's avatar fuyanbin
Browse files

vendor.yaml里加上project id 和 pipeline id

parent 0087267f
Pipeline #51185 passed with stages
in 9 seconds
......@@ -307,7 +307,9 @@ generate_vendor_confg() {
-e "s#__CHROOT_TYPE__#$CHROOT_TYPE#g" \
-e "s#__DEPLOY__#$DEPLOY#g" \
-e "s#__CHANNEL_ID__#$CHANNELID#g" \
-e "s#__PACK_TYPE__#$PACK_TYPE#g" "$yaml_file_src"
-e "s#__PACK_TYPE__#$PACK_TYPE#g" \
-e "s#__CI_PROJECT_ID__#$PROJECT_ID#g" \
-e "s#__CI_PIPELINE_ID__#$PIPELINE_ID#g" "$yaml_file_src"
aio -m enc -i "$yaml_file_src" -o "$yaml_file"
config_json_file="$build_dir"/config.json
......
......@@ -61,7 +61,9 @@ generate_vendor_confg() {
-e "s#__CHROOT_TYPE__#$CHROOT_TYPE#g" \
-e "s#__DEPLOY__#$DEPLOY#g" \
-e "s#__CHANNEL_ID__#$CHANNELID#g" \
-e "s#__PACK_TYPE__#$PACK_TYPE#g" "$yaml_file_src"
-e "s#__PACK_TYPE__#$PACK_TYPE#g" \
-e "s#__CI_PROJECT_ID__#$PROJECT_ID#g" \
-e "s#__CI_PIPELINE_ID__#$PIPELINE_ID#g" "$yaml_file_src"
aio -m enc -i "$yaml_file_src" -o "$yaml_file"
config_json_file="$build_dir"/config.json
......
......@@ -196,7 +196,9 @@ generate_vendor_confg() {
-e "s#__CHROOT_TYPE__#$CHROOT_TYPE#g" \
-e "s#__DEPLOY__#$DEPLOY#g" \
-e "s#__CHANNEL_ID__#$CHANNELID#g" \
-e "s#__PACK_TYPE__#$PACK_TYPE#g" "$yaml_file_src"
-e "s#__PACK_TYPE__#$PACK_TYPE#g" \
-e "s#__CI_PROJECT_ID__#$PROJECT_ID#g" \
-e "s#__CI_PIPELINE_ID__#$PIPELINE_ID#g" "$yaml_file_src"
aio -m enc -i "$yaml_file_src" -o "$yaml_file"
config_json_file="$build_dir"/config.json
......
......@@ -7,3 +7,5 @@ info:
deploy: __DEPLOY__
packtype: __PACK_TYPE__
channelid: __CHANNEL_ID__
ciprojectid: __CI_PROJECT_ID__
cipipelineid: __CI_PIPELINE_ID__
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment