Skip to content

userdata: add tests for write_files in containers#945

Merged
eriknordmark merged 1 commit intolf-edge:masterfrom
europaul:cloud-config-container-test
Jan 30, 2024
Merged

userdata: add tests for write_files in containers#945
eriknordmark merged 1 commit intolf-edge:masterfrom
europaul:cloud-config-container-test

Conversation

@europaul
Copy link
Copy Markdown
Contributor

Since we added support for write_files in cloud-init configuration for containers - here is a test that will check that functionality, including whether the cloud-init config is reapplied at the containers's reboot

This PR is analogous to #941, but fixes the error code check that we have there.

@europaul europaul requested a review from uncleDecart as a code owner January 24, 2024 16:35
Copy link
Copy Markdown
Collaborator

@giggsoff giggsoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add small comment before your addition or on top of the test that the second case is about write_files to not forget.

Comment thread tests/eclient/testdata/userdata.txt Outdated
Comment thread tests/eclient/testdata/userdata.txt Outdated
Since we added support for write_files in cloud-init configuration for
containers - here is a test that will check that functionality,
including whether the cloud-init config is reapplied at the containers's
reboot

Signed-off-by: Paul Gaiduk <paulg@zededa.com>
@eriknordmark eriknordmark merged commit 843d370 into lf-edge:master Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants