Skip to content

Commit

Permalink
Merge pull request #788 from kuisathaverat/feat/cd
Browse files Browse the repository at this point in the history
feat: enable releases from GitHub
  • Loading branch information
kuisathaverat authored Jan 2, 2024
2 parents 542c666 + d5cb6b4 commit 955c8ac
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ updates:
otel-dependencies:
patterns:
- "io.opentelemetry*"
- "opentelemetry*"
- "opentelemetry*"
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
19 changes: 19 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Note: additional setup is required, see https://www.jenkins.io/redirect/continuous-delivery-of-plugins

name: cd
on:
workflow_dispatch:
check_run:
types:
- completed

permissions:
checks: read
contents: write

jobs:
maven-cd:
uses: jenkins-infra/github-reusable-workflows/.github/workflows/maven-cd.yml@v1
secrets:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}
1 change: 1 addition & 0 deletions .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
-Pconsume-incrementals
-Pmight-produce-incrementals
-Dchangelist.format=%d.v%s
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
</parent>
<groupId>io.jenkins.plugins</groupId>
<artifactId>opentelemetry</artifactId>
<version>${revision}${changelist}</version>
<version>${revision}.${changelist}</version>
<packaging>hpi</packaging>
<properties>
<revision>2.19.1</revision>
<changelist>-SNAPSHOT</changelist>
<revision>3</revision>
<changelist>999999-SNAPSHOT</changelist>
<jenkins.version>2.401.3</jenkins.version>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
<opentelemetry.version>1.33.0</opentelemetry.version>
Expand Down

0 comments on commit 955c8ac

Please sign in to comment.