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

1225 config collector elemental #32

Merged
merged 16 commits into from
Jun 7, 2023
Merged

Commits on May 31, 2023

  1. Merge-in the user's cloud-config when running (before|after)-install …

    …hooks
    
    Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
    jimmykarily committed May 31, 2023
    Configuration menu
    Copy the full SHA
    4dd39c3 View commit details
    Browse the repository at this point in the history
  2. [WIP] Try to write a test

    Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
    jimmykarily committed May 31, 2023
    Configuration menu
    Copy the full SHA
    c2e6b89 View commit details
    Browse the repository at this point in the history
  3. Add "install.no-format" cloud-config setting

    to let the user set this in the cloud-config file instead of
    /etc/elemental/config.yaml
    
    See also here:
    kairos-io/kairos#209 (comment)
    
    Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
    jimmykarily committed May 31, 2023
    Configuration menu
    Copy the full SHA
    30af161 View commit details
    Browse the repository at this point in the history
  4. Create all partitions and expand after [TODO: test]

    - that "return" made it stop after creating the first partition
    - the expand was happening before we created the partitions thus,
      our partitions were never expanded
    
    Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
    jimmykarily committed May 31, 2023
    Configuration menu
    Copy the full SHA
    5017d51 View commit details
    Browse the repository at this point in the history
  5. fixup! [WIP] Try to write a test

    Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
    jimmykarily committed May 31, 2023
    Configuration menu
    Copy the full SHA
    83adcb7 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. WIP add layout test for expand

    Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
    Itxaka committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    74bee8f View commit details
    Browse the repository at this point in the history
  2. More tests and more consolidation of the test for layout

    Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
    Itxaka committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    6391bd8 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

  1. Test that multiple partitions can be created

    which should test that this line was removed:
    
    https://github.com/kairos-io/kairos-agent/pull/32/files#diff-9bf4494bcc865684d4aeae7837925b1732855e863067c12a61f6f38e2fc16716L114
    
    Signed-off-by: Itxaka Serrano Garcia <itxaka.garcia@spectrocloud.com>
    Dimitris Karakasilis authored and jimmykarily committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    6e7412d View commit details
    Browse the repository at this point in the history
  2. Test that partition expansion happens after partition creation

    Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
    jimmykarily committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    ca55a8a View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. Configuration menu
    Copy the full SHA
    44bcd8a View commit details
    Browse the repository at this point in the history
  2. Fix install spec generation

    Create a new spec from scratch instead of using the helper method, as
    some fields still need to be added to the spec before the Sanitize
    method is called. Otherwise we will get an error as some things may be
    missing like the Target
    
    Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
    Itxaka committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    3345daa View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. mock our way around

    Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
    Itxaka committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    c0bee9c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3067209 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. Skip test and more log about

    Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
    Itxaka committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    b4cb70a View commit details
    Browse the repository at this point in the history
  2. Update pkg/config/config.go

    Co-authored-by: Mauro Morales <mauro.morales@spectrocloud.com>
    Itxaka and mauromorales committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    c014136 View commit details
    Browse the repository at this point in the history
  3. Bump kairos-sdk

    Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
    Itxaka committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    7113a8e View commit details
    Browse the repository at this point in the history