Skip to content

Commit

Permalink
Merge branch 'main' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
chkpnt committed Jan 24, 2022
2 parents cccd657 + ba1e8bc commit 21642bd
Show file tree
Hide file tree
Showing 52 changed files with 4,416 additions and 779 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/check-markdown-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Check Markdown links

on:
push:
schedule:
- cron: "0 18 * * *"

jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-verbose-mode: 'yes'
29 changes: 29 additions & 0 deletions .github/workflows/release-plugin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release plugin

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Build
run: ./gradlew build

- name: Publish to plugins.gradle.org
run: |
./gradlew -Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }} \
-Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }} \
-Prelease=true \
publishPlugins
41 changes: 41 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Run tests

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Build
run: ./gradlew assemble testClasses

- name: Test
run: ./gradlew check

- name: SonarQube analysis
run: ./gradlew sonarqube
if: github.ref == 'refs/heads/main'
env:
SONARQUBE_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}

- name: Upload to codecov.io
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true
verbose: true
25 changes: 25 additions & 0 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Update docs

on:
push:
branches: [ main ]

jobs:
update-frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ssh-key: ${{ secrets.WORKFLOW_SSH_KEY }}

- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.WORKFLOW_SSH_KEY }}

- name: Set Git author information
run: |
git config --global user.name "chkpnt CI"
git config --global user.email "[email protected]"
- name: Generate docs and publish them to GitHub Pages
run: ./gradlew docs gitPublishPush
65 changes: 65 additions & 0 deletions .idea/libraries-with-intellij-classes.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions .idea/truststorebuilder-gradle-plugin.iml

This file was deleted.

38 changes: 0 additions & 38 deletions .travis.yml

This file was deleted.

15 changes: 15 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Release notes

# v0.6.0
## What's Changed
* Added support for certificate bundles (#64), so it is now very easy to import a bundle like the [CA certificates extracted from Mozilla](https://curl.se/docs/caextract.html)
* Added support for PKCS12 containers (#68)
* Added support to build multiple TrustStores
* Removed the feature to configure the certificate's alias for the TrustStore. The alias is now derived from the CN of the certificate and its fingerprint (sha1).
* Separated the configuration of the `buildTrustStore`-tasks and the `checkCertificates`-task
* Updated dependencies
* Plugin requires Gradle 7.0

**Full Changelog**: https://github.com/chkpnt/truststorebuilder-gradle-plugin/compare/0.5.1...0.6.0

## Migration from previous versions
The DSL provided by the `trustStoreBuilder`-extension changed a lot. Please have a look at the examples in the [README.md](https://github.com/chkpnt/truststorebuilder-gradle-plugin#readme) and the [demo project](https://github.com/chkpnt/truststorebuilder-gradle-plugin-demo).

# v0.5.1
* Remove runtime dependency to kotlin-stdlib

Expand Down
Loading

0 comments on commit 21642bd

Please sign in to comment.