Using export and --repository on automation produces a file in local file system instead of in specified git repo. Verbose output included in attached file.
(deployer-venv) [peter.fletcher@localhost ~]$ mkdir xxx
(deployer-venv) [peter.fletcher@localhost ~]$ cd xxx
(deployer-venv) [peter.fletcher@localhost xxx]$ ls -l
total 0
(deployer-venv) [peter.fletcher@localhost xxx]$ ipctl export automation "Get Audit History" --repository git@gitlab.com:iap-projects-forks/get-gateway-audit-history.git --private-key-file ~/.ssh/id_rsa
Successfully exported automation Get Audit History
(deployer-venv) [peter.fletcher@localhost xxx]$ ls -l
total 4
-rw-rw-r--. 1 peter.fletcher peter.fletcher 1187 Mar 17 13:00 'Get Audit History.automation.json'
(deployer-venv) [peter.fletcher@localhost xxx]$
(deployer-venv) [peter.fletcher@localhost xxx]$ ipctl export automation "Get Audit History" --repository git@gitlab.com:iap-projects-forks/get-gateway-audit-history.git --private-key-file ~/.ssh/id_rsa --verbose > verbose.txt
verbose.txt
Using export and --repository on automation produces a file in local file system instead of in specified git repo. Verbose output included in attached file.
(deployer-venv) [peter.fletcher@localhost ~]$ mkdir xxx
(deployer-venv) [peter.fletcher@localhost ~]$ cd xxx
(deployer-venv) [peter.fletcher@localhost xxx]$ ls -l
total 0
(deployer-venv) [peter.fletcher@localhost xxx]$ ipctl export automation "Get Audit History" --repository git@gitlab.com:iap-projects-forks/get-gateway-audit-history.git --private-key-file ~/.ssh/id_rsa
Successfully exported automation
Get Audit History(deployer-venv) [peter.fletcher@localhost xxx]$ ls -l
total 4
-rw-rw-r--. 1 peter.fletcher peter.fletcher 1187 Mar 17 13:00 'Get Audit History.automation.json'
(deployer-venv) [peter.fletcher@localhost xxx]$
(deployer-venv) [peter.fletcher@localhost xxx]$ ipctl export automation "Get Audit History" --repository git@gitlab.com:iap-projects-forks/get-gateway-audit-history.git --private-key-file ~/.ssh/id_rsa --verbose > verbose.txt
verbose.txt