Skip to content

Commit

Permalink
Merge branch 'devel' into packetfilter
Browse files Browse the repository at this point in the history
  • Loading branch information
yboaron authored Jan 24, 2024
2 parents 1105316 + ee05254 commit c85f58c
Show file tree
Hide file tree
Showing 39 changed files with 589 additions and 387 deletions.
25 changes: 20 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,45 @@ updates:
directory: /
schedule:
interval: monthly
- package-ecosystem: github-actions
directory: /
target-branch: release-0.13
schedule:
interval: monthly
groups:
github-actions:
patterns:
- "*"
- package-ecosystem: github-actions
directory: /
target-branch: release-0.14
schedule:
interval: monthly
groups:
github-actions:
patterns:
- "*"
- package-ecosystem: github-actions
directory: /
target-branch: release-0.15
schedule:
interval: monthly
groups:
github-actions:
patterns:
- "*"
- package-ecosystem: github-actions
directory: /
target-branch: release-0.16
schedule:
interval: monthly
groups:
github-actions:
patterns:
- "*"
- package-ecosystem: gomod
directory: /
schedule:
interval: weekly
groups:
gomod:
patterns:
- "*"
ignore:
# protobuf must be handled manually
- dependency-name: google.golang.org/protobuf
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,24 @@ jobs:
strategy:
fail-fast: false
matrix:
cable-driver: ['libreswan', 'wireguard', 'vxlan']
extra-toggles: ['', 'globalnet', 'ovn']
cable-driver: ['', 'wireguard', 'vxlan']
extra-toggles: ['', 'ovn']
globalnet: ['', 'globalnet']
# Run most tests against the latest K8s version
k8s_version: ['1.28']
exclude:
- cable-driver: wireguard
extra-toggles: ovn
include:
- extra-toggles: dual-stack
- extra-toggles: dual-stack, globalnet
- extra-toggles: globalnet, ovn
# Oldest Kubernetes version thought to work with SubM.
# This should match minK8sMajor.minK8sMinor in subctl/pkg/version/version.go.
# If this breaks, we may advance the oldest-working K8s version instead of fixing it. See:
# https://submariner.io/development/building-testing/ci-maintenance/
- k8s_version: '1.19'
# Test top and bottom of supported K8s version range
- k8s_version: '1.26'
steps:
- name: Check out the repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/flake_finder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ jobs:
strategy:
fail-fast: false
matrix:
cable-driver: ['libreswan', 'wireguard', 'vxlan']
extra-toggles: ['', 'globalnet', 'ovn']
cable-driver: ['', 'wireguard', 'vxlan']
extra-toggles: ['', 'ovn']
globalnet: ['', 'globalnet']
# Run most tests against the latest K8s version
k8s_version: ['1.28']
exclude:
- cable-driver: wireguard
extra-toggles: ovn
include:
- extra-toggles: globalnet, ovn
# Test top and bottom of supported K8s version range
- k8s_version: '1.26'
steps:
- name: Check out the repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ jobs:
- name: Check out the repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Initialize CodeQL
uses: github/codeql-action/init@407ffafae6a767df3e0230c3df91b6443ae8df75
uses: github/codeql-action/init@012739e5082ff0c22ca6d6ab32e07c36df03c4a4
with:
languages: go
- name: Run CodeQL variant analysis
uses: github/codeql-action/analyze@407ffafae6a767df3e0230c3df91b6443ae8df75
uses: github/codeql-action/analyze@012739e5082ff0c22ca6d6ab32e07c36df03c4a4
- name: Show CodeQL scan SARIF report
if: always()
run: cat ../results/go.sarif
Expand All @@ -153,7 +153,7 @@ jobs:
- name: Check out the repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Run Anchore vulnerability scanner
uses: anchore/scan-action@62370b53ab026f5d09b9fb43a7b5ec4b73c1a8e0
uses: anchore/scan-action@896d5f410043987c8fe18f60d91bf199e436840c
id: scan
with:
path: "."
Expand All @@ -164,7 +164,7 @@ jobs:
run: cat ${{ steps.scan.outputs.sarif }}
- name: Upload Anchore scan SARIF report
if: always()
uses: github/codeql-action/upload-sarif@407ffafae6a767df3e0230c3df91b6443ae8df75
uses: github/codeql-action/upload-sarif@012739e5082ff0c22ca6d6ab32e07c36df03c4a4
with:
sarif_file: ${{ steps.scan.outputs.sarif }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:
- name: Check out the repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Initialize CodeQL
uses: github/codeql-action/init@407ffafae6a767df3e0230c3df91b6443ae8df75
uses: github/codeql-action/init@012739e5082ff0c22ca6d6ab32e07c36df03c4a4
with:
languages: go
- name: Run CodeQL variant analysis
uses: github/codeql-action/analyze@407ffafae6a767df3e0230c3df91b6443ae8df75
uses: github/codeql-action/analyze@012739e5082ff0c22ca6d6ab32e07c36df03c4a4
- name: Show CodeQL scan SARIF report
if: always()
run: cat ../results/go.sarif
Expand All @@ -57,14 +57,14 @@ jobs:
- name: Check out the repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Run Anchore vulnerability scanner
uses: anchore/scan-action@62370b53ab026f5d09b9fb43a7b5ec4b73c1a8e0
uses: anchore/scan-action@896d5f410043987c8fe18f60d91bf199e436840c
id: scan
with:
path: "."
fail-build: false
- name: Show Anchore scan SARIF report
run: cat ${{ steps.scan.outputs.sarif }}
- name: Upload Anchore scan SARIF report
uses: github/codeql-action/upload-sarif@407ffafae6a767df3e0230c3df91b6443ae8df75
uses: github/codeql-action/upload-sarif@012739e5082ff0c22ca6d6ab32e07c36df03c4a4
with:
sarif_file: ${{ steps.scan.outputs.sarif }}
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
issues: write
pull-requests: write
steps:
- uses: actions/stale@b69b346013879cedbf50c69f572cd85439a41936
- uses: actions/stale@3f3b0175e8c66fb49b9a6d5a0cd1f8436d4c3ab6
with:
days-before-issue-stale: 120
days-before-pr-stale: 14
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
done
- name: Upload artifacts
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392
with:
name: Unit test artifacts
path: artifacts
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ licensecheck: $(ARCH_BINARIES) bin/lichen

bin/lichen:
mkdir -p $(@D)
go build -o $@ github.com/uw-labs/lichen
cd tools && go build -o $(CURDIR)/$@ github.com/uw-labs/lichen

$(TARGETS):
./scripts/$@
Expand Down
43 changes: 17 additions & 26 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/submariner-io/submariner

go 1.20
go 1.21

require (
github.com/cenkalti/backoff/v4 v4.2.1
Expand All @@ -15,17 +15,16 @@ require (
github.com/projectcalico/api v0.0.0-20230602153125-fb7148692637
github.com/prometheus-community/pro-bing v0.3.0
github.com/prometheus/client_golang v1.17.0
github.com/submariner-io/admiral v0.17.0-m2
github.com/submariner-io/shipyard v0.17.0-m2
github.com/uw-labs/lichen v0.1.7
github.com/submariner-io/admiral v0.17.0-m3
github.com/submariner-io/shipyard v0.17.0-m3
github.com/vishvananda/netlink v1.2.1-beta.2
golang.org/x/sys v0.15.0
golang.org/x/sys v0.16.0
golang.zx2c4.com/wireguard/wgctrl v0.0.0-20221104135756-97bc4ad4a1cb
google.golang.org/protobuf v1.31.0
k8s.io/api v0.28.4
k8s.io/apimachinery v0.28.4
k8s.io/client-go v0.28.4
k8s.io/component-helpers v0.28.4
k8s.io/api v0.29.1
k8s.io/apimachinery v0.29.1
k8s.io/client-go v0.29.1
k8s.io/component-helpers v0.29.1
k8s.io/utils v0.0.0-20230726121419-3b25d923346b
sigs.k8s.io/controller-runtime v0.16.3
sigs.k8s.io/mcs-api v0.1.0
Expand All @@ -36,7 +35,6 @@ require (
github.com/cenkalti/hub v1.0.1 // indirect
github.com/cenkalti/rpc2 v0.0.0-20210604223624-c1acbc6ec984 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
Expand All @@ -53,57 +51,50 @@ require (
github.com/google/gnostic-models v0.6.8 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/licenseclassifier v0.0.0-20201113175434-78a70215ca36 // indirect
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/imdario/mergo v0.3.12 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/josharian/native v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mattn/go-runewidth v0.0.14 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/mdlayher/genetlink v1.2.0 // indirect
github.com/mdlayher/netlink v1.6.2 // indirect
github.com/mdlayher/socket v0.2.3 // indirect
github.com/moby/spdystream v0.2.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/muesli/termenv v0.11.0 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 // indirect
github.com/prometheus/common v0.44.0 // indirect
github.com/prometheus/procfs v0.11.1 // indirect
github.com/rivo/uniseg v0.4.3 // indirect
github.com/rs/zerolog v1.31.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/sergi/go-diff v1.0.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/stretchr/testify v1.8.2 // indirect
github.com/stretchr/testify v1.8.4 // indirect
github.com/urfave/cli/v2 v2.4.0 // indirect
github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae // indirect
golang.org/x/crypto v0.17.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/oauth2 v0.8.0 // indirect
golang.org/x/sync v0.4.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/oauth2 v0.10.0 // indirect
golang.org/x/sync v0.5.0 // indirect
golang.org/x/term v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.4.0 // indirect
golang.org/x/tools v0.14.0 // indirect
golang.org/x/tools v0.16.1 // indirect
golang.zx2c4.com/wireguard v0.0.0-20220920152132-bb719d3a6e2c // indirect
google.golang.org/appengine v1.6.7 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/klog/v2 v2.110.1 // indirect
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)
Loading

0 comments on commit c85f58c

Please sign in to comment.