Import a .pkg file using istool command
Posted: Tue Mar 19, 2013 8:53 am
Hi,
In an effort to facilitate standardized automated releases I have the developer create a deployment package via the Information Server Manager tool; because it would be a huge pain to have them script all of this out. I then want the .pkg file versioned so we can import the package programatically to another environment (i.e. dev>qa>prod). The versioning of the packages is for deployment only. We actually version the individual jobs for coding purposes.
When I run the following command which imports the package from the repository in the same environment (dev>dev) but a different project, it works fine:
$ISTOOL deploy package -dom myserver:myport -u myname -p 'mypassword' -v -pkg mypackage -ds '-repl myserver/myproject'
However, when I changed to a file flag so I can import from the actual file rather than the repository (thereby simulating what will happen when deploying to another environment) I get a missing manifest error. I see nowhere in the UI or command line tool where I can add a manifest file. The deploy package help command clearly says I should be able to import from the file but it just will not work for me:
$ISTOOL deploy package -dom myserver:myport -u myname -p 'mypassword' -v -f mypackage.pkg -ds '-repl myserver/myproject'
I am running this from within the directory on the server where the .pkg file is located. I have seem similar posts but they were either different enough or never solved.
Thanks in advance!
-Jesse
In an effort to facilitate standardized automated releases I have the developer create a deployment package via the Information Server Manager tool; because it would be a huge pain to have them script all of this out. I then want the .pkg file versioned so we can import the package programatically to another environment (i.e. dev>qa>prod). The versioning of the packages is for deployment only. We actually version the individual jobs for coding purposes.
When I run the following command which imports the package from the repository in the same environment (dev>dev) but a different project, it works fine:
$ISTOOL deploy package -dom myserver:myport -u myname -p 'mypassword' -v -pkg mypackage -ds '-repl myserver/myproject'
However, when I changed to a file flag so I can import from the actual file rather than the repository (thereby simulating what will happen when deploying to another environment) I get a missing manifest error. I see nowhere in the UI or command line tool where I can add a manifest file. The deploy package help command clearly says I should be able to import from the file but it just will not work for me:
$ISTOOL deploy package -dom myserver:myport -u myname -p 'mypassword' -v -f mypackage.pkg -ds '-repl myserver/myproject'
I am running this from within the directory on the server where the .pkg file is located. I have seem similar posts but they were either different enough or never solved.
Thanks in advance!
-Jesse