Fix - env file and testing workflow
This commit is contained in:
@@ -19,9 +19,9 @@ SHUFFLE_DOWNLOAD_AUTH_BRANCH=
|
|||||||
SHUFFLE_APP_FORCE_UPDATE=false
|
SHUFFLE_APP_FORCE_UPDATE=false
|
||||||
|
|
||||||
# User config for first load. Username & PW: min length 3
|
# User config for first load. Username & PW: min length 3
|
||||||
SHUFFLE_DEFAULT_USERNAME="demo@demo.io"
|
SHUFFLE_DEFAULT_USERNAME=
|
||||||
SHUFFLE_DEFAULT_PASSWORD="supercoolpassword"
|
SHUFFLE_DEFAULT_PASSWORD=
|
||||||
SHUFFLE_DEFAULT_APIKEY="supercoolapikey"
|
SHUFFLE_DEFAULT_APIKEY=
|
||||||
|
|
||||||
# Local location of your app directory. Can't use ~/
|
# Local location of your app directory. Can't use ~/
|
||||||
# Files will get better at some point. Right now: local saving.
|
# Files will get better at some point. Right now: local saving.
|
||||||
|
|||||||
@@ -100,12 +100,12 @@ jobs:
|
|||||||
echo "User registration failed after $MAX_RETRIES attempts."
|
echo "User registration failed after $MAX_RETRIES attempts."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
# - name: Run Selenium testing for frontend
|
- name: Run Selenium testing for frontend
|
||||||
# run: |
|
run: |
|
||||||
# cd $GITHUB_WORKSPACE/frontend
|
cd $GITHUB_WORKSPACE/frontend
|
||||||
# # write some log to see the current directory
|
# write some log to see the current directory
|
||||||
# chmod +x frontend-testing.sh
|
chmod +x frontend-testing.sh
|
||||||
# ./frontend-testing.sh
|
./frontend-testing.sh
|
||||||
|
|
||||||
- name: Get the API key and run a health check
|
- name: Get the API key and run a health check
|
||||||
id: health_check
|
id: health_check
|
||||||
@@ -161,11 +161,6 @@ jobs:
|
|||||||
|
|
||||||
echo "Health check failed after $MAX_RETRIES attempts."
|
echo "Health check failed after $MAX_RETRIES attempts."
|
||||||
exit 1
|
exit 1
|
||||||
- name: Get shuffle-orborus logs if health check fails
|
|
||||||
if: failure()
|
|
||||||
run: |
|
|
||||||
echo "Health check failed. Fetching shuffle-orborus logs..."
|
|
||||||
docker logs --tail 50 shuffle-orborus
|
|
||||||
|
|
||||||
# notify:
|
# notify:
|
||||||
# needs: build
|
# needs: build
|
||||||
|
|||||||
Reference in New Issue
Block a user