...
Prepare your deploy environement. The current whitelist needs to be checked with the master list before each deploy. Note that use.thiss.io does not do whitelisting which means the WHITELIST variable is not set.
Warning | ||
---|---|---|
| ||
It is important to set the WHITELIST environment variable to the comma-separated list of the current whitelisted domains before deploying. |
To deploy <version> to production
Code Block | ||
---|---|---|
| ||
cd thiss-js && git pull
git checkout <version>
npm install
make clean
make BASE_URL='https://service.seamlessaccess.org/' COMPONENT_URL='https://service.seamlessaccess.org/cta/' MDQ_URL='https://md.seamlessac
cess.org/entities/' PERSISTENCE_URL='https://service.seamlessaccess.org/ps/' SEARCH_URL='https://md.seamlessaccess.org/entities/' STORAGE_DOMAIN='
service.seamlessaccess.org' LOGLEVEL='error' DEFAULT_CONTEXT='seamlessaccess.org' WHITELIST=$WHITELIST TARGET='../origin-service/' build_in_docker deploy
cd ../origin-service
git diff |
...
Code Block | ||
---|---|---|
| ||
cd thiss-js && git pull
git checkout <version>
npm install
make clean
make BASE_URL='https://use.thiss.io/' COMPONENT_URL='https://use.thiss.io/cta/' MDQ_URL='https://md.thiss.io/entities/' PERSISTENCE_URL='https://use.thiss.io/ps/' SEARCH_URL='https://md.thiss.io/entities/' STORAGE_DOMAIN='use.this.io' LOGLEVEL='error' DEFAULT_CONTEXT='thiss.io' TARGET='../origin.thiss.io/' build_in_docker deploy
cd ../origin.thiss.io
git diff |
...