From 09c10a0c34f8603c01404bcc0756a9875bf09e2c Mon Sep 17 00:00:00 2001 From: Leonid Fedorov Date: Tue, 20 May 2025 00:45:11 +0000 Subject: [PATCH] chore(CI): remove publish pkg step, adding clickable link instead to publish steps, fix customenv --- .drone.jsonnet | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 3482d71b2..5219830d5 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -181,6 +181,7 @@ local Pipeline(branch, platform, event, arch="amd64", server="10.6-enterprise", "aws s3 sync " + result + " s3://cspkg/" + branchp + eventp + "/" + server + "/" + arch + "/" + result + " --only-show-errors", 'echo "Data uploaded to: ' + publish_pkg_url + '"', + "echo -e '\\e]8;;" + publish_pkg_url + "\\e\\\\" + publish_pkg_url + "\\e]8;;\\e\\\\'", "rm -rf " + result + "/*", ], @@ -748,8 +749,8 @@ local Pipeline(branch, platform, event, arch="amd64", server="10.6-enterprise", "--distro " + platform + " " + "--build-packages --sccache " + "--server-version " + server + - customBootstrapParams + - customBootstrapParamsForExisitingPipelines(result) + " | " + + " " + customBootstrapParams + + " " + customBootstrapParamsForExisitingPipelines(platform) + " | " + "/mdb/" + builddir + "/storage/columnstore/columnstore/build/ansi2txt.sh " + "/mdb/" + builddir + "/" + result + '/build.log"', "sccache --show-stats", @@ -824,19 +825,6 @@ local Pipeline(branch, platform, event, arch="amd64", server="10.6-enterprise", ] + [pipeline.publish("cmapi build")] + [pipeline.publish()] + - [ - { - name: "publish pkg url", - depends_on: ["publish pkg"], - image: "alpine/git", - commands: [ - "echo -e '\\e]8;;" + publish_pkg_url + "\\e\\\\" + publish_pkg_url + "\\e]8;;\\e\\\\'", - "echo 'for installation run:'", - "echo 'export OS=" + result + "'", - "echo 'export PACKAGES_URL=" + packages_url + "'", - ], - }, - ] + (if (event == "cron") then [pipeline.publish("pkg latest", "latest")] else []) + [pipeline.smoke] + [pipeline.smokelog] +