Skip to content

Commit

Permalink
https://github.com/hashicorp/vagrant/issues/13571#issuecomment-259746…
Browse files Browse the repository at this point in the history
…8213
  • Loading branch information
hswong3i committed Jan 18, 2025
1 parent 9d23903 commit 18d9069
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,28 +144,28 @@
--header "Content-Type: application/json" \
--header "Authorization: Bearer $_VAGRANT_CLOUD_TOKEN" \
--data "{ \"box\": { \"username\": \"$_ORG\", \"name\": \"$_BOX\", \"is_private\": false } }" \
https://app.vagrantup.com/api/v2/boxes | jq .
https://vagrantcloud.com/api/v2/boxes | jq .
curl -skL \
--request POST \
--header "Content-Type: application/json" \
--header "Authorization: Bearer $_VAGRANT_CLOUD_TOKEN" \
--data "{ \"version\": { \"version\": \"$_VERSION\" } }" \
https://app.vagrantup.com/api/v2/box/$_ORG/$_BOX/versions | jq .
https://vagrantcloud.com/api/v2/box/$_ORG/$_BOX/versions | jq .
curl -skL \
--request DELETE \
--header "Content-Type: application/json" \
--header "Authorization: Bearer $_VAGRANT_CLOUD_TOKEN" \
https://app.vagrantup.com/api/v2/box/$_ORG/$_BOX/version/$_VERSION/provider/$_PROVIDER/$_ARCHITECTURE | jq .
https://vagrantcloud.com/api/v2/box/$_ORG/$_BOX/version/$_VERSION/provider/$_PROVIDER/$_ARCHITECTURE | jq .
curl -skL \
--request POST \
--header "Content-Type: application/json" \
--header "Authorization: Bearer $_VAGRANT_CLOUD_TOKEN" \
--data "{ \"provider\": { \"name\": \"$_PROVIDER\", \"checksum_type\": \"sha256\", \"checksum\": \"$_CHECKSUM\", \"architecture\": \"$_ARCHITECTURE\", \"default_architecture\": true } }" \
https://app.vagrantup.com/api/v2/box/$_ORG/$_BOX/version/$_VERSION/providers | jq .
https://vagrantcloud.com/api/v2/box/$_ORG/$_BOX/version/$_VERSION/providers | jq .
_UPLOAD_PATH=$(curl -skL \
--request GET \
--header "Authorization: Bearer $_VAGRANT_CLOUD_TOKEN" \
https://app.vagrantup.com/api/v2/box/$_ORG/$_BOX/version/$_VERSION/provider/$_PROVIDER/$_ARCHITECTURE/upload | jq -r .upload_path)
https://vagrantcloud.com/api/v2/box/$_ORG/$_BOX/version/$_VERSION/provider/$_PROVIDER/$_ARCHITECTURE/upload | jq -r .upload_path)
curl -skL \
--request PUT \
--header "Connection: keep-alive" \
Expand All @@ -174,7 +174,7 @@
curl -skL \
--request PUT \
--header "Authorization: Bearer $_VAGRANT_CLOUD_TOKEN" \
https://app.vagrantup.com/api/v2/box/$_ORG/$_BOX/version/$_VERSION/release | jq .
https://vagrantcloud.com/api/v2/box/$_ORG/$_BOX/version/$_VERSION/release | jq .
.job-packer-build: &job-packer-build
script:
Expand Down

0 comments on commit 18d9069

Please sign in to comment.