-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
659461b
commit 57488d0
Showing
1 changed file
with
3 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,7 @@ jobs: | |
echo "REDIS_UPDATE_HOST=redis.po_webnet" >> $GITHUB_ENV | ||
echo "INFLUXDB_HOST=10.1.0.200" >> $GITHUB_ENV | ||
echo "IMAGE_MODERATION_SERVICE_URL=https://nutripatrol.openfoodfacts.net/api/v1/flags" >> $GITHUB_ENV | ||
echo "CROP_ALLOWED_DOMAINS=static.openfoodfacts.net,static.openfoodfacts.org,openfoodfacts-images.s3.eu-west-3.amazonaws.com,images.openfoodfacts.net,images.openfoodfacts.org" >> $GITHUB_ENV | ||
- name: Set various variable for production deployment | ||
if: matrix.env == 'robotoff-org' | ||
run: | | ||
|
@@ -45,6 +46,7 @@ jobs: | |
echo "REDIS_UPDATE_HOST=10.1.0.113" >> $GITHUB_ENV | ||
echo "INFLUXDB_HOST=10.1.0.201" >> $GITHUB_ENV | ||
echo "IMAGE_MODERATION_SERVICE_URL=https://nutripatrol.openfoodfacts.org/api/v1/flags" >> $GITHUB_ENV | ||
echo "CROP_ALLOWED_DOMAINS=static.openfoodfacts.org,openfoodfacts-images.s3.eu-west-3.amazonaws.com,images.openfoodfacts.org" >> $GITHUB_ENV | ||
- name: Wait for container build workflow | ||
uses: tomchv/[email protected] | ||
id: wait-build | ||
|
@@ -149,6 +151,7 @@ jobs: | |
echo "GUNICORN_NUM_WORKERS=4" >> .env | ||
echo "EVENTS_API_URL=https://event.openfoodfacts.${{ env.ROBOTOFF_TLD }}" >> .env | ||
echo "IMAGE_MODERATION_SERVICE_URL=${{ env.IMAGE_MODERATION_SERVICE_URL }}" >> .env | ||
echo "CROP_ALLOWED_DOMAINS=${{ env.CROP_ALLOWED_DOMAINS }}" >> .env | ||
# PostgreSQL config | ||
echo "ROBOTOFF_POSTGRES_SHARED_BUFFERS=8GB" >> .env | ||
|