Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

release package via github actions instead of travis ci #68

Merged
merged 5 commits into from
Mar 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,13 @@ jobs:
run: mvn install $MAVEN_FAST_INSTALL

- name: mvn test
run: mvn test -Dmaven.javadoc.skip=true -B
run: mvn test -Dmaven.javadoc.skip=true -B

- name: Release
uses: softprops/action-gh-release@v1
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.java-version == '11' }}
with:
files: |
target/trino-db2-*.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Trino Db2 connector [![Actions Status](https://github.com/IBM/presto-db2/workflows/Java%20CI/badge.svg)](https://github.com/IBM/presto-db2/actions) [![Build Status](https://travis-ci.org/IBM/presto-db2.svg?branch=master)](https://travis-ci.org/IBM/presto-db2)
# Trino Db2 connector [![Actions Status](https://github.com/IBM/trino-db2/workflows/Java%20CI/badge.svg)](https://github.com/IBM/trino-db2/actions)

This is a plugin for [Trino](https://trino.io/) that allow you to use IBM Db2 Jdbc Connection

Expand Down Expand Up @@ -36,7 +36,7 @@ See the official document of Db2 JDBC details from the article [Connecting progr

## _Extra credentials_ Support

Since release `324`, it starts to support the idea of _extra credentials_ where it allows trino client user to provide DB2 username and password as extra credentials that are passed directly to the backend DB2 server when running a Presto query.
Since release `324`, it starts to support the idea of _extra credentials_ where it allows trino client user to provide Db2 username and password as extra credentials that are passed directly to the backend Db2 server when running a query.

1. configure this for the Db2 connector catalog properties file:
```
Expand All @@ -45,7 +45,7 @@ password-credential-name=db2_password
```
2. passing credentials directly to Db2 server:
```
presto --extra-credential db2_user=user1 --extra-credential db2_password=secret
trino --extra-credential db2_user=user1 --extra-credential db2_password=secret
```

See details from [this answer](https://stackoverflow.com/a/58634432/914967).