Skip to content

Commit 3af189c

Browse files
chore: consolidate releases 0.3.1 to 0.3.14
This commit consolidates 16 commits including: - Version bumps for agent and simunet (0.3.1 → 0.3.14) - Add /health endpoint for agent and simunet services - Documentation updates (CONTRIBUTING.md, quick-start guides) - Fix missing dependencies in simunet package - Add release automation scripts - Update release workflows for Docker image support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent fda28de commit 3af189c

File tree

14 files changed

+1527
-274
lines changed

14 files changed

+1527
-274
lines changed

.github/workflows/release-agent.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ jobs:
6464
**Docker:**
6565
```bash
6666
# Pull the image
67-
docker pull ghcr.io/${{ github.repository }}/netdriver-agent:${{ steps.version.outputs.version }}
67+
docker pull ghcr.io/opensecflow/netdriver-agent:${{ steps.version.outputs.version }}
6868
6969
# Run the agent
7070
docker run -d -p 8000:8000 \
7171
-v $(pwd)/config:/app/config \
7272
-v $(pwd)/logs:/app/logs \
73-
ghcr.io/${{ github.repository }}/netdriver-agent:${{ steps.version.outputs.version }}
73+
ghcr.io/opensecflow/netdriver-agent:${{ steps.version.outputs.version }}
7474
```
7575
7676
**Available tags:** `${{ steps.version.outputs.version }}`, `latest`
@@ -163,8 +163,8 @@ jobs:
163163
- name: Upload wheel to release
164164
uses: softprops/action-gh-release@v1
165165
with:
166+
tag_name: agent-${{ needs.create-release.outputs.version }}
166167
files: projects/agent/dist/*.whl
167-
tag_name: ${{ github.ref_name }}
168168

169169
build-docker-image:
170170
name: Build and Push Agent Docker Image

.github/workflows/release-simunet.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ jobs:
6464
**Docker:**
6565
```bash
6666
# Pull the image
67-
docker pull ghcr.io/${{ github.repository }}/netdriver-simunet:${{ steps.version.outputs.version }}
67+
docker pull ghcr.io/opensecflow/netdriver-simunet:${{ steps.version.outputs.version }}
6868
6969
# Run with host network mode
7070
docker run -d --network host \
7171
-v $(pwd)/config:/app/config \
7272
-v $(pwd)/logs:/app/logs \
73-
ghcr.io/${{ github.repository }}/netdriver-simunet:${{ steps.version.outputs.version }}
73+
ghcr.io/opensecflow/netdriver-simunet:${{ steps.version.outputs.version }}
7474
```
7575
7676
**Available tags:** `${{ steps.version.outputs.version }}`, `latest`
@@ -111,14 +111,14 @@ jobs:
111111
- name: Run pytest for simunet
112112
run: |
113113
echo "Running pytest for simunet..."
114-
poetry run pytest -v --tb=short -m "simunet or not agent"
114+
poetry run pytest -v --tb=short --mock-dev
115115
116116
build-and-publish:
117117
name: Build and Publish Simunet to PyPI
118118
needs: [create-release, test]
119119
runs-on: ubuntu-latest
120120
container:
121-
image: ghcr.io/opensecflow/netdriver/python-poetry:3.12
121+
image: ghcr.io/opensecflow/netdriver/python-poetry
122122
permissions:
123123
contents: write
124124
packages: read
@@ -163,8 +163,8 @@ jobs:
163163
- name: Upload wheel to release
164164
uses: softprops/action-gh-release@v1
165165
with:
166+
tag_name: simunet-${{ needs.create-release.outputs.version }}
166167
files: projects/simunet/dist/*.whl
167-
tag_name: ${{ github.ref_name }}
168168

169169
build-docker-image:
170170
name: Build and Push Simunet Docker Image

0 commit comments

Comments
 (0)