Skip to content

Commit

Permalink
build: fork netsampler/goflow2/v2 into tgragnato/goflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tgragnato committed Aug 14, 2024
1 parent 0fa20c5 commit 68c127d
Show file tree
Hide file tree
Showing 68 changed files with 433 additions and 3,755 deletions.
Empty file added .github/CHANGELOG.md
Empty file.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Run GoFlow2 with arguments '...'
1. Run GoFlow with arguments '...'
2. Receive samples '....'
3. See error

Expand All @@ -28,7 +28,7 @@ If applicable, add output (JSON, protobuf), packet captures and device configura
- Version: [e.g. 22]
- Estimated flow traffic: [e.g. 5000 samples per second]

**GoFlow2:**
**GoFlow:**
- Version: [e.g. v2.0.0]
- Environment: [e.g. Kubernetes, Docker, Debian package]
- OS: [e.g. Linux Ubuntu Server 23.04]
Expand Down
22 changes: 21 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,24 @@ updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
interval: "daily"
allow:
- dependency-type: "direct"
- dependency-type: "indirect"
labels:
- "dependencies"
- "go"
commit-message:
prefix: "build"
include: "scope"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
labels:
- "dependencies"
- "github-actions"
commit-message:
prefix: "ci"
include: "scope"
54 changes: 0 additions & 54 deletions .github/workflows/build.yml

This file was deleted.

47 changes: 47 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: "CodeQL"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:

analyze:
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 1440
permissions:
actions: read
contents: read
packages: read
security-events: write

strategy:
fail-fast: false
matrix:
language: ['go']

steps:

- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
23 changes: 23 additions & 0 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: commit-lint

on: [pull_request]

jobs:
commit-lint:
name: Commits linter
runs-on: ubuntu-latest

steps:

- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: ${{ github.event.pull_request.commits }}
ref: ${{ github.event.pull_request.head.sha }}

- name: Commits linter
uses: bugbundle/[email protected]
id: commits

- name: Preview the version
run: echo ${{ steps.commits.outputs.major }}.${{ steps.commits.outputs.minor }}.${{ steps.commits.outputs.patch }}
42 changes: 0 additions & 42 deletions .github/workflows/docker-release.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/docker-release_registry_github.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/docker.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/docker_registry_github.yml

This file was deleted.

Loading

0 comments on commit 68c127d

Please sign in to comment.