Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
faermanj committed Feb 12, 2024
1 parent 7c393cb commit 7c69a0c
Show file tree
Hide file tree
Showing 10 changed files with 54 additions and 24 deletions.
1 change: 1 addition & 0 deletions TODO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ Pending tasks (create tickets):
- refactor plugin settings loading
`settings_maps.get(plugin_name, {} ).get("prop") => plugin_setting("plugin_name", "prop")`
so that
- review logging (up messages to stderr, application to stdout?)
6 changes: 0 additions & 6 deletions demos/10_simple_prompt.sh

This file was deleted.

16 changes: 16 additions & 0 deletions demos/10_simple_prompts.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Setup "up" alias in dev mode if necessary
alias up="poetry run up"

# Runs `ansible --version` through up
# The ansible binary will be executed inside a container
up ansible --version

# You can check that `ansible` is not installed in the system
type ansible

# If there is no plugin, like there is for ansible
# up will try default container settings (Fedora Linux)
up cat /etc/fedora-release

# TODO: this one is broken
up "ansible --version | head -n1" | awk '{print $2}'
14 changes: 14 additions & 0 deletions demos/15_up_with_docklets_run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

# image fedora:39
# volume ...
# var ...
# port ...


echo "Thank you for running!"
echo "Hello $SOMEONE"
cat /etc/fedora-release
echo "Almost done..."
sleep 2
echo "Done"
2 changes: 2 additions & 0 deletions demos/15_up_with_doclets.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

up ./15_do_the_trick.sh
2 changes: 2 additions & 0 deletions demos/20_plugins.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# List installed plugins
up plugin list
File renamed without changes.
6 changes: 3 additions & 3 deletions up_splat/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions upcli/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 13 additions & 12 deletions uplib/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7c69a0c

Please sign in to comment.