workflowforge 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- workflowforge/__init__.py +18 -0
- workflowforge/ai_documentation.py +138 -0
- workflowforge/codebuild.py +348 -0
- workflowforge/environment.py +25 -0
- workflowforge/github_actions_module.py +71 -0
- workflowforge/jenkins.py +323 -0
- workflowforge/jenkins_plugins.py +172 -0
- workflowforge/job.py +102 -0
- workflowforge/schema_validation.py +138 -0
- workflowforge/secrets.py +151 -0
- workflowforge/step.py +101 -0
- workflowforge/strategy.py +59 -0
- workflowforge/templates.py +177 -0
- workflowforge/triggers.py +139 -0
- workflowforge/validation.py +75 -0
- workflowforge/visualization.py +204 -0
- workflowforge/workflow.py +161 -0
- workflowforge-1.0.0.dist-info/METADATA +430 -0
- workflowforge-1.0.0.dist-info/RECORD +23 -0
- workflowforge-1.0.0.dist-info/WHEEL +5 -0
- workflowforge-1.0.0.dist-info/licenses/AUTHORS.md +18 -0
- workflowforge-1.0.0.dist-info/licenses/LICENSE +21 -0
- workflowforge-1.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,430 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: workflowforge
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: A robust and flexible library for creating GitHub Actions workflows, Jenkins pipelines, and AWS CodeBuild BuildSpecs programmatically in Python
|
|
5
|
+
Author-email: "Brainy Nimbus, LLC" <info@brainynimbus.io>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://brainynimbus.io/workflowforge
|
|
8
|
+
Project-URL: Repository, https://github.com/brainynimbus/workflowforge
|
|
9
|
+
Project-URL: Documentation, https://workflowforge.brainynimbus.io
|
|
10
|
+
Project-URL: Issues, https://github.com/brainynimbus/workflowforge/issues
|
|
11
|
+
Keywords: github-actions,jenkins,codebuild,aws,workflow,ci-cd,automation,yaml,devops,pipeline,buildspec
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
20
|
+
Requires-Python: >=3.11
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
License-File: AUTHORS.md
|
|
24
|
+
Requires-Dist: ruamel.yaml>=0.18.0
|
|
25
|
+
Requires-Dist: pydantic>=2.0.0
|
|
26
|
+
Requires-Dist: typing-extensions>=4.0.0
|
|
27
|
+
Requires-Dist: requests>=2.25.0
|
|
28
|
+
Provides-Extra: dev
|
|
29
|
+
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
30
|
+
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
|
|
31
|
+
Requires-Dist: black>=23.0.0; extra == "dev"
|
|
32
|
+
Requires-Dist: isort>=5.12.0; extra == "dev"
|
|
33
|
+
Requires-Dist: mypy>=1.0.0; extra == "dev"
|
|
34
|
+
Requires-Dist: pre-commit>=3.0.0; extra == "dev"
|
|
35
|
+
Requires-Dist: flake8>=7.0.0; extra == "dev"
|
|
36
|
+
Dynamic: license-file
|
|
37
|
+
|
|
38
|
+
# WorkflowForge 🔨
|
|
39
|
+
|
|
40
|
+
## 📊 Project Status
|
|
41
|
+
|
|
42
|
+
[![License: MIT][license-badge]][license-url]
|
|
43
|
+
[![PyPI version][pypi-badge]][pypi-url]
|
|
44
|
+
[![Test PyPI][testpypi-badge]][testpypi-url]
|
|
45
|
+
[![Python 3.11][python311-badge]][python311-url]
|
|
46
|
+
[![Python 3.12][python312-badge]][python312-url]
|
|
47
|
+
[![Python 3.13][python313-badge]][python313-url]
|
|
48
|
+
[![Tests][tests-badge]][tests-url]
|
|
49
|
+
[![pre-commit.ci status][precommit-badge]][precommit-url]
|
|
50
|
+
[![Formatted with Black][black-badge]][black-url]
|
|
51
|
+
[![Imports: isort][isort-badge]][isort-url]
|
|
52
|
+
|
|
53
|
+
[license-badge]: https://img.shields.io/badge/License-MIT-yellow.svg
|
|
54
|
+
[license-url]: https://opensource.org/licenses/MIT
|
|
55
|
+
[pypi-badge]: https://badge.fury.io/py/workflowforge.svg
|
|
56
|
+
[pypi-url]: https://badge.fury.io/py/workflowforge
|
|
57
|
+
[testpypi-badge]: https://img.shields.io/badge/Test%20PyPI-published-green
|
|
58
|
+
[testpypi-url]: https://test.pypi.org/project/workflowforge/
|
|
59
|
+
[python311-badge]: https://img.shields.io/badge/python-3.11-blue.svg
|
|
60
|
+
[python311-url]: https://www.python.org/downloads/release/python-3110/
|
|
61
|
+
[python312-badge]: https://img.shields.io/badge/python-3.12-blue.svg
|
|
62
|
+
[python312-url]: https://www.python.org/downloads/release/python-3120/
|
|
63
|
+
[python313-badge]: https://img.shields.io/badge/python-3.13-blue.svg
|
|
64
|
+
[python313-url]: https://www.python.org/downloads/release/python-3130/
|
|
65
|
+
[tests-badge]: https://github.com/brainynimbus/workflowforge/workflows/Publish%20WorkflowForge%20to%20PyPI/badge.svg
|
|
66
|
+
[tests-url]: https://github.com/brainynimbus/workflowforge/actions
|
|
67
|
+
[precommit-badge]: https://results.pre-commit.ci/badge/github/brainynimbus/workflowforge/main.svg
|
|
68
|
+
[precommit-url]: https://results.pre-commit.ci/latest/github/brainynimbus/workflowforge/main
|
|
69
|
+
[black-badge]: https://img.shields.io/badge/code%20style-black-000000.svg
|
|
70
|
+
[black-url]: https://github.com/psf/black
|
|
71
|
+
[isort-badge]: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
|
|
72
|
+
[isort-url]: https://pycqa.github.io/isort/
|
|
73
|
+
|
|
74
|
+
A robust and flexible library for creating GitHub Actions workflows, Jenkins pipelines, and AWS CodeBuild BuildSpecs programmatically in Python.
|
|
75
|
+
|
|
76
|
+
## ✨ Features
|
|
77
|
+
|
|
78
|
+
- **Intuitive API**: Fluent and easy-to-use syntax
|
|
79
|
+
- **Type Validation**: Built on Pydantic for automatic validation
|
|
80
|
+
- **IDE Support**: Full autocompletion with type hints
|
|
81
|
+
- **Type Safety**: Complete mypy compliance with strict type checking
|
|
82
|
+
- **Multi-Platform**: GitHub Actions, Jenkins, AWS CodeBuild
|
|
83
|
+
- **AI Documentation**: Optional AI-powered README generation with Ollama
|
|
84
|
+
- **Pipeline Visualization**: Automatic diagram generation with Graphviz
|
|
85
|
+
- **Secrets Support**: Secure credential handling across all platforms
|
|
86
|
+
- **Templates**: Pre-built workflows for common use cases
|
|
87
|
+
- **Validation**: Schema validation and best practices checking
|
|
88
|
+
|
|
89
|
+
## 🚀 Installation
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
pip install workflowforge
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## 📚 Examples
|
|
96
|
+
|
|
97
|
+
Check out the `examples/` directory for complete working examples:
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
|
|
101
|
+
# Or run individual examples
|
|
102
|
+
python examples/github_actions/basic_ci.py
|
|
103
|
+
python examples/jenkins/maven_build.py
|
|
104
|
+
python examples/codebuild/node_app.py
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
This will generate actual pipeline files and diagrams using the new import structure.
|
|
108
|
+
|
|
109
|
+
## 🤖 AI Documentation (Optional)
|
|
110
|
+
|
|
111
|
+
WorkflowForge can automatically generate comprehensive README documentation for your workflows using **Ollama** (free local AI):
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
# Install Ollama (one-time setup)
|
|
115
|
+
curl -fsSL https://ollama.com/install.sh | sh
|
|
116
|
+
ollama serve
|
|
117
|
+
ollama pull llama3.2
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
```python
|
|
121
|
+
# Generate workflow with AI documentation and diagram
|
|
122
|
+
workflow.save(".github/workflows/ci.yml", generate_readme=True, use_ai=True, generate_diagram=True)
|
|
123
|
+
# Creates: ci.yml + ci_README.md + CI_Pipeline_workflow.png
|
|
124
|
+
|
|
125
|
+
# Or generate README separately
|
|
126
|
+
readme = workflow.generate_readme(use_ai=True, ai_model="llama3.2")
|
|
127
|
+
print(readme)
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
**Features:**
|
|
131
|
+
|
|
132
|
+
- ✅ **Completely free** - no API keys or cloud services
|
|
133
|
+
- ✅ **Works offline** - local AI processing
|
|
134
|
+
- ✅ **Optional** - gracefully falls back to templates if Ollama not available
|
|
135
|
+
- ✅ **Comprehensive** - explains purpose, triggers, jobs, secrets, setup instructions
|
|
136
|
+
- ✅ **All platforms** - GitHub Actions, Jenkins, AWS CodeBuild
|
|
137
|
+
|
|
138
|
+
## 📊 Pipeline Visualization (Automatic)
|
|
139
|
+
|
|
140
|
+
WorkflowForge automatically generates visual diagrams of your pipelines using **Graphviz**:
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
# Install Graphviz (one-time setup)
|
|
144
|
+
brew install graphviz # macOS
|
|
145
|
+
sudo apt-get install graphviz # Ubuntu
|
|
146
|
+
choco install graphviz # Windows
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
```python
|
|
150
|
+
# Generate workflow with automatic diagram
|
|
151
|
+
workflow.save(".github/workflows/ci.yml", generate_diagram=True)
|
|
152
|
+
# Creates: ci.yml + CI_Pipeline_workflow.png
|
|
153
|
+
|
|
154
|
+
# Generate diagram separately
|
|
155
|
+
diagram_path = workflow.generate_diagram("png")
|
|
156
|
+
print(f"📊 Diagram saved: {diagram_path}")
|
|
157
|
+
|
|
158
|
+
# Multiple formats supported
|
|
159
|
+
workflow.generate_diagram("svg") # Vector graphics
|
|
160
|
+
workflow.generate_diagram("pdf") # PDF document
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
**Features:**
|
|
164
|
+
|
|
165
|
+
- ✅ **Automatic generation** - every pipeline gets a visual diagram
|
|
166
|
+
- ✅ **Multiple formats** - PNG, SVG, PDF, DOT
|
|
167
|
+
- ✅ **Smart fallback** - DOT files if Graphviz not installed
|
|
168
|
+
- ✅ **Platform-specific styling** - GitHub (blue), Jenkins (orange), CodeBuild (purple)
|
|
169
|
+
- ✅ **Comprehensive view** - shows triggers, jobs, dependencies, step counts
|
|
170
|
+
|
|
171
|
+
## 📖 Basic Usage
|
|
172
|
+
|
|
173
|
+
### New Modular Import Style (Recommended)
|
|
174
|
+
|
|
175
|
+
```python
|
|
176
|
+
from workflowforge import github_actions
|
|
177
|
+
|
|
178
|
+
# Create workflow using snake_case functions
|
|
179
|
+
workflow = github_actions.workflow(
|
|
180
|
+
name="My Workflow",
|
|
181
|
+
on=github_actions.on_push(branches=["main"])
|
|
182
|
+
)
|
|
183
|
+
|
|
184
|
+
# Create job
|
|
185
|
+
job = github_actions.job(runs_on="ubuntu-latest")
|
|
186
|
+
job.add_step(github_actions.action("actions/checkout@v4", name="Checkout"))
|
|
187
|
+
job.add_step(github_actions.run("echo 'Hello World!'", name="Say Hello"))
|
|
188
|
+
|
|
189
|
+
# Add job to workflow
|
|
190
|
+
workflow.add_job("hello", job)
|
|
191
|
+
|
|
192
|
+
# Generate YAML
|
|
193
|
+
print(workflow.to_yaml())
|
|
194
|
+
|
|
195
|
+
# Save with documentation and diagram
|
|
196
|
+
workflow.save(".github/workflows/hello.yml", generate_readme=True, generate_diagram=True)
|
|
197
|
+
# Creates: hello.yml + hello_README.md + My_Workflow.png
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
### Jenkins Pipeline Usage
|
|
203
|
+
|
|
204
|
+
```python
|
|
205
|
+
from workflowforge import jenkins_platform
|
|
206
|
+
|
|
207
|
+
# Create Jenkins pipeline using snake_case
|
|
208
|
+
pipeline = jenkins_platform.pipeline()
|
|
209
|
+
pipeline.set_agent(jenkins_platform.agent_docker("maven:3.9.3-eclipse-temurin-17"))
|
|
210
|
+
|
|
211
|
+
# Add stages
|
|
212
|
+
build_stage = jenkins_platform.stage("Build")
|
|
213
|
+
build_stage.add_step("mvn clean compile")
|
|
214
|
+
pipeline.add_stage(build_stage)
|
|
215
|
+
|
|
216
|
+
# Generate Jenkinsfile with diagram
|
|
217
|
+
pipeline.save("Jenkinsfile", generate_diagram=True)
|
|
218
|
+
# Creates: Jenkinsfile + jenkins_pipeline.png
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
### AWS CodeBuild BuildSpec Usage
|
|
222
|
+
|
|
223
|
+
```python
|
|
224
|
+
from workflowforge import aws_codebuild
|
|
225
|
+
|
|
226
|
+
# Create BuildSpec using snake_case
|
|
227
|
+
spec = aws_codebuild.buildspec()
|
|
228
|
+
|
|
229
|
+
# Add environment
|
|
230
|
+
env = aws_codebuild.environment()
|
|
231
|
+
env.add_variable("JAVA_HOME", "/usr/lib/jvm/java-17-openjdk")
|
|
232
|
+
spec.set_env(env)
|
|
233
|
+
|
|
234
|
+
# Add build phase
|
|
235
|
+
build_phase = aws_codebuild.phase()
|
|
236
|
+
build_phase.add_command("mvn clean package")
|
|
237
|
+
spec.set_build_phase(build_phase)
|
|
238
|
+
|
|
239
|
+
# Set artifacts
|
|
240
|
+
artifacts_obj = aws_codebuild.artifacts(["target/*.jar"])
|
|
241
|
+
spec.set_artifacts(artifacts_obj)
|
|
242
|
+
|
|
243
|
+
# Generate buildspec.yml with AI documentation and diagram
|
|
244
|
+
spec.save("buildspec.yml", generate_readme=True, use_ai=True, generate_diagram=True)
|
|
245
|
+
# Creates: buildspec.yml + buildspec_README.md + codebuild_spec.png
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
### AI Documentation Examples
|
|
249
|
+
|
|
250
|
+
```python
|
|
251
|
+
# GitHub Actions with AI README
|
|
252
|
+
workflow = Workflow(name="CI Pipeline", on=on_push())
|
|
253
|
+
job = Job(runs_on="ubuntu-latest")
|
|
254
|
+
job.add_step(action("actions/checkout@v4"))
|
|
255
|
+
workflow.add_job("test", job)
|
|
256
|
+
|
|
257
|
+
# Save with AI documentation and diagram
|
|
258
|
+
workflow.save("ci.yml", generate_readme=True, use_ai=True, generate_diagram=True)
|
|
259
|
+
# Creates: ci.yml + ci_README.md + Test_Workflow.png
|
|
260
|
+
|
|
261
|
+
# Jenkins with AI README and diagram
|
|
262
|
+
pipeline = pipeline()
|
|
263
|
+
stage_build = stage("Build")
|
|
264
|
+
stage_build.add_step("mvn clean package")
|
|
265
|
+
pipeline.add_stage(stage_build)
|
|
266
|
+
|
|
267
|
+
# Save with AI documentation and diagram
|
|
268
|
+
pipeline.save("Jenkinsfile", generate_readme=True, use_ai=True, generate_diagram=True)
|
|
269
|
+
# Creates: Jenkinsfile + Jenkinsfile_README.md + jenkins_pipeline.png
|
|
270
|
+
|
|
271
|
+
# Check AI availability
|
|
272
|
+
from workflowforge import OllamaClient
|
|
273
|
+
client = OllamaClient()
|
|
274
|
+
if client.is_available():
|
|
275
|
+
print("AI documentation available!")
|
|
276
|
+
else:
|
|
277
|
+
print("Using template documentation (Ollama not running)")
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
## 🆕 New Modular Import Structure
|
|
281
|
+
|
|
282
|
+
WorkflowForge now supports **platform-specific imports** with **snake_case naming** following Python conventions:
|
|
283
|
+
|
|
284
|
+
### Platform Modules
|
|
285
|
+
|
|
286
|
+
```python
|
|
287
|
+
# Import specific platforms
|
|
288
|
+
from workflowforge import github_actions, jenkins_platform, aws_codebuild
|
|
289
|
+
|
|
290
|
+
# Or use short aliases
|
|
291
|
+
from workflowforge import github_actions as gh
|
|
292
|
+
from workflowforge import jenkins_platform as jenkins
|
|
293
|
+
from workflowforge import aws_codebuild as cb
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
### Benefits
|
|
297
|
+
|
|
298
|
+
✅ **Platform separation** - Clear namespace for each platform
|
|
299
|
+
✅ **Snake case naming** - Follows Python PEP 8 conventions
|
|
300
|
+
✅ **IDE autocompletion** - Better IntelliSense support
|
|
301
|
+
|
|
302
|
+
✅ **Shorter code** - `gh.action()` vs `github_actions.action()`
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
## 🔧 Advanced Examples
|
|
307
|
+
|
|
308
|
+
### Build Matrix Workflow
|
|
309
|
+
|
|
310
|
+
```python
|
|
311
|
+
from workflowforge import github_actions as gh
|
|
312
|
+
|
|
313
|
+
job = gh.job(
|
|
314
|
+
runs_on="ubuntu-latest",
|
|
315
|
+
strategy=gh.strategy(
|
|
316
|
+
matrix=gh.matrix(
|
|
317
|
+
python_version=["3.11", "3.12", "3.13"],
|
|
318
|
+
os=["ubuntu-latest", "windows-latest"]
|
|
319
|
+
)
|
|
320
|
+
)
|
|
321
|
+
)
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
### Multiple Triggers
|
|
325
|
+
|
|
326
|
+
```python
|
|
327
|
+
from workflowforge import github_actions as gh
|
|
328
|
+
|
|
329
|
+
workflow = gh.workflow(
|
|
330
|
+
name="CI/CD",
|
|
331
|
+
on=[
|
|
332
|
+
gh.on_push(branches=["main"]),
|
|
333
|
+
gh.on_pull_request(branches=["main"]),
|
|
334
|
+
gh.on_schedule("0 2 * * *") # Daily at 2 AM
|
|
335
|
+
]
|
|
336
|
+
)
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
### Jobs with Dependencies
|
|
340
|
+
|
|
341
|
+
```python
|
|
342
|
+
from workflowforge import github_actions as gh
|
|
343
|
+
|
|
344
|
+
test_job = gh.job(runs_on="ubuntu-latest")
|
|
345
|
+
deploy_job = gh.job(runs_on="ubuntu-latest")
|
|
346
|
+
deploy_job.needs = "test"
|
|
347
|
+
|
|
348
|
+
workflow = gh.workflow(name="CI/CD")
|
|
349
|
+
workflow.add_job("test", test_job)
|
|
350
|
+
workflow.add_job("deploy", deploy_job)
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
## 📚 Complete Documentation
|
|
354
|
+
|
|
355
|
+
### Platform Support
|
|
356
|
+
|
|
357
|
+
**GitHub Actions:**
|
|
358
|
+
|
|
359
|
+
- `on_push()`, `on_pull_request()`, `on_schedule()`, `on_workflow_dispatch()`
|
|
360
|
+
- `action()`, `run()` steps
|
|
361
|
+
- `secret()`, `variable()`, `github_context()` for credentials
|
|
362
|
+
- Build matrices, strategies, environments
|
|
363
|
+
|
|
364
|
+
**Jenkins:**
|
|
365
|
+
|
|
366
|
+
- `pipeline()`, `stage()`, `agent_docker()`, `agent_any()`
|
|
367
|
+
- `jenkins_credential()`, `jenkins_env()`, `jenkins_param()`
|
|
368
|
+
- Shared libraries, parameters, post actions
|
|
369
|
+
|
|
370
|
+
**AWS CodeBuild:**
|
|
371
|
+
|
|
372
|
+
- `buildspec()`, `phase()`, `environment()`, `artifacts()`
|
|
373
|
+
- `codebuild_secret()`, `codebuild_parameter()`, `codebuild_env()`
|
|
374
|
+
- Runtime versions, caching, reports
|
|
375
|
+
|
|
376
|
+
### AI Documentation
|
|
377
|
+
|
|
378
|
+
- **Ollama Integration**: Local AI models (llama3.2, codellama, qwen2.5-coder)
|
|
379
|
+
- **Automatic README**: Explains workflow purpose, triggers, jobs, setup
|
|
380
|
+
- **Fallback Support**: Template-based documentation if AI unavailable
|
|
381
|
+
- **All Platforms**: Works with GitHub Actions, Jenkins, CodeBuild
|
|
382
|
+
|
|
383
|
+
### Pipeline Visualization
|
|
384
|
+
|
|
385
|
+
- **Graphviz Integration**: Native diagram generation using DOT language
|
|
386
|
+
- **Multiple Formats**: PNG, SVG, PDF, DOT files
|
|
387
|
+
- **Platform Styling**: Color-coded diagrams (GitHub: blue, Jenkins: orange, CodeBuild: purple)
|
|
388
|
+
- **Smart Fallback**: DOT files if Graphviz not installed, images if available
|
|
389
|
+
- **Comprehensive View**: Shows triggers, jobs, dependencies, step counts, execution flow
|
|
390
|
+
|
|
391
|
+
## 🤝 Contributing
|
|
392
|
+
|
|
393
|
+
Contributions are welcome! Please:
|
|
394
|
+
|
|
395
|
+
1. Fork the repository
|
|
396
|
+
2. Create a feature branch
|
|
397
|
+
3. Add tests
|
|
398
|
+
4. Submit a pull request
|
|
399
|
+
|
|
400
|
+
## 👨💻 Author & Maintainer
|
|
401
|
+
|
|
402
|
+
**Brainy Nimbus, LLC** - We love opensource! 💖
|
|
403
|
+
|
|
404
|
+
Website: [brainynimbus.io](https://brainynimbus.io)
|
|
405
|
+
Email: <info@brainynimbus.io>
|
|
406
|
+
GitHub: [@brainynimbus](https://github.com/brainynimbus)
|
|
407
|
+
|
|
408
|
+
## 📄 License
|
|
409
|
+
|
|
410
|
+
MIT License - see [LICENSE](LICENSE) for details.
|
|
411
|
+
|
|
412
|
+
## 🔗 Links
|
|
413
|
+
|
|
414
|
+
**GitHub Actions:**
|
|
415
|
+
|
|
416
|
+
- [GitHub Actions Documentation](https://docs.github.com/en/actions)
|
|
417
|
+
- [Actions Marketplace](https://github.com/marketplace?type=actions)
|
|
418
|
+
- [Workflow Syntax](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions)
|
|
419
|
+
|
|
420
|
+
**Jenkins:**
|
|
421
|
+
|
|
422
|
+
- [Jenkins Documentation](https://www.jenkins.io/doc/)
|
|
423
|
+
- [Pipeline Syntax](https://www.jenkins.io/doc/book/pipeline/syntax/)
|
|
424
|
+
- [Jenkins Plugins](https://plugins.jenkins.io/)
|
|
425
|
+
|
|
426
|
+
**AWS CodeBuild:**
|
|
427
|
+
|
|
428
|
+
- [CodeBuild Documentation](https://docs.aws.amazon.com/codebuild/)
|
|
429
|
+
- [BuildSpec Reference](https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html)
|
|
430
|
+
- [CodeBuild Samples](https://docs.aws.amazon.com/codebuild/latest/userguide/samples.html)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
workflowforge/__init__.py,sha256=k20E9fJJd3FbbwMpR8Mljw1-W6nkSlUbBWOjAlUJQvo,521
|
|
2
|
+
workflowforge/ai_documentation.py,sha256=GbMdtChtGJtyKerFMzI_CcLmjaLgAu-J1sSFaEHLTxk,4149
|
|
3
|
+
workflowforge/codebuild.py,sha256=RoxBPltMws1Wn6AP6UROgrN64FuSx6JdjRco_meGP6w,12587
|
|
4
|
+
workflowforge/environment.py,sha256=Wx9RXaATBC4seIjlC5rzlwUCcg2vy7VVkAanduhN1wo,738
|
|
5
|
+
workflowforge/github_actions_module.py,sha256=fQwcmTzr6Si8F3ZNP-wUlvbYfPXNhOU_XqrXunAA-jQ,1571
|
|
6
|
+
workflowforge/jenkins.py,sha256=pSrjVogTApk5iz5r69JI2RINI86Rk2xHx6j7RlaKhI8,10989
|
|
7
|
+
workflowforge/jenkins_plugins.py,sha256=YRlNLG8U-2XGcLL47KhmtxayXkXLmvRxNSgKUhY6J4w,6433
|
|
8
|
+
workflowforge/job.py,sha256=dDdf0zAZmAo_S9NGkMpNW6vz9oMDnXtTIYOCG_5YHmI,3710
|
|
9
|
+
workflowforge/schema_validation.py,sha256=OCisYDrYAwdIYrLpt53BzQsBFAb2_DuPsxxIAT0V47c,4251
|
|
10
|
+
workflowforge/secrets.py,sha256=xKZyf-xeeQN4VQ9mhxSho_2rkDBQINPhJyKkh8wA0Mg,3624
|
|
11
|
+
workflowforge/step.py,sha256=8QXHdX43hZTjZ8kqZAmv7iV2zoJLUhQz_0nXcpyUsGc,3391
|
|
12
|
+
workflowforge/strategy.py,sha256=k90e4RXcjauoZuIZ3erClVKpy-Y6WbkiLl0sJKVVuMM,1833
|
|
13
|
+
workflowforge/templates.py,sha256=fccs14XUqJ9DMYfuWNJ-x254oCwwTkLJc41UUvHYHVI,5629
|
|
14
|
+
workflowforge/triggers.py,sha256=56JR73lODvfBfI2qGuOkOXXoL9E0rctH8wkityt3zVs,4618
|
|
15
|
+
workflowforge/validation.py,sha256=v2n_fm_FGKpyDMP6ZW98coEu0cP1eYF-vJsQmTo3ECQ,2223
|
|
16
|
+
workflowforge/visualization.py,sha256=ixE9AuSGjilCt4MORgzfWUVvGisUvxA8A3KX9qzwpaQ,7395
|
|
17
|
+
workflowforge/workflow.py,sha256=0v2SaXXcLXVYHdX8SdiObNZKbF5-9vomYSz6vNhfeXs,5616
|
|
18
|
+
workflowforge-1.0.0.dist-info/licenses/AUTHORS.md,sha256=k60lokjNBiVANxcmSd-V14FnZkgZ460BhGHI6wUEJPI,584
|
|
19
|
+
workflowforge-1.0.0.dist-info/licenses/LICENSE,sha256=CtUYPup3IC0JXBeoOp3D7TFO8dOtp9OzceCwRX1X4Yg,1077
|
|
20
|
+
workflowforge-1.0.0.dist-info/METADATA,sha256=hCkF2lEL_LBvJ3REa0KFQVnfE-ax-9RSLsO7iJwbOj4,14212
|
|
21
|
+
workflowforge-1.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
22
|
+
workflowforge-1.0.0.dist-info/top_level.txt,sha256=hG5J2HbxHV149TAjnEeiUgu5WAQ4-O4CFjvl1goab08,14
|
|
23
|
+
workflowforge-1.0.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Authors
|
|
2
|
+
|
|
3
|
+
## Creator & Maintainer
|
|
4
|
+
|
|
5
|
+
**Brainy Nimbus, LLC**
|
|
6
|
+
Website: [brainynimbus.io](https://brainynimbus.io)
|
|
7
|
+
Email: <info@brainynimbus.io>
|
|
8
|
+
GitHub: [@brainynimbus](https://github.com/brainynimbus)
|
|
9
|
+
|
|
10
|
+
## Contributions
|
|
11
|
+
|
|
12
|
+
WorkflowForge was created and developed by Brainy Nimbus, LLC as a robust and flexible solution for generating GitHub Actions workflows and Jenkins pipelines programmatically in Python.
|
|
13
|
+
|
|
14
|
+
### Acknowledgments
|
|
15
|
+
|
|
16
|
+
- Inspired by the need to simplify complex workflow creation
|
|
17
|
+
- Based on GitHub Actions and Jenkins best practices
|
|
18
|
+
- Designed with developer experience in mind
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Brainy Nimbus, LLC
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
workflowforge
|