@cryptotaxi247 / netdata-1 / commits / c4edfbea3

Fix repoconfig publishing. (#17288)

They’re only supposed to go into the repoconfig repositories, not the edge or stable ones.

Austin S. Hemmelgarn committed Apr 1, 2024 at 06:56 UTC c4edfbea31ca138f8de71a3215906f4e180f2057
1 file changed +2 -10
.github/workflows/repoconfig-packages.yml
+2 -10
@@ -104,12 +104,6 @@ jobs:
104 run: |
105 printf "Packages to upload:\n%s" "$(ls artifacts/*.${{ matrix.format }})"
106 for pkgfile in artifacts/*.${{ matrix.format }} ; do
107 - .github/scripts/package_cloud_wrapper.sh yank "${REPO_PREFIX}/${{ matrix.pkgclouddistro }}" \
108 - "$(basename "${pkgfile}")" || true
109 - .github/scripts/package_cloud_wrapper.sh push "${REPO_PREFIX}/${{ matrix.pkgclouddistro }}" "${pkgfile}"
110 - .github/scripts/package_cloud_wrapper.sh yank "${REPO_PREFIX}-edge/${{ matrix.pkgclouddistro }}" \
111 - "$(basename "${pkgfile}")" || true
112 - .github/scripts/package_cloud_wrapper.sh push "${REPO_PREFIX}-edge/${{ matrix.pkgclouddistro }}" "${pkgfile}"
107 .github/scripts/package_cloud_wrapper.sh yank "${REPO_PREFIX}-repoconfig/${{ matrix.pkgclouddistro }}" \
108 "$(basename "${pkgfile}")" || true
109 .github/scripts/package_cloud_wrapper.sh push "${REPO_PREFIX}-repoconfig/${{ matrix.pkgclouddistro }}" "${pkgfile}"
@@ -127,14 +121,12 @@ jobs:
121 if: github.event_name != 'pull_request' && github.repository == 'netdata/netdata'
122 run: |
123 # shellcheck disable=SC2043
130 - for arch in "${{ matrix.arches }}"; do
131 - for suffix in '' -edge -repoconfig; do
124 + for arch in ${{ matrix.arches }}; do
125 .github/scripts/package-upload.sh \
126 "${{ matrix.pkgclouddistro }}" \
127 "${arch}" \
128 "${{ matrix.format }}" \
136 - netdata/netdata"${suffix}"
137 - done
129 + netdata/netdata-repoconfig
130 done
131 - name: Failure Notification
132 if: ${{ failure() && github.repository == 'netdata/netdata' }}