Skip to content

Commit

Permalink
support of new --image option
Browse files Browse the repository at this point in the history
  • Loading branch information
melezhik committed Jan 5, 2024
1 parent 558500b commit 508303c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/sparky-runner.raku
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ sub MAIN (
$sparrowdo-run ~= " --localhost";
}

if %sparrowdo-config<image> {
$sparrowdo-run ~= " --image=" ~ %sparrowdo-config<image>;
}

if %sparrowdo-config<repo> {
$sparrowdo-run ~= " --repo=" ~ %sparrowdo-config<repo>;
Expand Down
4 changes: 4 additions & 0 deletions utils/generate-cert.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
set -e

mkdir -p ~/.sparky/certs/

openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 \
-subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.sparkyci.com" \
-keyout ~/.sparky/certs/www.sparkyci.com.key -out ~/.sparky/certs/www.sparkyci.com.cert

0 comments on commit 508303c

Please sign in to comment.