Aaron Stillwell

Results 39 comments of Aaron Stillwell

@eliasjpr the fork of teeplate is now at https://github.com/amberframework/teeplate, so we'll get the necessary changes up and running there asap. See https://github.com/amberframework/teeplate/pull/2 for the discussion specific to the necessary behaviour...

This should work fine[1]. I'm seeing the same problem when trying to set backups on services. The correct approach AFAIK should to quote the entire string being passed to dokku....

I've added some debugging lines to the postgres plugin locally. It looks like despite the command looking fine in the SSH output, by the time it reaches the plugin, the...

So the problem stems from using dokku as a forced command in the SSH config. Note `ssh my-user@my-server dokku postgres:backup-schedule backup-testing "0 3 * * *" my-s3-bucket` will work, but...

Another complication of using a forced command seems to be that glob expansion happens _before_ the input hits our script? So e.g `ssh dokku@my-server 'postgres:backup-schedule backup-testing "0 3 * *...

So I finally have a workaround that fixes the issue for me. Nevermind the expansion problem - this was due to where I was reading args (before dokku is invoked...

@josegonzalez just returning to this... do you know why we only use xargs when using `config` or `docker-options` params? ``` if [[ -n "$SSH_ORIGINAL_COMMAND" ]]; then export -n SSH_ORIGINAL_COMMAND #...

Looks like the initial fix for this problem didn't differentiate... https://github.com/dokku/dokku/pull/702/files so I'm assuming it was added for a reason (haven't read the follow-on conversation yet)

Here's the commit - but no explanation why https://github.com/dokku/dokku/pull/821/commits/67b7fa6263935e91bec734a12a1ca188f9b0f24d note those test cases seem to work for me locally even without the if statement

@josegonzalez I have created an orb with similar functionality. Repo: https://github.com/aaronstillwell/dokku-orb Orb page: https://circleci.com/developer/orbs/orb/aaronstillwell/dokku Feel free to raise issues against that repo and I'll be happy to add more as...