Skip to content

Commit

Permalink
airbyte-ci: set --yes-auto-update by default (#37785)
Browse files Browse the repository at this point in the history
  • Loading branch information
alafanechere authored May 3, 2024
1 parent d93fcfd commit f0a4628
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion airbyte-ci/connectors/pipelines/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ options to the `airbyte-ci` command group.**
| Option | Default value | Mapped environment variable | Description |
| ---------------------------------------------- | ------------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------- |
| `--yes/--y` | False | | Agrees to all prompts. |
| `--yes-auto-update` | False | | Agrees to the auto update prompts. |
| `--yes-auto-update/--no-auto-update` | True | | Agrees to the auto update prompts. |
| `--enable-update-check/--disable-update-check` | True | | Turns on the update check feature |
| `--enable-dagger-run/--disable-dagger-run` | `--enable-dagger-run` | | Disables the Dagger terminal UI. |
| `--is-local/--is-ci` | `--is-local` | | Determines the environment in which the CLI runs: local environment or CI environment. |
Expand Down Expand Up @@ -745,6 +745,7 @@ E.G.: running Poe tasks on the modified internal packages of the current branch:

| Version | PR | Description |
| ------- | ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| 4.12.5 | [#37785](https://github.com/airbytehq/airbyte/pull/37785) | Set the `--yes-auto-update` flag to `True` by default. |
| 4.12.4 | [#37786](https://github.com/airbytehq/airbyte/pull/37786) | (fixed 4.12.2): Do not upload dagger log to GCP when no credentials are available. |
| 4.12.3 | [#37783](https://github.com/airbytehq/airbyte/pull/37783) | Revert 4.12.2 |
| 4.12.2 | [#37778](https://github.com/airbytehq/airbyte/pull/37778) | Do not upload dagger log to GCP when no credentials are available. |
Expand Down
6 changes: 5 additions & 1 deletion airbyte-ci/connectors/pipelines/pipelines/cli/auto_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@
def pre_confirm_auto_update_flag(f: Callable) -> Callable:
"""Decorator to add a --yes-auto-update flag to a command."""
return click.option(
"--yes-auto-update", AUTO_UPDATE_AGREE_KEY, is_flag=True, default=False, help="Skip prompts and automatically upgrade pipelines"
"--yes-auto-update/--no-auto-update",
AUTO_UPDATE_AGREE_KEY,
is_flag=True,
default=True,
help="Skip prompts and automatically upgrade pipelines",
)(f)


Expand Down
2 changes: 1 addition & 1 deletion airbyte-ci/connectors/pipelines/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "pipelines"
version = "4.12.4"
version = "4.12.5"
description = "Packaged maintained by the connector operations team to perform CI for connectors' pipelines"
authors = ["Airbyte <contact@airbyte.io>"]

Expand Down

0 comments on commit f0a4628

Please sign in to comment.