Skip to content

Conversation

@DeNevero
Copy link
Contributor

No description provided.

@davidferlay
Copy link
Contributor

davidferlay commented Mar 15, 2024

Working as expected 👌

➜ ./launchrctl platform:nodes --entrypoint sh       
Image "platform-actions-nodes:latest" exists locally
/host $ 
/host $ whoami
plasma


/host $ 
➜ ./launchrctl platform:nodes --entrypoint "ls -lah"
Image "platform-actions-nodes:latest" exists locally
total 19M    
drwxr-xr-x    1 plasma   plasma       740 Mar 15 11:39 .
drwxr-xr-x    1 root     root         154 Mar 15 11:40 ..
drwxr-xr-x    1 plasma   plasma        44 Mar 15 11:38 .compose
drwxr-xr-x    1 plasma   plasma       226 Mar 15 11:39 .git
-rw-r--r--    1 plasma   plasma       170 Feb 21 10:00 .gitignore
-rwxr-xr-x    1 plasma   plasma     13.8M Mar 15 11:39 plasmactl
drwxr-xr-x    1 plasma   plasma       134 Feb  6 14:17 platform
drwxr-xr-x    1 plasma   plasma       160 Mar  7 10:54 scripts
drwxr-xr-x    1 plasma   plasma        98 Jan 26 14:31 toolbox
-rw-r--r--    1 plasma   plasma         9 Mar 14 16:42 vault

Let's have some code review

@DeNevero DeNevero force-pushed the 64-add_entrypoint_option branch from d741187 to a7d97c3 Compare April 5, 2024 11:14
64: update docs flags info

64: container entrypoint instead of cmd override

64: add exec command and refactor

64: clear code

64: add flags filter
@DeNevero DeNevero force-pushed the 64-add_entrypoint_option branch from a7d97c3 to 0b55794 Compare April 5, 2024 13:44
@davidferlay
Copy link
Contributor

Tested ok 👌

➜ ./launchrctl platform:nodes --exec sh      
Image "platform-actions-nodes:latest" exists locally
/host $ ls
README.md            ansible_collections  compose.yaml         foundation           library              launchrctl            toolbox
README.svg           build_3339857242     file_from_domain     integration          origin               platform
ansible.cfg          cognition            flow_map.svg         interaction          plasma               scripts
/host $ ps aux
PID   USER     TIME  COMMAND
    1 plasma    0:00 sh
    8 plasma    0:00 ps aux

/host $ 
➜ ./launchrctl platform:nodes --exec whoami
Image "platform-actions-nodes:latest" exists locally
plasma

@davidferlay davidferlay merged commit fbb9efc into main May 13, 2024
@lexbritvin lexbritvin deleted the 64-add_entrypoint_option branch August 21, 2024 18:39
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.

5 participants