-
Notifications
You must be signed in to change notification settings - Fork 395
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add service.yml * Delete Jenkinsfile * chore: update repo semaphore config --------- Co-authored-by: Charles Provencher <[email protected]>
- Loading branch information
1 parent
0920f21
commit 7ca7189
Showing
3 changed files
with
105 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
# This file is managed by ServiceBot plugin - Semaphore. The content in this file is created using a common | ||
# template and configurations in service.yml. | ||
# Any modifications made to ths file will be overwritten by the generated content in nightly runs. | ||
# For more information, please refer to the page: | ||
# https://confluentinc.atlassian.net/wiki/spaces/Foundations/pages/2871296194/Add+SemaphoreCI | ||
version: v1.0 | ||
name: build-test-release | ||
agent: | ||
machine: | ||
type: s1-prod-ubuntu20-04-amd64-1 | ||
|
||
fail_fast: | ||
cancel: | ||
when: "true" | ||
|
||
execution_time_limit: | ||
hours: 1 | ||
|
||
queue: | ||
- when: "branch != 'master' and branch !~ '[0-9]+\\.[0-9]+\\.x'" | ||
processing: parallel | ||
|
||
global_job_config: | ||
prologue: | ||
commands: | ||
- checkout | ||
- sem-version java 8 | ||
- . cache-maven restore | ||
|
||
blocks: | ||
- name: Test | ||
dependencies: [] | ||
run: | ||
# don't run the tests on non-functional changes... | ||
when: "change_in('/', {exclude: ['/.deployed-versions/', '.github/']})" | ||
task: | ||
jobs: | ||
- name: Test | ||
commands: | ||
- pip install confluent-release-tools -q | ||
- . sem-pint | ||
- mvn -Dcloud -Pjenkins -U -Dmaven.wagon.http.retryHandler.count=10 --batch-mode --no-transfer-progress clean verify install dependency:analyze validate | ||
- cve-scan | ||
- . cache-maven store | ||
epilogue: | ||
always: | ||
commands: | ||
- . publish-test-results | ||
- artifact push workflow target/test-results | ||
- artifact push workflow target | ||
|
||
- name: Release | ||
dependencies: ["Test"] | ||
run: | ||
when: "branch = 'master' or branch =~ '[0-9]+\\.[0-9]+\\.x'" | ||
task: | ||
jobs: | ||
- name: Release | ||
commands: | ||
- mvn -Dcloud -Pjenkins -U -Dmaven.wagon.http.retryHandler.count=10 --batch-mode -DaltDeploymentRepository=confluent-codeartifact-internal::default::https://confluent-519856050701.d.codeartifact.us-west-2.amazonaws.com/maven/maven-snapshots/ | ||
-DrepositoryId=confluent-codeartifact-internal deploy -DskipTests | ||
- name: Release Notes | ||
dependencies: [] | ||
run: | ||
when: "branch =~ '[0-9]+\\.[0-9]+\\.x'" | ||
task: | ||
jobs: | ||
- name: Generate Release Notes | ||
commands: | ||
- git clone --branch master --single-branch [email protected]:confluentinc/connect-releases.git | ||
- ./connect-releases/tasks/release-connect-plugins/generate-connect-changelogs.sh | ||
|
||
after_pipeline: | ||
task: | ||
agent: | ||
machine: | ||
type: s1-prod-ubuntu20-04-arm64-0 | ||
jobs: | ||
- name: Metrics | ||
commands: | ||
- emit-ci-metrics -p -a test-results | ||
- name: Publish Test Results | ||
commands: | ||
- test-results gen-pipeline-report | ||
- name: SonarQube | ||
commands: | ||
- checkout | ||
- sem-version java 11 | ||
- artifact pull workflow target | ||
- emit-sonarqube-data --run_only_sonar_scan |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: kafka-connect-hdfs | ||
lang: java | ||
lang_version: 8 | ||
git: | ||
enable: true | ||
codeowners: | ||
enable: true | ||
semaphore: | ||
enable: true | ||
pipeline_type: cp | ||
extra_deploy_args: -Dcloud -Pjenkins | ||
extra_build_args: -Dcloud -Pjenkins | ||
generate_connect_changelogs: true | ||
run_maven_cve_scan: true | ||
run_pint_merge: true |