Update k8s versions and set minimum version to 1.27.0 (#3134)
* Update Kind Kuberntes versions * Minimum k8s version to 1.27.0 * Pin ubuntu version in actions --------- Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
@@ -20,7 +20,7 @@ jobs:
|
|||||||
actions: read # for github/codeql-action/init to get workflow details
|
actions: read # for github/codeql-action/init to get workflow details
|
||||||
contents: read # for actions/checkout to fetch code
|
contents: read # for actions/checkout to fetch code
|
||||||
security-events: write # for github/codeql-action/analyze to upload SARIF results
|
security-events: write # for github/codeql-action/analyze to upload SARIF results
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
|
||||||
steps:
|
steps:
|
||||||
- name: Harden Runner
|
- name: Harden Runner
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dependency-review:
|
dependency-review:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- name: Harden Runner
|
- name: Harden Runner
|
||||||
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
|
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint-dashboards:
|
lint-dashboards:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
|
||||||
steps:
|
steps:
|
||||||
- name: Harden Runner
|
- name: Harden Runner
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ on:
|
|||||||
- go.sum
|
- go.sum
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GOLANGCI_LINT_VERSION: v1.61.0
|
GOLANGCI_LINT_VERSION: v1.63.4
|
||||||
GOLANGCI_LINT_TIMEOUT: 5m
|
GOLANGCI_LINT_TIMEOUT: 5m
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: read # for actions/checkout to fetch code
|
contents: read # for actions/checkout to fetch code
|
||||||
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
|
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
# if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
|
# if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
|
||||||
steps:
|
steps:
|
||||||
- name: Harden Runner
|
- name: Harden Runner
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ on:
|
|||||||
- go.sum
|
- go.sum
|
||||||
|
|
||||||
env:
|
env:
|
||||||
HELM_VERSION: v3.13.0
|
HELM_VERSION: v3.16.4
|
||||||
KIND_VERSION: v0.23.0
|
KIND_VERSION: v0.26.0
|
||||||
KIND_CLUSTER_NAME: kind
|
KIND_CLUSTER_NAME: kind
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -37,8 +37,8 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
kindversion: ["v1.25.16", "v1.27.13", "v1.30.0"]
|
kindversion: ["v1.28.15", "v1.30.8", "v1.32.0"]
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-24.04]
|
||||||
steps:
|
steps:
|
||||||
- name: Harden Runner
|
- name: Harden Runner
|
||||||
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
|
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
|
||||||
@@ -186,7 +186,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
kindversion: ["v1.19.16"]
|
kindversion: ["v1.19.16"]
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-24.04]
|
||||||
steps:
|
steps:
|
||||||
- name: Harden Runner
|
- name: Harden Runner
|
||||||
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
|
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ on:
|
|||||||
- v2.**
|
- v2.**
|
||||||
|
|
||||||
env:
|
env:
|
||||||
KIND_VERSION: v0.23.0
|
KIND_VERSION: v0.26.0
|
||||||
KIND_NODE_IMAGE_TAG: v1.25.16
|
KIND_NODE_IMAGE_TAG: v1.28.15
|
||||||
KIND_CLUSTER_NAME: kind
|
KIND_CLUSTER_NAME: kind
|
||||||
COSIGN_VERSION: v2.4.1
|
COSIGN_VERSION: v2.4.1
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ jobs:
|
|||||||
contents: write # for goreleaser/goreleaser-action to create a GitHub release
|
contents: write # for goreleaser/goreleaser-action to create a GitHub release
|
||||||
packages: write # for goreleaser/goreleaser-action to upload artifacts to GitHub Packages
|
packages: write # for goreleaser/goreleaser-action to upload artifacts to GitHub Packages
|
||||||
id-token: write # for cosign to sign the image and binary
|
id-token: write # for cosign to sign the image and binary
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- name: Harden Runner
|
- name: Harden Runner
|
||||||
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
|
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
|
||||||
@@ -160,7 +160,7 @@ jobs:
|
|||||||
name: Create SBOM for container images
|
name: Create SBOM for container images
|
||||||
# Goreleaser does not support generating SBOM for container images.
|
# Goreleaser does not support generating SBOM for container images.
|
||||||
needs: [create-draft-release]
|
needs: [create-draft-release]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include: ${{ fromJson(needs.create-draft-release.outputs.ghcr_images) }}
|
include: ${{ fromJson(needs.create-draft-release.outputs.ghcr_images) }}
|
||||||
@@ -202,7 +202,7 @@ jobs:
|
|||||||
binary-provenance-verification-with-slsa-verifier:
|
binary-provenance-verification-with-slsa-verifier:
|
||||||
name : Verify Binary Provenance
|
name : Verify Binary Provenance
|
||||||
needs: [create-draft-release, binary-provenance]
|
needs: [create-draft-release, binary-provenance]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
permissions:
|
permissions:
|
||||||
contents: write # To download the assets from draft release.
|
contents: write # To download the assets from draft release.
|
||||||
steps:
|
steps:
|
||||||
@@ -247,7 +247,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include: ${{ fromJson(needs.create-draft-release.outputs.ghcr_images) }}
|
include: ${{ fromJson(needs.create-draft-release.outputs.ghcr_images) }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
permissions: read-all
|
permissions: read-all
|
||||||
steps:
|
steps:
|
||||||
- name: Login
|
- name: Login
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ permissions: read-all
|
|||||||
jobs:
|
jobs:
|
||||||
analysis:
|
analysis:
|
||||||
name: Scorecard analysis
|
name: Scorecard analysis
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
permissions:
|
permissions:
|
||||||
# Needed to upload the results to code-scanning dashboard.
|
# Needed to upload the results to code-scanning dashboard.
|
||||||
security-events: write
|
security-events: write
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ on:
|
|||||||
- go.sum
|
- go.sum
|
||||||
|
|
||||||
env:
|
env:
|
||||||
HELM_VERSION: v3.13.0
|
HELM_VERSION: v3.16.4
|
||||||
KIND_VERSION: v0.23.0
|
KIND_VERSION: v0.26.0
|
||||||
KIND_CLUSTER_NAME: kind
|
KIND_CLUSTER_NAME: kind
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -36,8 +36,8 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
kindversion: ["v1.25.16"]
|
kindversion: ["v1.28.15"]
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-24.04]
|
||||||
steps:
|
steps:
|
||||||
- name: Harden Runner
|
- name: Harden Runner
|
||||||
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
|
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ name: fission-all
|
|||||||
version: v1.20.5
|
version: v1.20.5
|
||||||
appVersion: v1.20.5
|
appVersion: v1.20.5
|
||||||
description: Fission is a fast serverless framework for Kubernetes.
|
description: Fission is a fast serverless framework for Kubernetes.
|
||||||
kubeVersion: ">=1.25.0-0"
|
kubeVersion: ">=1.27.0-0"
|
||||||
home: https://fission.io/
|
home: https://fission.io/
|
||||||
icon: https://fission.io/images/fission-logo-white.svg
|
icon: https://fission.io/images/fission-logo-white.svg
|
||||||
sources:
|
sources:
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ func (promApiClient *PrometheusApiClient) GetFunctionFailurePercentage(ctx conte
|
|||||||
}
|
}
|
||||||
|
|
||||||
if reqs <= 0 {
|
if reqs <= 0 {
|
||||||
return -1, fmt.Errorf("no requests to this url %v and method %v in the window: %v", path, methods, window)
|
return -1, fmt.Errorf("no requests to this url %s and method %v in the window: %s", path, methods, window)
|
||||||
}
|
}
|
||||||
|
|
||||||
// next, get a total count of errored out requests to this function in the same window
|
// next, get a total count of errored out requests to this function in the same window
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ processor:
|
|||||||
- "(CanaryConfig|Environment|Function|HTTPTrigger|KubernetesWatchTrigger|MessageQueueTrigger|Package|TimeTrigger)List$"
|
- "(CanaryConfig|Environment|Function|HTTPTrigger|KubernetesWatchTrigger|MessageQueueTrigger|Package|TimeTrigger)List$"
|
||||||
render:
|
render:
|
||||||
# Version of Kubernetes to use when generating links to Kubernetes API documentation.
|
# Version of Kubernetes to use when generating links to Kubernetes API documentation.
|
||||||
kubernetesVersion: 1.22
|
kubernetesVersion: 1.28
|
||||||
|
|||||||
Reference in New Issue
Block a user