Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update validate-autoinstall-user-data script #1901

Merged

Commits on Jul 26, 2024

  1. Configuration menu
    Copy the full SHA
    2dbb642 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    14ac6e0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    38eeb00 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2f27c9d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    255d662 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0f66026 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. validation: CI specific flag

    In the future we want to use dry-run and subiquity internals to
    do more robust validation of autoinstall user-data. Today the CI
    isn't ready for this and we should rely on old behavior to not
    regress CI results. This effectively moves current behavior behind
    the --legacy flag.
    Chris-Peterson444 committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    fcd2623 View commit details
    Browse the repository at this point in the history
  2. validation: link checking is CI only

    With moving to make the validation script more user facing, we
    don't need users to have the documentation link in their autoinstall
    file. Add a hidden flag, --check-link, to be used in CI to validate
    rendered autoinstall config has the documentation link.
    Chris-Peterson444 committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    3181d3a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8451ae6 View commit details
    Browse the repository at this point in the history
  4. validate: use dry-run server for validation

    ./scripts/validate-autoinstall-user-data is used by the integration
    tests to verify the rendered user data validates against the combined
    JSON schema, but we have introduced run-time checks for more things
    than can be caught by simple JSON validation (e.g. warns/errors on
    unknown keys or strict top-level key checking for supporting a
    top-level "autoinstall" keyword in the non-cloud-config delivery
    scenario). Now the validation logic relies on the server validation
    logic directly to perform pre-validation of the the supplied autoinstall
    configuration.
    Chris-Peterson444 committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    d38f007 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9aee359 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Configuration menu
    Copy the full SHA
    04f06be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    79217f4 View commit details
    Browse the repository at this point in the history