-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable CD on bouncycastle-api #133
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
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 }} |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
-Pconsume-incrementals | ||
-Pmight-produce-incrementals | ||
-Dchangelist.format=%d.v%s |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ | |
</parent> | ||
|
||
<artifactId>bouncycastle-api</artifactId> | ||
<version>${revision}${changelist}</version> | ||
<version>2.30.${revision}-${changelist}</version> | ||
<packaging>hpi</packaging> | ||
|
||
<name>bouncycastle API Plugin</name> | ||
|
@@ -66,10 +66,9 @@ | |
</scm> | ||
|
||
<properties> | ||
<revision>2.30</revision> | ||
<changelist>-SNAPSHOT</changelist> | ||
<revision>1.77</revision> | ||
<changelist>999999-SNAPSHOT</changelist> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. as this is an API plugin we should not use random versions. Whilst we have already shot past the version of the bouncycastle plugin we should probably take the time to not make this worse. You can tie the revision to the bouncycastle version (e.g. remove |
||
<jenkins.version>2.361.4</jenkins.version> | ||
<bouncycastleVersion>1.77</bouncycastleVersion> | ||
<useBeta>true</useBeta> | ||
</properties> | ||
|
||
|
@@ -99,17 +98,17 @@ | |
<dependency> | ||
<groupId>org.bouncycastle</groupId> | ||
<artifactId>bcpkix-jdk18on</artifactId> | ||
<version>${bouncycastleVersion}</version> | ||
<version>${revision}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.bouncycastle</groupId> | ||
<artifactId>bcprov-jdk18on</artifactId> | ||
<version>${bouncycastleVersion}</version> | ||
<version>${revision}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.bouncycastle</groupId> | ||
<artifactId>bcutil-jdk18on</artifactId> | ||
<version>${bouncycastleVersion}</version> | ||
<version>${revision}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.assertj</groupId> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why
2.30
and not simply3
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because then we would need to wait for bouncycastle v4 rather than a v3 (or a v > 2.30). #133 (comment)
Granted we are a way of v2 let alone v3 or a v4. the earth may have imploded by the time we get either...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…if you cared about
that is.