CI: Fix calling 'move_packages' in wrong directory (#105912)

move_packages is in pkg now
pull/105913/head
Kevin Minehart 2 months ago committed by GitHub
parent 5cee301e75
commit 0a49849cb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      pkg/build/daggerbuild/scripts/drone_build_main.sh
  2. 2
      pkg/build/daggerbuild/scripts/drone_build_main_enterprise.sh
  3. 4
      pkg/build/daggerbuild/scripts/drone_build_main_pro.sh
  4. 2
      pkg/build/daggerbuild/scripts/drone_build_tag_enterprise.sh
  5. 2
      pkg/build/daggerbuild/scripts/drone_build_tag_grafana.sh
  6. 2
      pkg/build/daggerbuild/scripts/drone_build_tag_pro.sh

@ -35,4 +35,4 @@ echo "Final list of artifacts:"
cat assets.txt
# Move the tar.gz packages to their expected locations
cat assets.txt | IS_MAIN=true go run ./scripts/move_packages.go ./dist/main
cat assets.txt | IS_MAIN=true go run ./pkg/build/daggerbuild/scripts/move_packages.go ./dist/main

@ -33,4 +33,4 @@ dagger run --silent go run ./pkg/build/cmd \
cat assets.txt
# Move the tar.gz packages to their expected locations
cat assets.txt | DESTINATION=gs://grafana-downloads IS_MAIN=true go run ./scripts/move_packages.go ./dist/main
cat assets.txt | DESTINATION=gs://grafana-downloads IS_MAIN=true go run ./pkg/build/daggerbuild/scripts/move_packages.go ./dist/main

@ -28,5 +28,5 @@ dagger run --silent go run ./pkg/build/cmd \
echo "Final list of artifacts:"
# Move the tar.gz packages to their expected locations
cat assets.txt | grep -v "public" | DESTINATION=gs://grafana-downloads-enterprise2 IS_MAIN=true go run ./scripts/move_packages.go ./dist/main
cat assets.txt | grep "public" | DESTINATION=gs://grafana-static-assets IS_MAIN=true go run ./scripts/move_packages.go ./dist/cdn
cat assets.txt | grep -v "public" | DESTINATION=gs://grafana-downloads-enterprise2 IS_MAIN=true go run ./pkg/build/daggerbuild/scripts/move_packages.go ./dist/main
cat assets.txt | grep "public" | DESTINATION=gs://grafana-static-assets IS_MAIN=true go run ./pkg/build/daggerbuild/scripts/move_packages.go ./dist/cdn

@ -48,4 +48,4 @@ dagger run --silent go run ./pkg/build/cmd \
--destination=${local_dst} > assets.txt
# Move the tar.gz packages to their expected locations
cat assets.txt | go run ./scripts/move_packages.go ./dist/prerelease
cat assets.txt | go run ./pkg/build/daggerbuild/scripts/move_packages.go ./dist/prerelease

@ -44,4 +44,4 @@ dagger run --silent go run ./pkg/build/cmd \
--version=${DRONE_TAG} \
--destination=${local_dst} > assets.txt
cat assets.txt | go run ./scripts/move_packages.go ./dist/prerelease
cat assets.txt | go run ./pkg/build/daggerbuild/scripts/move_packages.go ./dist/prerelease

@ -38,4 +38,4 @@ dagger run --silent go run ./pkg/build/cmd \
--destination=${local_dst} > assets.txt
# Move the tar.gz packages to their expected locations
cat assets.txt | go run ./scripts/move_packages.go ./dist/prerelease
cat assets.txt | go run ./pkg/build/daggerbuild/scripts/move_packages.go ./dist/prerelease

Loading…
Cancel
Save