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
20 changes: 10 additions & 10 deletions .github/workflows/bundle-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ on:
workflow_dispatch:
inputs:
tag:
description: 'Version Tag'
description: "Version Tag"
required: true
openshift:
description: 'Publish to openshift certificated'
description: "Publish to openshift certificated"
required: true
default: true
type: boolean
operatorhub:
description: 'Publish to operatorhub.io'
description: "Publish to operatorhub.io"
required: true
default: true
type: boolean
Expand Down Expand Up @@ -49,10 +49,10 @@ jobs:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Set up GO 1.24.6
- name: Set up GO 1.24.10
uses: actions/setup-go@v1
with:
go-version: 1.24.6
go-version: 1.24.10
id: go

- name: InstallKubebuilder
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
git add .
git commit -s -m "operator function-mesh ($VERSION)"
git push --set-upstream origin $BRANCH

wget https://raw.githubusercontent.com/streamnative/function-mesh/master/.github/openshift/community-operators -O ../.github/community-operators
gh pr create --title "operator function-mesh ($VERSION)" -F ../.github/community-operators -R k8s-operatorhub/community-operators
popd
Expand Down Expand Up @@ -180,10 +180,10 @@ jobs:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Set up GO 1.24.6
- name: Set up GO 1.24.10
uses: actions/setup-go@v1
with:
go-version: 1.24.6
go-version: 1.24.10
id: go

- name: InstallKubebuilder
Expand Down Expand Up @@ -260,9 +260,9 @@ jobs:
echo $VERSION
export TARGET_DIR=/tmp/artifacts
export AUTHFILE=/tmp/authfile.json
mkdir $TARGET_DIR
mkdir $TARGET_DIR
echo $REDHAT_CERTIFICATED_CONTAINER_AUTHFILE > $AUTHFILE
cat $AUTHFILE
cat $AUTHFILE
docker run -i --rm --security-opt=label=disable --env PFLT_LOGLEVEL=trace --env PFLT_ARTIFACTS=/artifacts --env PFLT_LOGFILE=/artifacts/preflight.log --env PFLT_CERTIFICATION_PROJECT_ID=$CONTAINER_IMAGE_CERTIFICATION_PROJECT_ID --env PFLT_PYXIS_API_TOKEN=$PFLT_PYXIS_API_TOKEN --env PFLT_DOCKERCONFIG=/temp-authfile.json -v $TARGET_DIR:/artifacts -v $AUTHFILE:/temp-authfile.json:ro quay.io/opdev/preflight:stable check container quay.io/redhat-isv-containers/$CONTAINER_IMAGE_CERTIFICATION_PROJECT_ID:$VERSION --submit
sleep 60s

Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/olm-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: Precommit - OLM verify
on:
pull_request:
branches:
- '*'
- "*"
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- 'PROJECT'
- 'LICENSE'
- 'mesh-worker-service/README.md'
- 'tools/README.md'
- "docs/**"
- "README.md"
- "CHANGELOG.md"
- "PROJECT"
- "LICENSE"
- "mesh-worker-service/README.md"
- "tools/README.md"
jobs:
olm-verify:
name: Verify OLM bundle
Expand All @@ -34,10 +34,10 @@ jobs:
- name: checkout
uses: actions/checkout@v2

- name: Set up GO 1.24.6
- name: Set up GO 1.24.10
uses: actions/setup-go@v1
with:
go-version: 1.24.6
go-version: 1.24.10
id: go

- name: InstallKubebuilder
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
CATALOG_BRANCH_TAG: latest
run: |
echo $VERSION
make redhat-certificated-image-build redhat-certificated-image-push redhat-certificated-bundle redhat-certificated-bundle-build redhat-certificated-bundle-push catalog-build catalog-push
make redhat-certificated-image-build redhat-certificated-image-push redhat-certificated-bundle redhat-certificated-bundle-build redhat-certificated-bundle-push catalog-build catalog-push

- name: Install the Operator Lifecycle Manager
run: |
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@ name: Precommit - Unit Tests
on:
pull_request:
branches:
- '*'
- "*"
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- 'PROJECT'
- 'LICENSE'
- 'mesh-worker-service/README.md'
- 'tools/README.md'
- "docs/**"
- "README.md"
- "CHANGELOG.md"
- "PROJECT"
- "LICENSE"
- "mesh-worker-service/README.md"
- "tools/README.md"
jobs:
build:
name: unit-tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version: [1.22.12, 1.24.6]
go-version: [1.22.12, 1.24.10]
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@v1.3.0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Set up GO 1.24.6
- name: Set up GO 1.24.10
uses: actions/setup-go@v1
with:
go-version: 1.24.6
go-version: 1.24.10
id: go

- name: InstallKubebuilder
Expand Down Expand Up @@ -103,4 +103,4 @@ jobs:
file: install.sh
asset_name: install.sh
tag: ${{ github.ref }}
overwrite: true
overwrite: true
20 changes: 10 additions & 10 deletions .github/workflows/test-helm-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ name: Precommit - Helm Chart (Basic Installation)
on:
pull_request:
branches:
- '*'
- "*"
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- 'PROJECT'
- 'LICENSE'
- 'mesh-worker-service/README.md'
- 'tools/README.md'
- "docs/**"
- "README.md"
- "CHANGELOG.md"
- "PROJECT"
- "LICENSE"
- "mesh-worker-service/README.md"
- "tools/README.md"
jobs:
lint-test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -83,11 +83,11 @@ jobs:
run: hack/kind-cluster-build.sh --name chart-testing -c 1 -v 10 --k8sVersion v1.23.17
if: steps.list-changed.outputs.changed == 'true'

- name: Set up GO 1.24.6
- name: Set up GO 1.24.10
if: steps.list-changed.outputs.changed == 'true'
uses: actions/setup-go@v1
with:
go-version: 1.24.6
go-version: 1.24.10
id: go

- name: setup kubebuilder 3.6.0
Expand Down
62 changes: 31 additions & 31 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: Precommit - Scan security vulnerabilities
on:
pull_request:
branches:
- '*'
- "*"
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- 'PROJECT'
- 'LICENSE'
- 'mesh-worker-service/README.md'
- 'tools/README.md'
- "docs/**"
- "README.md"
- "CHANGELOG.md"
- "PROJECT"
- "LICENSE"
- "mesh-worker-service/README.md"
- "tools/README.md"

permissions:
pull-requests: write
Expand All @@ -34,10 +34,10 @@ jobs:
repository: ${{github.event.pull_request.head.repo.full_name}}
ref: ${{ github.event.pull_request.head.sha }}

- name: Set up GO 1.24.6
- name: Set up GO 1.24.10
uses: actions/setup-go@v1
with:
go-version: 1.24.6
go-version: 1.24.10
id: go

- name: InstallKubebuilder
Expand Down Expand Up @@ -68,9 +68,9 @@ jobs:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'function-mesh-operator:latest'
format: 'table'
exit-code: '1'
image-ref: "function-mesh-operator:latest"
format: "table"
exit-code: "1"

- name: Build runner images
run: |
Expand All @@ -80,46 +80,46 @@ jobs:
id: scan-java-runner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'pulsar-functions-java-runner:latest'
format: 'table'
exit-code: '0'
image-ref: "pulsar-functions-java-runner:latest"
format: "table"
exit-code: "0"

- name: Run Trivy vulnerability scanner for python
id: scan-python-runner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'pulsar-functions-python-runner:latest'
format: 'table'
exit-code: '0'
image-ref: "pulsar-functions-python-runner:latest"
format: "table"
exit-code: "0"

- name: Run Trivy vulnerability scanner for go
id: scan-go-runner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'pulsar-functions-go-runner:latest'
format: 'table'
exit-code: '0'
image-ref: "pulsar-functions-go-runner:latest"
format: "table"
exit-code: "0"

- name: Run Trivy vulnerability scanner for java with pulsarctl
id: scan-java-pulsarctl-runner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'pulsar-functions-pulsarctl-java-runner:latest'
format: 'table'
exit-code: '0'
image-ref: "pulsar-functions-pulsarctl-java-runner:latest"
format: "table"
exit-code: "0"

- name: Run Trivy vulnerability scanner for python with pulsarctl
id: scan-python-pulsarctl-runner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'pulsar-functions-pulsarctl-python-runner:latest'
format: 'table'
exit-code: '0'
image-ref: "pulsar-functions-pulsarctl-python-runner:latest"
format: "table"
exit-code: "0"

- name: Run Trivy vulnerability scanner for go with pulsarctl
id: scan-go-pulsarctl-runner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'pulsar-functions-pulsarctl-go-runner:latest'
format: 'table'
exit-code: '0'
image-ref: "pulsar-functions-pulsarctl-go-runner:latest"
format: "table"
exit-code: "0"
Loading
Loading