Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: codeql

concurrency:
# Run only for most recent commit in PRs but for all tags and commits on main
# Ref: https://docs.github.com/en/actions/using-jobs/using-concurrency
group: ${{ github.workflow }}-${{ github.head_ref || github.sha }}
cancel-in-progress: true

on:
push:
branches:
- 'main'
pull_request:
# The branches below must be a subset of the branches above
branches:
- 'main'
schedule:
- cron: '18 13 * * 6'

permissions:
contents: read

jobs:
analyze:
timeout-minutes: 10
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'go' ]
steps:
- name: Harden Runner
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- name: Initialize CodeQL
uses: github/codeql-action/init@51f77329afa6477de8c49fc9c7046c15b9a4e79d # v3.29.5
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@51f77329afa6477de8c49fc9c7046c15b9a4e79d # v3.29.5
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@51f77329afa6477de8c49fc9c7046c15b9a4e79d # v3.29.5
9 changes: 9 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: lint

concurrency:
# Run only for most recent commit in PRs but for all tags and commits on main
# Ref: https://docs.github.com/en/actions/using-jobs/using-concurrency
group: ${{ github.workflow }}-${{ github.head_ref || github.sha }}
cancel-in-progress: true

on:
pull_request:
branches:
Expand All @@ -11,6 +17,9 @@ on:
- '*'
workflow_dispatch: {}

permissions:
contents: read

jobs:
golangci-lint:
timeout-minutes: 10
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
description: 'a release tag that will be created upon success'
required: true

permissions:
contents: read

jobs:

# --------------------------------------------------------------------------
Expand Down Expand Up @@ -126,6 +129,8 @@ jobs:
- unit-tests
- integration-tests
- e2e-tests
permissions:
contents: write
steps:

- name: checkout repository
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- "v*"
workflow_dispatch: {}

permissions:
contents: read

jobs:

artifacts:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
- 'main'
workflow_dispatch: {}

permissions:
contents: read

jobs:
ensure-actions-sha-pin:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/gke_cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (

const (
gkeVersionMajor = 1
gkeVersionMinor = 29
gkeVersionMinor = 32
)

var (
Expand Down
2 changes: 2 additions & 0 deletions test/integration/kong_argo_addon_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import (
)

func TestKongArgoAddon(t *testing.T) {
t.Skip("This test requires fixing: https://github.com/Kong/kubernetes-testing-framework/issues/1375")

namespace := "ktf-test-kong-addon"
release := "integration"
t.Log("configuring argo addon")
Expand Down
3 changes: 3 additions & 0 deletions test/integration/registry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

"github.com/kong/go-kong/kong"

"github.com/kong/kubernetes-testing-framework/pkg/clusters/addons/certmanager"
"github.com/kong/kubernetes-testing-framework/pkg/clusters/addons/metallb"
"github.com/kong/kubernetes-testing-framework/pkg/clusters/addons/registry"
Expand All @@ -22,6 +23,8 @@ import (
const httpbinImage = "docker.io/kennethreitz/httpbin"

func TestEnvironmentWithRegistryAddon(t *testing.T) {
t.Skip("This test requires fixing: https://github.com/Kong/kubernetes-testing-framework/issues/1374")

t.Parallel()

t.Log("configuring the testing environment")
Expand Down
Loading