chore: update releasing process for testing (#23331)

This commit is contained in:
Elizabeth Thompson 2023-03-17 17:39:37 -07:00 committed by GitHub
parent 8fa77adf9a
commit f4035e096f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -61,6 +61,7 @@ RUN pip install --upgrade setuptools pip \
RUN flask fab babel-compile --target superset/translations
ENV PATH=/home/superset/superset/bin:$PATH \
PYTHONPATH=/home/superset/superset/:$PYTHONPATH
PYTHONPATH=/home/superset/superset/:$PYTHONPATH \
SUPERSET_TESTENV=true
COPY from_tarball_entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

View File

@ -19,6 +19,7 @@ set -ex
echo "[WARNING] this entrypoint creates an admin/admin user"
echo "[WARNING] it should only be used for lightweight testing/validation"
if $SUPERSET_TESTENV then echo "SUPERSET IS RUNNING IN TEST MODE"
# Create an admin user (you will be prompted to set username, first and last name before setting a password)
superset fab create-admin \