StackStorm / st2packs-dockerfiles

Source for st2packs-builder and st2packs-runner images
3 stars 20 forks source link

file:/// syntax still expects git repo? #12

Closed nicholasamorim closed 5 years ago

nicholasamorim commented 5 years ago

So st2packs-dockerfiles accepts local files/packs using the following format file:///tmp/packs/cassandra .. but apparently it still expects them to be a git repo as it fails:

2019-09-27 11:53:14,629 INFO [-] Installing pack "file:///tmp/packs/cassandra"

# cut for brevity...

git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v file:///tmp/packs/cassandra /root/0bd83c56596f6797b1a4c509296a3e7e
  stderr: 'Cloning into '/root/0bd83c56596f6797b1a4c509296a3e7e'...
fatal: '/tmp/packs/cassandra' does not appear to be a git repository
fatal: Could not read from remote repository.
nicholasamorim commented 5 years ago

Well, I've been told st2-pack-install only works with "real" packs and they have to be git repos.