diff options
author | Shane McDonald <me@shanemcd.com> | 2021-10-13 16:28:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 16:28:23 +0200 |
commit | 4ab2539c8ac68a215336f36e5e55519343bc4ea8 (patch) | |
tree | 4bc125bef51f53a953c01b22b82f36e8c06d23dc /Makefile | |
parent | Merge pull request #11208 from AlexSCorey/7741-GroupAdvanceSearchKeys (diff) | |
parent | Add awx-operator CI check (diff) | |
download | awx-4ab2539c8ac68a215336f36e5e55519343bc4ea8.tar.xz awx-4ab2539c8ac68a215336f36e5e55519343bc4ea8.zip |
Merge pull request #11242 from shanemcd/awx-operator-ci-check
Add awx-operator CI check
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -379,7 +379,7 @@ clean-ui: awx/ui/node_modules: NODE_OPTIONS=--max-old-space-size=4096 $(NPM_BIN) --prefix awx/ui --loglevel warn ci -$(UI_BUILD_FLAG_FILE): +$(UI_BUILD_FLAG_FILE): awx/ui/node_modules $(PYTHON) tools/scripts/compilemessages.py $(NPM_BIN) --prefix awx/ui --loglevel warn run compile-strings $(NPM_BIN) --prefix awx/ui --loglevel warn run build @@ -391,7 +391,9 @@ $(UI_BUILD_FLAG_FILE): cp -r awx/ui/build/static/media/* awx/public/static/media touch $@ -ui-release: awx/ui/node_modules $(UI_BUILD_FLAG_FILE) + + +ui-release: $(UI_BUILD_FLAG_FILE) ui-devel: awx/ui/node_modules @$(MAKE) -B $(UI_BUILD_FLAG_FILE) @@ -420,10 +422,17 @@ dev_build: release_build: $(PYTHON) setup.py release_build -dist/$(SDIST_TAR_FILE): ui-release VERSION +HEADLESS ?= no +ifeq ($(HEADLESS), yes) +dist/$(SDIST_TAR_FILE): +else +dist/$(SDIST_TAR_FILE): $(UI_BUILD_FLAG_FILE) +endif $(PYTHON) setup.py $(SDIST_COMMAND) + ln -sf $(SDIST_TAR_FILE) dist/awx.tar.gz sdist: dist/$(SDIST_TAR_FILE) + echo $(HEADLESS) @echo "#############################################" @echo "Artifacts:" @echo dist/$(SDIST_TAR_FILE) |