Skip to content

Commit

Permalink
Merge pull request #87 from SolaceDev/v1.2.0
Browse files Browse the repository at this point in the history
v1.2.0 Release
  • Loading branch information
LewisKSaint authored Sep 25, 2024
2 parents 83f922d + 2a1143e commit 6353e0c
Show file tree
Hide file tree
Showing 20 changed files with 90 additions and 49 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/build-test-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main

env:
VERSION: 1.1.1
VERSION: 1.2.0
IMAGE_NAME: pubsubplus-eventbroker-operator
VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
GCLOUD_PROJECT_ID_DEV: ${{ secrets.GCLOUD_PROJECT_ID }}
Expand All @@ -25,12 +25,10 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
env:
GOTOOLCHAIN: go1.21rc3
go-version: "1.22.7"

- name: Check out code
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
Expand Down Expand Up @@ -59,7 +57,7 @@ jobs:
- name: Upload Test coverage Reports
if: ${{ startsWith(github.ref_name, 'dev1.') && (github.ref_name != 'main') }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: code-coverage-report
path: |
Expand Down Expand Up @@ -100,7 +98,7 @@ jobs:

- name: Checkout SolaceDev/maas-build-actions
if: ${{ startsWith(github.ref_name, 'dev1.') && (github.ref_name != 'main') }}
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: SolaceDev/maas-build-actions
ref: refs/heads/master
Expand Down Expand Up @@ -145,7 +143,7 @@ jobs:
push: true
env:
VERSION: ${{ env.VERSION }}
IMAGE_NAME: pubsubplus-eventbroker-operator
IMAGE_NAME: ${{ env.IMAGE_NAME }}
VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
GCLOUD_PROJECT_ID_DEV: ${{ secrets.GCLOUD_PROJECT_ID }}

Expand All @@ -157,7 +155,7 @@ jobs:
if: ${{ startsWith(github.ref_name, 'dev1.') && (github.ref_name != 'main') }}
with:
docker_image_to_check: gcr.io/${{ env.GCLOUD_PROJECT_ID_DEV }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}
prisma_repository_name: "${{ env.GCLOUD_PROJECT_ID_DEV }}/${{ env.IMAGE_NAME }}"
prisma_repository_name: "gcr.io/${{ env.GCLOUD_PROJECT_ID_DEV }}/${{ env.IMAGE_NAME }}"
project_squad: "launchpad"
prisma_jira_check: "False"

Expand All @@ -183,8 +181,9 @@ jobs:

- name: Uploads Trivy Scan Reports
if: ${{ startsWith(github.ref_name, 'dev1.') && (github.ref_name != 'main') }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: trivy-results
path: |
trivy-results.sarif
Expand All @@ -199,7 +198,7 @@ jobs:

- name: Uploads Trivy Scan Reports
if: ${{ startsWith(github.ref_name, 'dev1.') && (github.ref_name != 'main') }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
path: |
trivy-results.sarif
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-branch-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Create k8s Kind Cluster
uses: helm/[email protected]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/prep-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
release_tag:
description: 'Release tag'
required: true
default: '1.1.1'
default: '1.2.0'
prep_internal_release:
# Need to distinguish between internal and external releases
# Internal release: Will use default internal location for created images (ghcr.io) and will tag and push operator candidate there
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22.7

- name: Login to Github Packages
uses: docker/login-action@v2
Expand All @@ -34,7 +34,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Checkout the code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup tools
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-broker-chaos-situation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
echo "TESTNAMESPACE=op-test-chaos-$(date +%s)" >> $GITHUB_ENV
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-broker-upgrade-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-full-params-ha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
echo "TESTNAMESPACE=op-test-full-$(date +%s)" >> $GITHUB_ENV
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-full-params.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-helm-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test-minimal-params.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
env:
GOTOOLCHAIN: go1.21rc3

- name: Create k8s Kind Cluster
uses: helm/[email protected]
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/vulncheck_periodic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
- cron: '0 */ * * *'

env:
VERSION: 1.1.1
VERSION: 1.2.0
IMAGE_NAME: pubsubplus-eventbroker-operator
VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
GCLOUD_PROJECT_ID_DEV: ${{ secrets.GCLOUD_PROJECT_ID }}
Expand All @@ -27,10 +27,10 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22.7"

- name: Check out code
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Login to Github Packages
uses: docker/login-action@v2
Expand All @@ -44,7 +44,7 @@ jobs:
uses: docker/setup-buildx-action@v2

- name: Checkout SolaceDev/maas-build-actions
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: SolaceDev/maas-build-actions
ref: refs/heads/master
Expand All @@ -65,7 +65,7 @@ jobs:
secrets: |
secret/data/development/gcp-gcr GCP_SERVICE_ACCOUNT | GCP_DEV_SERVICE_ACCOUNT
env:
VERSION: 1.1.1
VERSION: 1.2.0
IMAGE_NAME: pubsubplus-eventbroker-operator
VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
GCLOUD_PROJECT_ID_DEV: ${{ secrets.GCLOUD_PROJECT_ID }}
Expand All @@ -85,7 +85,7 @@ jobs:
gcr.io/${{ env.GCLOUD_PROJECT_ID_DEV }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}
push: true
env:
VERSION: 1.1.1
VERSION: 1.2.0
IMAGE_NAME: pubsubplus-eventbroker-operator
VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
GCLOUD_PROJECT_ID_DEV: ${{ secrets.GCLOUD_PROJECT_ID }}
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:

- name: Uploads Trivy Scan Reports
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
path: |
trivy-results.sarif
Expand All @@ -136,7 +136,7 @@ jobs:

- name: Uploads Trivy Scan Reports
if: ${{ !startsWith(github.ref_name, '1.') }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
path: |
trivy-results.sarif
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.21 as builder
FROM golang:1.22.7 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand All @@ -19,12 +19,12 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager main.go

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4-1194
FROM registry.access.redhat.com/ubi9-minimal:9.4-1227.1725849298

LABEL name="solace/pubsubplus-eventbroker-operator"
LABEL vendor="Solace Corporation"
LABEL version="1.1.1"
LABEL release="1.1.1"
LABEL version="1.2.0"
LABEL release="1.2.0"
LABEL summary="Solace PubSub+ Event Broker Kubernetes Operator"
LABEL description="The Solace PubSub+ Event Broker Kubernetes Operator deploys and manages the lifecycle of PubSub+ Event Brokers"

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# To re-generate a bundle for another specific version without changing the standard setup, you can:
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
VERSION ?= 1.1.1
VERSION ?= 1.2.0

# API_VERSION defines the API version for the PubSubPlusEventBroker CRD
API_VERSION ?= v1beta1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ metadata:
certified: "true"
com.redhat.delivery.operator.bundle: "true"
com.redhat.openshift.versions: v4.10
containerImage: docker.io/solace/pubsubplus-eventbroker-operator:v1.1.1
createdAt: "2024-07-31T18:47:51Z"
containerImage: docker.io/solace/pubsubplus-eventbroker-operator:1.2.0
createdAt: "2024-09-12T19:47:52Z"
description: The Solace PubSub+ Event Broker Operator deploys and manages the
lifecycle of PubSub+ Event Brokers
operators.openshift.io/valid-subscription: '[]'
operators.operatorframework.io/builder: operator-sdk-v1.34.1
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/SolaceProducts/pubsubplus-kubernetes-quickstart
support: Solace Products
name: pubsubplus-eventbroker-operator.v1.1.1
name: pubsubplus-eventbroker-operator.v1.2.0
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -296,7 +296,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
image: docker.io/solace/pubsubplus-eventbroker-operator:1.1.1
image: docker.io/solace/pubsubplus-eventbroker-operator:1.2.0
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down Expand Up @@ -411,4 +411,4 @@ spec:
provider:
name: Solace Corporation
url: www.solace.com
version: 1.1.1
version: 1.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
labels:
app.kubernetes.io/version: v1.1.1
app.kubernetes.io/version: v1.2.0
name: pubsubpluseventbrokers.pubsubplus.solace.com
spec:
group: pubsubplus.solace.com
Expand Down
4 changes: 2 additions & 2 deletions ci/whitesource/whitesource-agent.config
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ go.modules.includeTestDependencies=true
#userKey=

projectName=pubsubplus-kubernetes-operator
projectVersion=v1.1.1
projectVersion=v1.2.0
projectToken=

productName=pubsubplus-kubernetes-operator
productVersion=v1.1.1
productVersion=v1.2.0
productToken=
updateType=OVERRIDE
#[email protected]
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ kind: Kustomization
images:
- name: controller
newName: docker.io/solace/pubsubplus-eventbroker-operator
newTag: 1.1.1
newTag: 1.2.0
Loading

0 comments on commit 6353e0c

Please sign in to comment.