diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2024-06-12 10:45:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-12 10:45:37 -0400 |
commit | 71994bf681c7bb2864a8a398cbe9b8021b29fd4f (patch) | |
tree | 6a0bccd97e18e6f3ab2fdcb73e93fca548b50074 /.github/scripts | |
parent | 405a1635a57b4337d3006bf65708d9da1ea8cc8c (diff) |
Update CI infrastructure to publish to secondary packaging host. (#17863)
* Update CI infrastructure to publish to secondary packaging host.
* Fix typo.
Diffstat (limited to '.github/scripts')
-rwxr-xr-x | .github/scripts/package-upload.sh | 10 | ||||
-rwxr-xr-x | .github/scripts/upload-new-version-tags.sh | 3 |
2 files changed, 7 insertions, 6 deletions
diff --git a/.github/scripts/package-upload.sh b/.github/scripts/package-upload.sh index 13d63b4a74..b4e432852a 100755 --- a/.github/scripts/package-upload.sh +++ b/.github/scripts/package-upload.sh @@ -2,13 +2,13 @@ set -e -host="packages.netdata.cloud" user="netdatabot" -distro="${1}" -arch="${2}" -format="${3}" -repo="${4}" +host="${1}" +distro="${2}" +arch="${3}" +format="${4}" +repo="${5}" staging="${TMPDIR:-/tmp}/package-staging" prefix="/home/netdatabot/incoming/${repo}/" diff --git a/.github/scripts/upload-new-version-tags.sh b/.github/scripts/upload-new-version-tags.sh index a9b0cd3030..ffdfadfa0e 100755 --- a/.github/scripts/upload-new-version-tags.sh +++ b/.github/scripts/upload-new-version-tags.sh @@ -2,9 +2,10 @@ set -e -host="packages.netdata.cloud" user="netdatabot" +host="${1}" + prefix="/var/www/html/releases" staging="${TMPDIR:-/tmp}/staging-new-releases" |