Skip to content

Commit

Permalink
Revert "Add changelog for v1.5.0" (#1070)
Browse files Browse the repository at this point in the history
* Revert "Add changelog for v1.5.0 (#1058)"

This reverts commit 8f2f973.

* Fix integration test

* Fix spcaing for integration test
  • Loading branch information
developerkunal authored Sep 13, 2024
1 parent d87eeb2 commit 102d852
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 34 deletions.
22 changes: 1 addition & 21 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [v1.5.0](https://github.com/auth0/auth0-cli/tree/v1.5.0) (Aug 13, 2024)

[Full Changelog](https://github.com/auth0/auth0-cli/compare/v1.4.0...v1.5.0)

### Added

- Support for `auth0_client_credentials` within `auth0_client` when generating Terraform configuration [#1032]
- Support for `auth0_email_template` when generating Terraform configuration [#988]
- Ability to use **Custom Partial Prompts** in the `auth0 universal-login customize` command [#1031]
- Ability to manage the login domain through the `--domain` flag in the `auth0 login` command with an updated login flow [#1038]

### Fixed

- Issue with listing tenants in JSON format. [#1002](https://github.com/auth0/auth0-cli/issues/1002)

## [v1.4.0](https://github.com/auth0/auth0-cli/tree/v1.4.0) (Feb 1, 2024)

[Full Changelog](https://github.com/auth0/auth0-cli/compare/v1.3.0...v1.4.0)
Expand Down Expand Up @@ -292,12 +277,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `auth0 tenants add` command in favor of `auth0 login` [#546]
- Updating of action triggers which inevitably results in error [#597]

[unreleased]: https://github.com/auth0/auth0-cli/compare/v1.5.0...HEAD
[#1038]: https://github.com/auth0/auth0-cli/issues/1038
[#1032]:https://github.com/auth0/auth0-cli/issues/1032
[#1031]: https://github.com/auth0/auth0-cli/issues/1031
[#1002]: https://github.com/auth0/auth0-cli/issues/1002
[#988]:https://github.com/auth0/auth0-cli/issues/988
[unreleased]: https://github.com/auth0/auth0-cli/compare/v1.0.0...HEAD
[#968]: https://github.com/auth0/auth0-cli/issues/968
[#955]: https://github.com/auth0/auth0-cli/issues/955
[#949]: https://github.com/auth0/auth0-cli/issues/949
Expand Down
24 changes: 12 additions & 12 deletions test/integration/custom-domains-test-cases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,29 @@ tests:
exactly: "[]"

003 - create domain with minimal flags:
command: auth0 domains create --domain "custom-domains.com" --no-input
command: auth0 domains create --domain "auth0-cli-integration-test.com" --no-input
exit-code: 0
stdout:
contains:
- "ID cd_"
- "DOMAIN custom-domains.com"
- "DOMAIN auth0-cli-integration-test.com"
- "STATUS pending_verification"
- "PROVISIONING TYPE auth0_managed_certs"

004 - unsuccessfully create domain with same name:
command: auth0 domains create --domain "custom-domains.com" --no-input
command: auth0 domains create --domain "auth0-cli-integration-test.com" --no-input
exit-code: 1
stderr:
contains:
- "Failed to create custom domain \"custom-domains.com\": 409 Conflict: The specified custom domain already exists"
- "Failed to create custom domain \"auth0-cli-integration-test.com\": 409 Conflict: The specified custom domain already exists"

005 - show domain:
command: auth0 domains show $(./test/integration/scripts/get-custom-domain-id.sh) --no-input
exit-code: 0
stdout:
contains:
- "ID cd_"
- "DOMAIN custom-domains.com"
- "DOMAIN auth0-cli-integration-test.com"
- "STATUS pending_verification"
- "PROVISIONING TYPE auth0_managed_certs"

Expand All @@ -50,7 +50,7 @@ tests:
stdout:
contains:
- "ID cd_"
- "DOMAIN custom-domains.com"
- "DOMAIN auth0-cli-integration-test.com"
- "STATUS pending_verification"
- "PROVISIONING TYPE auth0_managed_certs"

Expand All @@ -60,7 +60,7 @@ tests:
stdout:
contains:
- "ID cd_"
- "DOMAIN custom-domains.com"
- "DOMAIN auth0-cli-integration-test.com"
- "STATUS pending_verification"
- "PROVISIONING TYPE auth0_managed_certs"
- "TLS POLICY recommended"
Expand All @@ -71,7 +71,7 @@ tests:
stdout:
contains:
- "ID cd_"
- "DOMAIN custom-domains.com"
- "DOMAIN auth0-cli-integration-test.com"
- "PROVISIONING TYPE auth0_managed_certs"
- "TLS POLICY recommended"

Expand All @@ -80,12 +80,12 @@ tests:
exit-code: 0

010 - create domain with maximal flags:
command: auth0 domains create --domain "custom-domains.com" --verification txt --type self --policy recommended --no-input
command: auth0 domains create --domain "auth0-cli-integration-test.com" --verification txt --type self --policy recommended --no-input
exit-code: 0
stdout:
contains:
- "ID cd_"
- "DOMAIN custom-domains.com"
- "DOMAIN auth0-cli-integration-test.com"
- "STATUS pending_verification"
- "PROVISIONING TYPE self_managed_certs"
- "VERIFICATION METHOD txt"
Expand All @@ -97,6 +97,6 @@ tests:
exit-code: 0
stdout:
contains:
- "ID DOMAIN STATUS"
- "ID DOMAIN STATUS"
- "cd_"
- "custom-domains.com"
- "auth0-cli-integration-test.com"
2 changes: 1 addition & 1 deletion test/integration/scripts/get-custom-domain-id.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/bash

testing_domain_name="custom-domains.com"
testing_domain_name="auth0-cli-integration-test.com"

domains=$( auth0 domains list --json --no-input )
for domain in $( printf "%s" "$domains" | jq -r '.[] | @base64' ); do
Expand Down

0 comments on commit 102d852

Please sign in to comment.