Skip to content
This repository has been archived by the owner on Jun 14, 2021. It is now read-only.

Commit

Permalink
Add ship script for Articulate until this provider becomes official
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumew committed Sep 9, 2019
1 parent 974dfc1 commit 69d91f2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,7 @@ For Release v3.0.22
* Send `profileMaster` along with IdP, so the config is recognized by Okta API
* Fix bug in SDK related to retries and the request body being empty on subsequent requests.
* Various updates related to Hashicorp's review process that aren't necessarily functionality related, see https://github.com/articulate/terraform-provider-okta/pull/271

For Release v3.0.23

* Add `external_name` property to the `okta_app_user_schema` and `okta_user_schema`
15 changes: 15 additions & 0 deletions scripts/ship.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Articulate Specific ship pipeline
#!/usr/bin/env bash

version=$(git tag --sort=v:refname | tail -1)

mkdir -p ~/.terraform.d/plugins/

gox -osarch="linux/amd64 darwin/amd64 windows/amd64" \
-output="${HOME}/.terraform.d/plugins/{{.OS}}_{{.Arch}}/terraform-provider-okta_${version}_x4" .

echo "copying terraform-provider-okta_${version}_x4 to s3://${TERRAFORM_PLUGINS_BUCKET}"
aws s3 cp \
"${HOME}/.terraform.d/plugins/linux_amd64/terraform-provider-okta_${version}_x4" \
"s3://${TERRAFORM_PLUGINS_BUCKET}" \
--profile "${TERRAFORM_PLUGINS_PROFILE}"

0 comments on commit 69d91f2

Please sign in to comment.