From 8337d843d5737f5eced726dc5b5a5e16da97f698 Mon Sep 17 00:00:00 2001 From: "service-bot-app[bot]" <189278048+service-bot-app[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 03:00:43 +0000 Subject: [PATCH 1/3] removing generated internal project.yml --- .semaphore/project.yml | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 .semaphore/project.yml diff --git a/.semaphore/project.yml b/.semaphore/project.yml deleted file mode 100644 index 1aa664cd..00000000 --- a/.semaphore/project.yml +++ /dev/null @@ -1,37 +0,0 @@ -apiVersion: v1alpha -kind: Project -metadata: - name: druid-operator - description: "" -spec: - visibility: private - repository: - url: git@github.com:confluentinc/druid-operator.git - run_on: - - branches - - tags - - pull_requests - pipeline_file: .semaphore/semaphore.yml - integration_type: github_app - status: - pipeline_files: - - path: .semaphore/semaphore.yml - level: pipeline - whitelist: - branches: - - master - - cc-druid-operator - custom_permissions: true - debug_permissions: - - empty - - default_branch - - non_default_branch - - pull_request - - forked_pull_request - - tag - attach_permissions: - - default_branch - - non_default_branch - - pull_request - - forked_pull_request - - tag From e8244af7777e77f839b5382cd888ea83bd075a90 Mon Sep 17 00:00:00 2001 From: "service-bot-app[bot]" <189278048+service-bot-app[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 03:00:43 +0000 Subject: [PATCH 2/3] chore: update sonar-project.properties to reconfigure sonarqube scanning. --- sonar-project.properties | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 sonar-project.properties diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 00000000..42d2f609 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,8 @@ +### service-bot sonarqube plugin managed file +sonar.coverage.exclusions=**/test/**/*,**/tests/**/*,**/mock/**/*,**/mocks/**/*,**/*mock*,**/*test* +sonar.cpd.exclusions=**/test/**/*,**/tests/**/*,**/mock/**/*,**/mocks/**/*,**/*mock*,**/*test* +sonar.exclusions=**/*.pb.*,**/mk-include/**/* +sonar.go.coverage.reportPaths=**/coverage.txt +sonar.language=go +sonar.projectKey=druid-operator +sonar.sources=. From e3e7898fecaefd2347fe4fd07b683bb4ecc2ef93 Mon Sep 17 00:00:00 2001 From: "service-bot-app[bot]" <189278048+service-bot-app[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 03:00:44 +0000 Subject: [PATCH 3/3] Go version update. See go/go-version-update-faqs for questions --- .go-version | 2 +- .semaphore/semaphore.yml | 2 +- Dockerfile | 2 +- go.mod | 2 +- service.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.go-version b/.go-version index e63679c7..f5ae9457 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.20.6 +1.22.10 diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index e2e4e23b..60366402 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -9,7 +9,7 @@ blocks: task: prologue: commands: - - sem-version go 1.20.6 + - sem-version go 1.22.10 - checkout jobs: - name: Build, Test diff --git a/Dockerfile b/Dockerfile index 44c8357f..aefb06a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.20.6 as builder +FROM golang:1.22.10 as builder ARG TARGETOS ARG TARGETARCH diff --git a/go.mod b/go.mod index e109b773..d9a36afc 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/datainfrahq/druid-operator -go 1.20 +go 1.22.10 require ( github.com/ghodss/yaml v1.0.0 diff --git a/service.yml b/service.yml index b0b022be..01e4a7fe 100644 --- a/service.yml +++ b/service.yml @@ -1,6 +1,6 @@ name: druid-operator lang: go -lang_version: 1.20.6 +lang_version: 1.22.10 git: enable: true github: