1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-27 00:55:06 +03:00

make dev-env test pass

This commit is contained in:
Hao Liu 2023-03-16 14:06:10 -04:00
parent edbed92c95
commit ae0d868681
2 changed files with 3 additions and 8 deletions

View File

@ -420,7 +420,7 @@ ui-devel: awx/ui/node_modules
cp -r awx/ui/build/static/css/* /var/lib/awx/public/static/css; \
cp -r awx/ui/build/static/js/* /var/lib/awx/public/static/js; \
cp -r awx/ui/build/static/media/* /var/lib/awx/public/static/media; \
fi
fi
ui-devel-instrumented: awx/ui/node_modules
$(NPM_BIN) --prefix awx/ui --loglevel warn run start-instrumented
@ -655,13 +655,7 @@ help/generate:
{ lastLine = $$0 }' $(MAKEFILE_LIST) | sort -u
@printf "\n"
## Display help for a specific target folder
help/%:
@make -s help MAKEFILE_LIST="$*/Makefile"
## Display help for ui-next targets
help/ui-next:
@make -s help MAKEFILE_LIST="awx/ui_next/Makefile"
## Display help for a specific target folder
help/%/aliases:
@make -s help/all MAKEFILE_LIST="$*/Makefile.aliases"

View File

@ -25,6 +25,7 @@ fi
# Make sure that the UI static file directory exists, Django complains otherwise.
mkdir -p /awx_devel/awx/ui/build/static
mkdir -p /awx_devel/awx/ui_next/build/awx
if output=$(awx-manage createsuperuser --noinput --username=admin --email=admin@localhost 2> /dev/null); then
echo $output