Some commands should be able to run without argumetized secrets #306
Closed
igor-alexandrov
started this conversation in
Ideas
Replies: 3 comments 3 replies
-
@djmb please take a look at this idea when you have time. I am open to any discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@igor-alexandrov - you could use |
Beta Was this translation helpful? Give feedback.
1 reply
-
I created Draft PR #339 to illustrate my idea. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, we use MRSK to build and deploy Rails app with GitHub Actions (local build directly on Actions runners). Everything generally works and looks great.
However, there is a place for a slight improvement.
In
deploy.yml
, we have secrets defined:These variables are populated in Actions before the
mrsk deploy
command, but we also run various MRSK commands from our working machines (mrsk traefik log
etc.). These commands do not need any credentials since they only fetch information from hosts, however now, they require all vars to be defined:Now we get round of this by passing dummy values before running:
I suggest introducing a set of commands that should not argumentize config and make it available to run without providing all defined secrets.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions