Skip to content

build-init - lenient, fail-on-error, antsibull-version - #27

Merged
briantist merged 11 commits into
ansible-community:mainfrom
briantist:build-init/lenient-and-strict
Feb 6, 2022
Merged

build-init - lenient, fail-on-error, antsibull-version#27
briantist merged 11 commits into
ansible-community:mainfrom
briantist:build-init/lenient-and-strict

Conversation

@briantist

@briantist briantist commented Jan 29, 2022

Copy link
Copy Markdown
Collaborator

Adds three new options to the build-init action (and pass-through options on the shared workflows):

  • lenient
  • fail-on-error
  • antsibull-version

Resolves: #11
Resolves: #1
Resolves: #26

Note: --fail-on-error (added in ansible-community/antsibull-build#393) is not released as of this writing.

The tests are written in such a way (by accident really) that this won't cause them to fail when using --fail-on-error with a version of antisbull is used that doesn't support it.

I think that's ok; it will be released soon, and we aren't really looking to test antsibull itself, so it's probably better that way... open to alternate takes on that, but it will be more complicated for us to re-work the tests so that if detects this as a "failure", only to have the point basically moot when antsibull 0.41.0 is released.

Comment thread actions/ansible-docs-build-init/action.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants