Skip to content

Commit

Permalink
Update CHANGELOG.md (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelgomesxyz authored Aug 20, 2024
1 parent 6a3c67c commit ef627be
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 23 deletions.
8 changes: 4 additions & 4 deletions .overcommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PreCommit:
on_warn: fail
command: ["bundle", "exec", "rubocop"]

PrePush:
RSpec:
enabled: true
command: ["bundle", "exec", "rspec"]
# PrePush:
# RSpec:
# enabled: true
# command: ["bundle", "exec", "rspec"]
46 changes: 28 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,25 @@ Changes since the last non-beta release.

_Please add entries here for your pull requests that have not yet been released._

## [3.0.1] - 2024-06-25
### Fixed
- Moved development dependencies to Gemfile and updated many of them. [PR 208](https://github.com/shakacode/control-plane-flow/pull/208) by [justin808](https://github.com/justin808).

## [3.0.0] - 2024-06-20
- Fixed issue where common options are not forwarded to other commands. [PR 207](https://github.com/shakacode/control-plane-flow/pull/207) by [Rafael Gomes](https://github.com/rafaelgomesxyz).
- Fixed BYOK endpoint. [PR 209](https://github.com/shakacode/control-plane-flow/pull/209) by [Sergey Tarasov](https://github.com/dzirtusss).
- Fixed issue where `generate` command fails if no project config exists. [PR 219](https://github.com/shakacode/control-plane-flow/pull/219) by [Zakir Dzhamaliddinov](https://github.com/zzaakiirr).

## [3.0.1] - 2024-06-26

### Fixed

- Moved development dependencies to Gemfile and updated many of them. [PR 208](https://github.com/shakacode/control-plane-flow/pull/208) by [Justin Gordon](https://github.com/justin808).

## [3.0.0] - 2024-06-21

First release of `cpflow`.

## [2.2.4] - 2024-06-20
Deprecate `cpl` CLI. New gem is `cpflow`
## [2.2.4] - 2024-06-21

Deprecated `cpl` gem. New gem is `cpflow`.

## [2.2.1] - 2024-06-17

Expand Down Expand Up @@ -67,17 +77,17 @@ Deprecate `cpl` CLI. New gem is `cpflow`
- Specific validations are now run before commands, and the command will exit with a non-zero code if any validation fails. Can be disabled by setting `DISABLE_VALIDATIONS` env var to `true`. [PR 185](https://github.com/shakacode/control-plane-flow/pull/185) by [Rafael Gomes](https://github.com/rafaelgomesxyz).
- Deprecated the `--skip-secret-access-binding` option in favor of `--skip-secrets-setup`. This can also now be configured through `skip_secrets_setup` in `controlplane.yml` [PR 190](https://github.com/shakacode/control-plane-flow/pull/190) by [Rafael Gomes](https://github.com/rafaelgomesxyz).

## [2.0.2] - 2024-05-17
## [2.0.2] - 2024-05-18

- Fixed issue with improper handling of job statuses. Fixed issue with interactive magic string showing and exit code. [PR 177](https://github.com/shakacode/control-plane-flow/pull/177) by [Sergey Tarasov](https://github.com/dzirtusss).

## [2.0.1] - 2024-05-15
## [2.0.1] - 2024-05-16

### Fixed

- Fixed issue where `cleanup-stale-apps` command fails to delete apps with volumesets. [PR 175](https://github.com/shakacode/control-plane-flow/pull/175) by [Rafael Gomes](https://github.com/rafaelgomesxyz).

## [2.0.0] - 2024-05-14
## [2.0.0] - 2024-05-15

### BREAKING CHANGES

Expand Down Expand Up @@ -107,7 +117,7 @@ Deprecate `cpl` CLI. New gem is `cpflow`
- `deploy-image` command now raises an error if image does not exist. [PR 153](https://github.com/shakacode/control-plane-flow/pull/153) by [Rafael Gomes](https://github.com/rafaelgomesxyz).
- `delete` command now unbinds identity from policy (if bound) when deleting app. [PR 170](https://github.com/shakacode/control-plane-flow/pull/170) by [Rafael Gomes](https://github.com/rafaelgomesxyz).

## [1.4.0] - 2024-03-20
## [1.4.0] - 2024-03-21

### Added

Expand Down Expand Up @@ -144,12 +154,12 @@ Deprecate `cpl` CLI. New gem is `cpflow`
- `info` command now lists workloads in the same order as `controlplane.yml`. [PR 139](https://github.com/shakacode/control-plane-flow/pull/139) by [Rafael Gomes](https://github.com/rafaelgomesxyz).
- Improved domain workload matching for `maintenance`, `maintenance:on` and `maintenance:off` commands (instead of matching only by workload, it now matches by org + app + workload, which is more accurate). [PR 140](https://github.com/shakacode/control-plane-flow/pull/140) by [Rafael Gomes](https://github.com/rafaelgomesxyz).

## [1.2.0] - 2024-01-03
## [1.2.0] - 2024-01-04

### Fixed

- Fixed issue where `info` command does not respect `CPLN_ORG` env var. [PR 88](https://github.com/shakacode/control-plane-flow/pull/88) by [Rafael Gomes](https://github.com/rafaelgomesxyz).
- Fixed issues with running `cpflow --version` and `cpflow --help` where no configuration file exists. [PR 100](https://github.com/shakacode/control-plane-flow/pull/100) by [Mostafa Ahangarha](https://github.com/ahangarha).
- Fixed issues with running `cpflow --version` and `cpflow --help` where no configuration file exists. [PR 109](https://github.com/shakacode/control-plane-flow/pull/109) by [Mostafa Ahangarha](https://github.com/ahangarha).
- Fixed issue where `delete` command fails to delete apps with volumesets. [PR 123](https://github.com/shakacode/control-plane-flow/pull/123) by [Rafael Gomes](https://github.com/rafaelgomesxyz).

### Added
Expand All @@ -160,19 +170,19 @@ Deprecate `cpl` CLI. New gem is `cpflow`
- Added option to only use `CPLN_ORG` and `CPLN_APP` env vars if `allow_org_override_by_env` and `allow_app_override_by_env` configs are set to `true` in `controlplane.yml`. [PR 109](https://github.com/shakacode/control-plane-flow/pull/109) by [Rafael Gomes](https://github.com/rafaelgomesxyz).
- Added `CPLN_LOCATION` env variable and `--location` option for `apply-template`, `ps`, `run`, `run:detached`. [PR 105](https://github.com/shakacode/control-plane-flow/pull/105) by [Mostafa Ahangarha](https://github.com/ahangarha).
- Added `generate` command for creating basic Control Plane configuration directory. [PR 116](https://github.com/shakacode/control-plane-flow/pull/116) by [Mostafa Ahangarhga](https://github.com/ahangarha).
- Added `--trace` option to all commands for more detailed logs. [PR 124](https://github.com/shakacode/control-plane-flow/pull/124) by [justin808](https://github.com/justin808)
- Added better error message to check the org name in case of a 403 error. [PR 124](https://github.com/justin808) by [justin808](https://github.com/justin808)
- Added `--trace` option to all commands for more detailed logs. [PR 124](https://github.com/shakacode/control-plane-flow/pull/124) by [Justin Gordon](https://github.com/justin808).
- Added better error message to check the org name in case of a 403 error. [PR 124](https://github.com/shakacode/control-plane-flow/pull/124) by [Justin Gordon](https://github.com/justin808).

### Changed

- `--org` option now takes precedence over `CPLN_ORG` env var, which takes precedence over `cpln_org` from `controlplane.yml`. [PR 88](https://github.com/shakacode/control-plane-flow/pull/88) by [Rafael Gomes](https://github.com/rafaelgomesxyz).
- Renamed `setup` config into `setup_app_templates`. [PR 112](https://github.com/shakacode/control-plane-flow/pull/112) by [Mostafa Ahangarha](https://github.com/ahangarha).

## [1.1.2] - 2023-10-17
## [1.1.2] - 2023-10-25

### Fixed

- Fixed failed build on MacOS by adding platform flag and fixed multiple files in yaml document for template. [PR 81](https://github.com/shakacode/control-plane-flow/pull/81) by [justin808](https://github.com/justin808).
- Fixed failed build on MacOS by adding platform flag and fixed multiple files in yaml document for template. [PR 81](https://github.com/shakacode/control-plane-flow/pull/81) by [Justin Gordon](https://github.com/justin808).

### Added

Expand All @@ -184,7 +194,7 @@ Deprecate `cpl` CLI. New gem is `cpflow`

- Calling `cpflow` with no command now shows the help menu. [PR 83](https://github.com/shakacode/control-plane-flow/pull/83) by [Rafael Gomes](https://github.com/rafaelgomesxyz).

## [1.1.1] - 2023-09-23
## [1.1.1] - 2023-09-21

### Fixed

Expand All @@ -208,7 +218,7 @@ Deprecate `cpl` CLI. New gem is `cpflow`
- Renamed `cleanup-old-images` command to `cleanup-images`. [PR 72](https://github.com/shakacode/control-plane-flow/pull/72) by [Rafael Gomes](https://github.com/rafaelgomesxyz).
- Renamed `old_image_retention_days` config to `image_retention_days`. [PR 72](https://github.com/shakacode/control-plane-flow/pull/72) by [Rafael Gomes](https://github.com/rafaelgomesxyz).

## [1.0.4] - 2023-07-21
## [1.0.4] - 2023-07-24

### Fixed

Expand Down Expand Up @@ -247,7 +257,7 @@ Deprecate `cpl` CLI. New gem is `cpflow`

## [1.0.0] - 2023-05-29

- Initial release
First release.

[Unreleased]: https://github.com/shakacode/control-plane-flow/compare/v3.0.1...HEAD
[3.0.1]: https://github.com/shakacode/control-plane-flow/compare/v3.0.0...v3.0.1
Expand Down
1 change: 1 addition & 0 deletions spec/support/command_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def delete_config_file
File.delete(@@tmp_config_file.path)

@@tmp_config_file = nil # rubocop:disable Style/ClassVars

ENV["CONFIG_FILE_PATH"] = nil
end

Expand Down
2 changes: 1 addition & 1 deletion spec/support_specs/stub_env_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require "support/stub_env"

# Copied from https://gitlab.com/gitlab-org/gitlab/-/blob/master/gems/gitlab-rspec/lib/gitlab/rspec/stub_env.rb
# Copied from https://gitlab.com/gitlab-org/gitlab/-/blob/master/gems/gitlab-rspec/spec/gitlab/rspec/stub_env_spec.rb
RSpec.describe "StubENV" do
include StubENV

Expand Down

0 comments on commit ef627be

Please sign in to comment.