From 69d91f2daabdc2d1e8464b96a45fbe93c5295f5d Mon Sep 17 00:00:00 2001 From: Andy Gertjejansen Date: Mon, 9 Sep 2019 16:08:36 -0500 Subject: [PATCH] Add ship script for Articulate until this provider becomes official --- CHANGELOG.md | 4 ++++ scripts/ship.sh | 15 +++++++++++++++ 2 files changed, 19 insertions(+) create mode 100755 scripts/ship.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index a51e0212..fe1ebf22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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` diff --git a/scripts/ship.sh b/scripts/ship.sh new file mode 100755 index 00000000..83375b9f --- /dev/null +++ b/scripts/ship.sh @@ -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}"