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

feat: linux ec2-based tests test installer-based user creation #138

Merged
merged 2 commits into from
Aug 13, 2024

Commits on Aug 13, 2024

  1. feat: linux ec2-based tests test installer-based user creation

    Problem:
    
    The linux ec2-based tests are currently structured to create the
    worker-agent user during instance startup using ec2-userdata scripting.
    The worker agent installer contains code that will create the agent-user
    if it does not exist. The current test setup prevents writing tests that
    test that functionality
    
    Solution:
    
    Refactor the scripting that is materialized in the PosixInstanceWorker.
    Now, user-creation-wise the ec2-userdata only creates the job users and
    their groups. The 'worker configuration' scripting is now responsible
    for letting the install script create the worker agent user, and adding
    it to the required groups & sudoers rules.
    
    Signed-off-by: Daniel Neilson <53624638+ddneilson@users.noreply.github.com>
    ddneilson committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    1997d60 View commit details
    Browse the repository at this point in the history
  2. fix f-string

    Signed-off-by: Daniel Neilson <53624638+ddneilson@users.noreply.github.com>
    ddneilson committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    05a39e3 View commit details
    Browse the repository at this point in the history