Skip to content

Commit 8f633e1

Browse files
authored
Merge pull request #1342 from rackerlabs/workflow-split
feat: complete the split of the workflows into separate applications
2 parents bbf33e4 + b61de27 commit 8f633e1

File tree

42 files changed

+25
-34
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+25
-34
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: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
component: global-workflows
3+
componentNamespace: nautobot
4+
sources:
5+
- ref: understack
6+
path: 'components/global-workflows'
7+
- ref: deploy
8+
path: '{{.name}}/manifests/global-workflows'

apps/global/nautobot-workflows.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

apps/site/argo-events-workflows.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ componentNamespace: argo-events
44
sources:
55
- ref: understack
66
path: 'workflows/argo-events'
7+
- ref: deploy
8+
path: '{{.name}}/manifests/argo-events-workflows'

apps/site/openstack-workflows.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

apps/site/site-workflows.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
component: site-workflows
3+
componentNamespace: openstack
4+
sources:
5+
- ref: understack
6+
path: 'components/site-workflows'
7+
- ref: deploy
8+
path: '{{.name}}/manifests/site-workflows'

workflows/nautobot/kustomization.yaml renamed to components/global-workflows/kustomization.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33

4-
namespace: nautobot
5-
64
resources:
75
- eventbus/eventbus-default.yaml
86
- eventbus/poddisruptionbudget-eventbus-default-pdb.yaml

0 commit comments

Comments
 (0)