This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
See attached files. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build: | |
only: | |
- tags | |
script: | |
- 'export upload_url=$(curl -s -H "Authorization: token $github_token" "https://api.github.com/repos/openucx/ucx/releases" | python -c "import sys,os,json; d=json.load(sys.stdin); tag=os.environ.get(\"CI_COMMIT_TAG\"); rel = [r for r in d if r[\"tag_name\"] == tag]; url = rel[0][\"upload_url\"] if rel else \"\"; print url" | grep -oP "https\S+assets")' | |
- echo $upload_url | |
- 'export tar_name=$(ls *.tar.gz)' | |
- echo $tar_name | |
- 'curl -s -H "Authorization: token $github_token" -H "Content-Type: application/zip" --data-binary @"$tar_name" "${upload_url}?name=${tar_name}&label=${tar_name}"' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -eEl | |
function node_exporter_name() { | |
arch=$(uname -m) | |
if [ "${arch}" = "aarch64" ]; then | |
arch="arm64" | |
elif [ "${arch}" = "x86_64" ]; then | |
arch="amd64" | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -eE | |
taskset -c 0-1 ./run-one.sh ucx & | |
taskset -c 2-3 ./run-one.sh ucx1 & | |
taskset -c 4-5 ./run-one.sh ucx2 & | |
taskset -c 6-7 ./run-one.sh ucx3 & | |
wait |
OlderNewer