-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: fix off.html deploy on staging (#132)
Makes https://search.openfoodfacts.net/static/off.html work. * fix docker image generation for frontend * fix nginx config * have a way to use bundled in prod or staging and non bundled in dev --------- Co-authored-by: Kout95 <[email protected]>
- Loading branch information
Showing
6 changed files
with
33 additions
and
16 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
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 |
---|---|---|
|
@@ -53,16 +53,26 @@ jobs: | |
echo "ALLOWED_ORIGINS='http://localhost,http://127.0.0.1,https://*.openfoodfacts.org,https://*.openfoodfacts.net'" >> $GITHUB_ENV | ||
# REDIS_HOST: this is the IP address of the stunnel VM | ||
echo "REDIS_HOST=10.1.0.113" >> $GITHUB_ENV | ||
- name: Wait for search image container build workflow | ||
- name: Wait for search service image container build workflow | ||
uses: tomchv/[email protected] | ||
id: wait-build | ||
id: wait-build-service-image | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
checkName: build (search_service_image) | ||
ref: ${{ github.event.pull_request.head.sha || github.sha }} | ||
intervalSeconds: 10 | ||
timeoutSeconds: 600 # 10m | ||
|
||
- name: Wait for search front image container build workflow | ||
uses: tomchv/[email protected] | ||
id: wait-build-front-image | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
checkName: build (search_front_image) | ||
ref: ${{ github.event.pull_request.head.sha || github.sha }} | ||
intervalSeconds: 10 | ||
timeoutSeconds: 600 # 10m | ||
|
||
- name: Do something if build isn't launch | ||
if: steps.wait-build.outputs.conclusion == 'does not exist' | ||
run: echo job does not exist && true | ||
|
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
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