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

Arguments not passed from --arg-file #7

Open
Bern586 opened this issue Mar 6, 2022 · 1 comment
Open

Arguments not passed from --arg-file #7

Bern586 opened this issue Mar 6, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Bern586
Copy link

Bern586 commented Mar 6, 2022

I'm probably missing something 🤔

Installed from repository, which includes #4
rocinante version: 0.1.20211225

Created a test arg-file

# cat test_arguments
system_tzdata="Mexico/General"

Got my template in place

# rocinante verify testbench/localtime
Detected Bastillefile hook.
[Bastillefile]:

ARG system_tzdata="you shouldnt see this"
CMD echo ${system_tzdata}

Template ready to use.

But when I run the template

rocinante template testbench/localtime --arg-file=test_arguments
[TEMPLATE]:
Applying template: testbench/localtime...

you shouldnt see this
0

Template applied: testbench/localtime

It looks as the arguments are ignored, and the default value is used.
I will check whether it works on Bastille.

@Bern586
Copy link
Author

Bern586 commented Mar 6, 2022

Also, apparently, --arg-file doesn't check whether the file provided does exist

# rocinante template testbench/localtime --arg-file=not_existing_file
[TEMPLATE]:
Applying template: testbench/localtime...

you shouldnt see this
0

Template applied: testbench/localtime

@cedwards cedwards self-assigned this Dec 2, 2023
@cedwards cedwards added the bug Something isn't working label Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants