workflowforge 1.0b1__tar.gz → 1.0b2__tar.gz
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.
Potentially problematic release.
This version of workflowforge might be problematic. Click here for more details.
- workflowforge-1.0b2/.github/workflows/publish.yml +117 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/PKG-INFO +1 -1
- {workflowforge-1.0b1 → workflowforge-1.0b2}/pyproject.toml +1 -1
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge.egg-info/PKG-INFO +1 -1
- workflowforge-1.0b1/.github/workflows/publish.yml +0 -117
- {workflowforge-1.0b1 → workflowforge-1.0b2}/.flake8 +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/.gitignore +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/.pre-commit-config.yaml +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/AUTHORS.md +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/LICENSE +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/MANIFEST.in +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/README.md +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/README_PRECOMMIT.md +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/examples/ai_documentation_example.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/examples/basic_workflow.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/examples/codebuild_example.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/examples/jenkins_advanced.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/examples/jenkins_example.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/examples/visualization_example.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/setup.cfg +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/setup.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge/__init__.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge/ai_documentation.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge/codebuild.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge/environment.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge/jenkins.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge/jenkins_plugins.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge/job.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge/schema_validation.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge/secrets.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge/step.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge/strategy.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge/templates.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge/triggers.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge/validation.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge/visualization.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge/workflow.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge.egg-info/SOURCES.txt +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge.egg-info/dependency_links.txt +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge.egg-info/requires.txt +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/src/workflowforge.egg-info/top_level.txt +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/tests/__init__.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/tests/test_ai_documentation.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/tests/test_codebuild.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/tests/test_jenkins.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/tests/test_secrets.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/tests/test_templates.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/tests/test_validation.py +0 -0
- {workflowforge-1.0b1 → workflowforge-1.0b2}/tests/test_workflow.py +0 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
# Do not modify - Generated with WorkflowForge
|
|
2
|
+
name: Publish WorkflowForge to PyPI
|
|
3
|
+
'on':
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
pull_request:
|
|
8
|
+
branches:
|
|
9
|
+
- main
|
|
10
|
+
release:
|
|
11
|
+
types:
|
|
12
|
+
- published
|
|
13
|
+
jobs:
|
|
14
|
+
test:
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v4
|
|
17
|
+
name: Checkout code
|
|
18
|
+
- uses: actions/setup-python@v5
|
|
19
|
+
name: Set up Python ${{ matrix.python-version }}
|
|
20
|
+
with:
|
|
21
|
+
python-version: ${{ matrix.python-version }}
|
|
22
|
+
- run: python -m pip install --upgrade pip
|
|
23
|
+
name: Install pip
|
|
24
|
+
- run: pip install -e .[dev]
|
|
25
|
+
name: Install dependencies
|
|
26
|
+
- run: black --check src/ tests/
|
|
27
|
+
name: Check code formatting
|
|
28
|
+
- run: isort --check-only src/ tests/
|
|
29
|
+
name: Check import sorting
|
|
30
|
+
- run: pytest tests/ --cov=workflowforge --cov-report=xml
|
|
31
|
+
name: Run tests with coverage
|
|
32
|
+
strategy:
|
|
33
|
+
matrix:
|
|
34
|
+
python_version:
|
|
35
|
+
- '3.11'
|
|
36
|
+
- '3.12'
|
|
37
|
+
- '3.13'
|
|
38
|
+
runs-on: ubuntu-latest
|
|
39
|
+
security:
|
|
40
|
+
steps:
|
|
41
|
+
- uses: actions/checkout@v4
|
|
42
|
+
name: Checkout code
|
|
43
|
+
- uses: actions/setup-python@v5
|
|
44
|
+
name: Set up Python
|
|
45
|
+
with:
|
|
46
|
+
python-version: '3.11'
|
|
47
|
+
- run: pip install bandit safety
|
|
48
|
+
name: Install security tools
|
|
49
|
+
- run: bandit -r src/
|
|
50
|
+
name: Security scan with Bandit
|
|
51
|
+
- run: safety check --ignore-unpinned || echo 'Safety check completed with warnings'
|
|
52
|
+
name: Check dependencies for vulnerabilities
|
|
53
|
+
runs-on: ubuntu-latest
|
|
54
|
+
build:
|
|
55
|
+
steps:
|
|
56
|
+
- uses: actions/checkout@v4
|
|
57
|
+
name: Checkout code
|
|
58
|
+
- uses: actions/setup-python@v5
|
|
59
|
+
name: Set up Python
|
|
60
|
+
with:
|
|
61
|
+
python-version: '3.11'
|
|
62
|
+
- run: python -m pip install --upgrade pip build twine
|
|
63
|
+
name: Install build tools
|
|
64
|
+
- run: python -m build
|
|
65
|
+
name: Build package
|
|
66
|
+
- run: twine check dist/*
|
|
67
|
+
name: Verify package metadata
|
|
68
|
+
- uses: actions/upload-artifact@v4
|
|
69
|
+
name: Upload build artifacts
|
|
70
|
+
with:
|
|
71
|
+
name: dist
|
|
72
|
+
path: dist/
|
|
73
|
+
needs:
|
|
74
|
+
- test
|
|
75
|
+
- security
|
|
76
|
+
runs-on: ubuntu-latest
|
|
77
|
+
publish-testpypi:
|
|
78
|
+
steps:
|
|
79
|
+
- uses: actions/download-artifact@v4
|
|
80
|
+
name: Download build artifacts
|
|
81
|
+
with:
|
|
82
|
+
name: dist
|
|
83
|
+
path: dist/
|
|
84
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
85
|
+
name: Publish to TestPyPI
|
|
86
|
+
with:
|
|
87
|
+
repository: testpypi
|
|
88
|
+
username: __token__
|
|
89
|
+
password: ${{ secrets.TESTPYPI_API_TOKEN }}
|
|
90
|
+
needs: build
|
|
91
|
+
environment:
|
|
92
|
+
name: testpypi
|
|
93
|
+
url: https://test.pypi.org/p/workflowforge
|
|
94
|
+
permissions:
|
|
95
|
+
id-token: write
|
|
96
|
+
if: github.ref == 'refs/heads/main'
|
|
97
|
+
runs-on: ubuntu-latest
|
|
98
|
+
publish-pypi:
|
|
99
|
+
steps:
|
|
100
|
+
- uses: actions/download-artifact@v4
|
|
101
|
+
name: Download build artifacts
|
|
102
|
+
with:
|
|
103
|
+
name: dist
|
|
104
|
+
path: dist/
|
|
105
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
106
|
+
name: Publish to PyPI
|
|
107
|
+
with:
|
|
108
|
+
username: __token__
|
|
109
|
+
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
110
|
+
needs: build
|
|
111
|
+
environment:
|
|
112
|
+
name: pypi
|
|
113
|
+
url: https://pypi.org/p/workflowforge
|
|
114
|
+
permissions:
|
|
115
|
+
id-token: write
|
|
116
|
+
if: github.event_name == 'release'
|
|
117
|
+
runs-on: ubuntu-latest
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: workflowforge
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.0b2
|
|
4
4
|
Summary: A robust and flexible library for creating GitHub Actions workflows, Jenkins pipelines, and AWS CodeBuild BuildSpecs programmatically in Python
|
|
5
5
|
Author-email: "Brainy Nimbus, LLC" <info@brainynimbus.io>
|
|
6
6
|
License: MIT
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "workflowforge"
|
|
7
|
-
version = "1.
|
|
7
|
+
version = "1.0b2"
|
|
8
8
|
description = "A robust and flexible library for creating GitHub Actions workflows, Jenkins pipelines, and AWS CodeBuild BuildSpecs programmatically in Python"
|
|
9
9
|
authors = [{name = "Brainy Nimbus, LLC", email = "info@brainynimbus.io"}]
|
|
10
10
|
license = {text = "MIT"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: workflowforge
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.0b2
|
|
4
4
|
Summary: A robust and flexible library for creating GitHub Actions workflows, Jenkins pipelines, and AWS CodeBuild BuildSpecs programmatically in Python
|
|
5
5
|
Author-email: "Brainy Nimbus, LLC" <info@brainynimbus.io>
|
|
6
6
|
License: MIT
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
# Do not modify - Generated with WorkflowForge
|
|
2
|
-
name: "Publish WorkflowForge to PyPI"
|
|
3
|
-
"on":
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- "main"
|
|
7
|
-
pull_request:
|
|
8
|
-
branches:
|
|
9
|
-
- "main"
|
|
10
|
-
release:
|
|
11
|
-
types:
|
|
12
|
-
- "published"
|
|
13
|
-
jobs:
|
|
14
|
-
test:
|
|
15
|
-
runs-on: "ubuntu-latest"
|
|
16
|
-
strategy:
|
|
17
|
-
matrix:
|
|
18
|
-
python-version:
|
|
19
|
-
- "3.11"
|
|
20
|
-
- "3.12"
|
|
21
|
-
- "3.13"
|
|
22
|
-
steps:
|
|
23
|
-
- uses: "actions/checkout@v4"
|
|
24
|
-
name: "Checkout code"
|
|
25
|
-
- uses: "actions/setup-python@v5"
|
|
26
|
-
name: "Set up Python ${{ matrix.python-version }}"
|
|
27
|
-
with:
|
|
28
|
-
python-version: "${{ matrix.python-version }}"
|
|
29
|
-
- run: "python -m pip install --upgrade pip"
|
|
30
|
-
name: "Install pip"
|
|
31
|
-
- run: "pip install -e .[dev]"
|
|
32
|
-
name: "Install dependencies"
|
|
33
|
-
- run: "black --check src/ tests/"
|
|
34
|
-
name: "Check code formatting"
|
|
35
|
-
- run: "isort --check-only src/ tests/"
|
|
36
|
-
name: "Check import sorting"
|
|
37
|
-
# - run: "mypy src/"
|
|
38
|
-
# name: "Type checking"
|
|
39
|
-
- run: "pytest tests/ --cov=workflowforge --cov-report=xml"
|
|
40
|
-
name: "Run tests with coverage"
|
|
41
|
-
security:
|
|
42
|
-
runs-on: "ubuntu-latest"
|
|
43
|
-
steps:
|
|
44
|
-
- uses: "actions/checkout@v4"
|
|
45
|
-
name: "Checkout code"
|
|
46
|
-
- uses: "actions/setup-python@v5"
|
|
47
|
-
name: "Set up Python"
|
|
48
|
-
with:
|
|
49
|
-
python-version: "3.11"
|
|
50
|
-
- run: "pip install bandit safety"
|
|
51
|
-
name: "Install security tools"
|
|
52
|
-
- run: "bandit -r src/"
|
|
53
|
-
name: "Security scan with Bandit"
|
|
54
|
-
- run: "safety check --json || safety check --short-report"
|
|
55
|
-
name: "Check dependencies for vulnerabilities"
|
|
56
|
-
build:
|
|
57
|
-
runs-on: "ubuntu-latest"
|
|
58
|
-
needs:
|
|
59
|
-
- "test"
|
|
60
|
-
- "security"
|
|
61
|
-
steps:
|
|
62
|
-
- uses: "actions/checkout@v4"
|
|
63
|
-
name: "Checkout code"
|
|
64
|
-
- uses: "actions/setup-python@v5"
|
|
65
|
-
name: "Set up Python"
|
|
66
|
-
with:
|
|
67
|
-
python-version: "3.11"
|
|
68
|
-
- run: "python -m pip install --upgrade pip build twine"
|
|
69
|
-
name: "Install build tools"
|
|
70
|
-
- run: "python -m build"
|
|
71
|
-
name: "Build package"
|
|
72
|
-
- run: "twine check dist/*"
|
|
73
|
-
name: "Verify package metadata"
|
|
74
|
-
- uses: "actions/upload-artifact@v4"
|
|
75
|
-
name: "Upload build artifacts"
|
|
76
|
-
with:
|
|
77
|
-
name: "dist"
|
|
78
|
-
path: "dist/"
|
|
79
|
-
test-publish:
|
|
80
|
-
runs-on: "ubuntu-latest"
|
|
81
|
-
needs: "build"
|
|
82
|
-
"if": "github.ref == 'refs/heads/main'"
|
|
83
|
-
environment:
|
|
84
|
-
name: "testpypi"
|
|
85
|
-
url: "https://test.pypi.org/p/workflowforge"
|
|
86
|
-
permissions:
|
|
87
|
-
id-token: "write"
|
|
88
|
-
steps:
|
|
89
|
-
- uses: "actions/download-artifact@v4"
|
|
90
|
-
name: "Download build artifacts"
|
|
91
|
-
with:
|
|
92
|
-
name: "dist"
|
|
93
|
-
path: "dist/"
|
|
94
|
-
- uses: "pypa/gh-action-pypi-publish@release/v1"
|
|
95
|
-
name: "Publish to TestPyPI"
|
|
96
|
-
with:
|
|
97
|
-
repository-url: "https://test.pypi.org/legacy/"
|
|
98
|
-
print-hash: "true"
|
|
99
|
-
publish:
|
|
100
|
-
runs-on: "ubuntu-latest"
|
|
101
|
-
needs: "build"
|
|
102
|
-
"if": "github.event_name == 'release'"
|
|
103
|
-
environment:
|
|
104
|
-
name: "pypi"
|
|
105
|
-
url: "https://pypi.org/p/workflowforge"
|
|
106
|
-
permissions:
|
|
107
|
-
id-token: "write"
|
|
108
|
-
steps:
|
|
109
|
-
- uses: "actions/download-artifact@v4"
|
|
110
|
-
name: "Download build artifacts"
|
|
111
|
-
with:
|
|
112
|
-
name: "dist"
|
|
113
|
-
path: "dist/"
|
|
114
|
-
- uses: "pypa/gh-action-pypi-publish@release/v1"
|
|
115
|
-
name: "Publish to PyPI"
|
|
116
|
-
with:
|
|
117
|
-
print-hash: "true"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|