You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo"If you see the following error don't worry everything is working, the images got deleted, but some did not need to be deleted (they are less than 30 days old):"
4
-
echo"'X of Y blobs not deleted due to Failed Precondition'"
5
+
cd stemcell-builder/acceptance_test
5
6
6
-
echo"Deleting blobs from images"
7
-
az storage blob delete-batch \
8
-
--auth-mode key \
9
-
--account-key $AZURE_STORAGE_ACCESS_KEY \
10
-
--account-name $AZURE_STORAGE_ACCOUNT \
11
-
--source=images --pattern="*.vhd" \
12
-
--if-unmodified-since=$(date -d "30 days ago"'+%Y-%m-%dT%H:%MZ')
7
+
go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest run ./...
13
8
14
-
echo"Deleting blobs from system"
15
-
az storage blob delete-batch \
16
-
--auth-mode key \
17
-
--account-key $AZURE_STORAGE_ACCESS_KEY \
18
-
--account-name $AZURE_STORAGE_ACCOUNT \
19
-
--source=system --pattern="*.vhd" \
20
-
--if-unmodified-since=$(date -d "30 days ago"'+%Y-%m-%dT%H:%MZ')
9
+
go test -c
10
+
11
+
go run github.com/onsi/ginkgo/v2/ginkgo run --dry-run -v
echo"If you see the following error don't worry everything is working, the images got deleted, but some did not need to be deleted (they are less than 30 days old):"
4
+
echo"'X of Y blobs not deleted due to Failed Precondition'"
5
5
6
-
cd stemcell-builder/acceptance_test
6
+
echo"Deleting blobs from images"
7
+
az storage blob delete-batch \
8
+
--auth-mode key \
9
+
--account-key "$AZURE_STORAGE_ACCESS_KEY" \
10
+
--account-name "$AZURE_STORAGE_ACCOUNT" \
11
+
--source=images --pattern="*.vhd" \
12
+
--if-unmodified-since="$(date -d "30 days ago"'+%Y-%m-%dT%H:%MZ')"
7
13
8
-
go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest run ./...
9
-
10
-
go test -c
11
-
12
-
go run github.com/onsi/ginkgo/v2/ginkgo run --dry-run -v
14
+
echo"Deleting blobs from system"
15
+
az storage blob delete-batch \
16
+
--auth-mode key \
17
+
--account-key "$AZURE_STORAGE_ACCESS_KEY" \
18
+
--account-name "$AZURE_STORAGE_ACCOUNT" \
19
+
--source=system --pattern="*.vhd" \
20
+
--if-unmodified-since="$(date -d "30 days ago"'+%Y-%m-%dT%H:%MZ')"
0 commit comments