mirror of https://github.com/apache/superset.git
chore: update releasing process for testing (#23331)
This commit is contained in:
parent
8fa77adf9a
commit
f4035e096f
|
@ -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"]
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue