Skip to content

Commit b61de27

Browse files
committed
chore: move the global/site workflows to matching paths
This moves the global and the site workflows to matching paths to make the layout more consistent with the rest of the project.
1 parent 47ee672 commit b61de27

37 files changed

+8
-6
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ else
1717
ACTIVATE := $(VENV_DIR)/bin/activate
1818
endif
1919

20-
WFTMPLS := $(wildcard workflows/*/workflowtemplates/*.yaml)
20+
WFTMPLS := $(wildcard components/*-workflows/*/workflowtemplates/*.yaml)
2121

2222
.PHONY: help
2323
help: ## Displays this help message
@@ -31,6 +31,8 @@ $(ACTIVATE): requirements-docs.txt
3131
.PHONY: wftmpls
3232
wftmpls: $(WFTMPLS) $(ACTIVATE)
3333
@mkdir -p docs/workflows
34+
@$(PYTHON) scripts/argo-workflows-to-mkdocs.py components/global-workflows docs/workflows
35+
@$(PYTHON) scripts/argo-workflows-to-mkdocs.py components/site-workflows docs/workflows
3436
@$(PYTHON) scripts/argo-workflows-to-mkdocs.py workflows docs/workflows
3537

3638
.PHONY: docs

apps/global/global-workflows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ component: global-workflows
33
componentNamespace: nautobot
44
sources:
55
- ref: understack
6-
path: 'workflows/nautobot'
6+
path: 'components/global-workflows'
77
- ref: deploy
88
path: '{{.name}}/manifests/global-workflows'

apps/site/site-workflows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ component: site-workflows
33
componentNamespace: openstack
44
sources:
55
- ref: understack
6-
path: 'workflows/openstack'
6+
path: 'components/site-workflows'
77
- ref: deploy
88
path: '{{.name}}/manifests/site-workflows'

0 commit comments

Comments
 (0)