-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved some of the complexity of running the stock importer into a sep…
…arate script, to simplify the process from outside the Docker container.
- Loading branch information
Michael Grant
committed
Jul 22, 2016
1 parent
4b10ce1
commit bf9de74
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
|
||
echo Running CSV stock import for project $SPHERE_PROJECT_KEY with SFTP username $SFTP_USERNAME, SFTP in directory $SFTP_IN_DIRECTORY and SFTP out directory $SFTP_OUT_DIRECTORY | ||
|
||
/usr/commercetools/stock-import/bin/stock-import --projectKey=$SPHERE_PROJECT_KEY --sphereHost=api.sphere.io --sphereProtocol=https --sphereAuthHost=auth.sphere.io --sphereAuthProtocol=https --sftpHost=sftp.sphere.io --sftpUsername=$SFTP_USERNAME --sftpPassword=$SFTP_PASSWORD --sftpSource=$SFTP_IN_DIRECTORY --sftpTarget=$SFTP_OUT_DIRECTORY |