Skip to content

Otterdog v0.8.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 27 Oct 19:03
· 43 commits to main since this release
589b25b

Added

  • Added validation for setting gh_pages_source_path of a repository to check for allowed values.
  • Added a playground and visualization of the default settings for a project to the dashboard. (#293)
  • Added support for overriding default settings in the otterdog config from a file .otterdog-defaults.json.
  • Added support for setting required_merge_queue in repository rulesets. (#282)
  • Added support for setting target in repository rulesets.
  • Added support for parameter --repo-filter for plan and apply operations. (#275)
  • Added support for tags for deployment policies in environments. (#268)
  • Added support for custom properties. (#256)
  • Added validation for setting forked_repository of a repository to match the expected format <owner>/<repo>.
  • Added operation review-permissions to review requested permissions updates from GitHub apps for an organization. (#260)
  • Added operation uninstall-app to uninstall a GitHub app for an organization.
  • Added operation local-apply to apply change based on two local configurations. (#257)
  • Added policy macos_large_runners to control whether MacOS large runners are permitted to use in an organization. (#251)
  • Added operation install-app to install a GitHub app for an organization. (#250)
  • Added option --no-diff and --force to the push-config operation to disable showing diffs and interactive approvals. (#246)

Changed

  • Do not include settings whose values is null in the plan operation output when a resource is added.
  • Include model_only settings in the plan operation output when a resource is added.
  • Converted status check related settings of a Ruleset into an embedded model object similar to merge queue settings.
  • Display changes in list properties using sequence comparison.
  • Converted pull request related settings of a Ruleset into an embedded model object similar to merge queue settings.
  • Use jsonata instead of jq for querying json objects.
  • Use ghproxy by default as transparent cache / proxy when accessing the GitHub API from the webapp. (#274)
  • Changed parameter --update-filter for various operations from a python regular expression to a shell pattern format.
  • Changed operation import to mask webhook urls in a similar way as in the previous configuration if present.
  • Added a retry logic for calls to https://api.github.com to gracefully handle intermittent connection problems.
  • Changed ApplyChangesTask to use a local-apply operation rather than an apply operation. (#257)
  • Changed operation fetch-config to include 2 additional parameters suffix and ref to fetch a config from a specific git reference.
  • Changed operation push-config to always show a diff of the local changes compared to the current remote configuration prior to execution. (#246)

Fixed

  • Fixed throttling of comments generated when checking if the configuration is in sync with the live settings.
  • Fixed creation of a Ruleset if no merge queue is specified.
  • Ensured that validation for a Ruleset fails if any parameter of required_pull_request is missing as they are required.
  • Creating a repo with gh_pages_build_type: "disabled" is now working again after changes on GitHub side.
  • Avoided unnecessary GitHub API calls when getting the default_branch or id of a repository.
  • Detect errors during an automatic apply operation and add a corresponding comment to the pull request.
  • Support showing dialog windows when using operation web-login.
  • Fixed showing changes to dummy secret values when performing a local-plan operation. (#245)
  • Added proper error handling in case no base_template is defined in the otterdog configuration file. (#247)