-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* #56 Sign connectors during CI build * Add project keeper * Add workflow for uploading release artifacts
- Loading branch information
1 parent
fda3676
commit 3750bd1
Showing
25 changed files
with
1,878 additions
and
193 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
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
47 changes: 47 additions & 0 deletions
47
.github/workflows/release_droid_upload_github_release_assets.yml
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,47 @@ | ||
name: Release Droid - Upload GitHub Release Assets | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
upload_url: | ||
description: 'Assets upload URL' | ||
required: true | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Build connectors | ||
run: ./tools/package_connector.sh | ||
|
||
- name: Retrieve code signing certificate | ||
run: echo $CODE_SIGNING_CERTIFICATE_BASE64 | base64 --decode > target/cert.pfx | ||
env: | ||
CODE_SIGNING_CERTIFICATE_BASE64: ${{ secrets.CODE_SIGNING_CERTIFICATE_BASE64 }} | ||
|
||
- name: Sign connectors | ||
run: ./tools/sign_connector.sh target/cert.pfx | ||
env: | ||
CODE_SIGNING_CERTIFICATE_PASSWORD: ${{ secrets.CODE_SIGNING_CERTIFICATE_PASSWORD }} | ||
|
||
- name: Generate sha256sum files | ||
run: | | ||
cd target | ||
find . -maxdepth 1 -name "tableau-exasol-connector-*.taco" -exec bash -c 'sha256sum {} > {}.sha256' \; | ||
- name: Upload signed connectors | ||
uses: shogo82148/actions-upload-release-asset@v1 | ||
with: | ||
upload_url: ${{ github.event.inputs.upload_url }} | ||
asset_path: target/tableau-exasol-connector-*.taco | ||
|
||
- name: Upload sha256sum files | ||
uses: shogo82148/actions-upload-release-asset@v1 | ||
with: | ||
upload_url: ${{ github.event.inputs.upload_url }} | ||
asset_path: target/*.sha256 |
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
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,29 @@ | ||
sources: | ||
- type: maven | ||
path: jdbc-kerberos-setup-test/pom.xml | ||
parentPom: | ||
groupId: "com.exasol" | ||
artifactId: "tableau-connector" | ||
version: "${revision}" | ||
relativePath: "../pom.xml" | ||
advertise: false | ||
- type: maven | ||
path: tableau-server-GUI-tests/pom.xml | ||
parentPom: | ||
groupId: "com.exasol" | ||
artifactId: "tableau-connector" | ||
version: "${revision}" | ||
relativePath: "../pom.xml" | ||
- type: maven | ||
path: pom.xml | ||
version: | ||
fromSource: pom.xml | ||
excludes: | ||
- regex: "(?s)E-PK-CORE-62: The project's README\\.md does not contain a valid badges block\\. Please add or replace the following badges.*" | ||
- regex: "(?s)E-PK-CORE-53: The dependencies.md file has outdated content.*" | ||
- "E-PK-CORE-18: Outdated content: '.github/workflows/ci-build.yml'" | ||
- "E-PK-CORE-17: Missing required file: '.github/workflows/ci-build-next-java.yml'" | ||
- "E-PK-CORE-17: Missing required file: '.github/workflows/dependencies_check.yml'" | ||
- "E-PK-CORE-17: Missing required file: '.github/workflows/release_droid_prepare_original_checksum.yml'" | ||
- "E-PK-CORE-17: Missing required file: '.github/workflows/release_droid_print_quick_checksum.yml'" | ||
- "E-PK-CORE-18: Outdated content: '.github/workflows/release_droid_upload_github_release_assets.yml'" |
Oops, something went wrong.