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

Adding file from a shared config to a project #87

Closed
shiroyasha opened this issue Aug 23, 2017 · 4 comments
Closed

Adding file from a shared config to a project #87

shiroyasha opened this issue Aug 23, 2017 · 4 comments
Assignees

Comments

@shiroyasha
Copy link
Contributor

shiroyasha commented Aug 23, 2017

This is more-or-less OKish:

$ sem shared-configs:create renderedtext/secrets

$ sem shared-configs:files:add renderedtext/secrets --path 'rubygems.yml' --file /tmp/rubygems.yml

$ sem teams:shared-configs:add renderedtext/devs renderedtext/secrets

$ sem projects:shared-configs:add renderedtext/semaphore renderedtext/secrets

but..., how to add file to project?

Some options:

$ sem projects:files:add renderedtext/semaphore renderedtext/secrets/???
$ sem projects:files:add renderedtext/semaphore 968ee41e-40c5-4eb0-aaf4-eb792ed18011

@ijovan
Copy link
Contributor

ijovan commented Aug 23, 2017

I think that renderedtext/secrets/??? fits in with the rest of our interface, even though it might be a bit too long.

@shiroyasha
Copy link
Contributor Author

I think it is currently impossible :( Files don't have names.

@ijovan
Copy link
Contributor

ijovan commented Aug 23, 2017

Oh :/

@shiroyasha
Copy link
Contributor Author

Fixed with using explicit path parameters.

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

No branches or pull requests

2 participants