Sync scripts with Arm internal CI
This patch syncs utility scripts and scripts
in the script directory with the internal CI.
Where a path update is required,
the changes have been commented out.
Signed-off-by: Zelalem <zelalem.aweke@arm.com>
Change-Id: Ifa4bd805e345184d1378e8423e5f878a2fbfbcd4
diff --git a/script/coverity_wrapper.sh b/script/coverity_wrapper.sh
index fed41e4..97b5345 100644
--- a/script/coverity_wrapper.sh
+++ b/script/coverity_wrapper.sh
@@ -111,6 +111,7 @@
if [ -z "$cov_force_commit" ]; then
"$ci_root/script/get_latest_snapshot.py" \\
--host "$coverity_host" \\
+ --https-port "$coverity_port" \\
--file "$golden_snapshot" \\
--description "*$cov_checker*" \\
--version "\$(git show -q --format=%H)" \\
@@ -188,10 +189,10 @@
cat <<EOF | name="stream-setup" create_snippet
if cov-manage-im --mode streams --add --set "name:$stream_name" \\
--auth-key-file "$auth_file" \\
- --host "$coverity_host"; then
+ --host "$coverity_host" --ssl --port "$coverity_port"; then
cov-manage-im --mode projects --name "Arm Trusted Firmware" --update \\
--insert "stream:$stream_name" --auth-key-file "$auth_file" \\
- --host "$coverity_host"
+ --host "$coverity_host" --ssl --port "$coverity_port"
fi
EOF
@@ -241,6 +242,7 @@
if [ ! -f "$golden_snapshot" -a -z "$cov_force_commit" ]; then
"$ci_root/script/get_latest_snapshot.py" \\
--host "$coverity_host" \\
+ --https-port "$coverity_port" \\
--file "$golden_snapshot" \\
--description "*$cov_checker*" \\
--version "\$(git show -q --format=%H)" \\
@@ -251,6 +253,7 @@
if [ ! -f "$golden_snapshot" -o -n "$cov_force_commit" ]; then
cd -P "$golden_repo"
cov-commit-defects --dir "$cov_dir/golden" --host "$coverity_host" \\
+ --https-port "$coverity_port" \\
--stream "$stream_name" --auth-key-file "$auth_file" \\
--version "\$(git show -q --format=%H)" \\
--description "$description" \\
@@ -291,6 +294,7 @@
if [ "$cov_force_commit" ]; then
cd -P "$branch_repo"
cov-commit-defects --dir "$cov_dir/branch" --host "$coverity_host" \\
+ --https-port "$coverity_port" \\
--stream "$stream_name" --description "$description" \\
--version "\$(git show -q --format=%H%)" \\
--auth-key-file "$auth_file" \\
@@ -306,6 +310,7 @@
cat <<EOF | name="branch-report-compare" \
deps="golden-cov-commit-defects branch-cov-analyze" create_snippet
cov-commit-defects --dir "$cov_dir/branch" --host "$coverity_host" \\
+ --https-port "$coverity_port" \\
--stream "$stream_name" --auth-key-file "$auth_file" \\
--preview-report-v2 "$cov_dir/report.json" \\
--comparison-snapshot-id "\$(cat $golden_snapshot)"
@@ -317,6 +322,7 @@
deps="branch-cov-commit-defects stream-setup branch-cov-analyze" \
create_snippet
cov-commit-defects --dir "$cov_dir/branch" --host "$coverity_host" \\
+ --https-port "$coverity_port" \\
--stream "$stream_name" --auth-key-file "$auth_file" \\
--preview-report-v2 "$cov_dir/report.json"
EOF