diff --git a/.github/workflows/early-access.yml b/.github/workflows/early-access.yml index 18d0402..500ae96 100644 --- a/.github/workflows/early-access.yml +++ b/.github/workflows/early-access.yml @@ -91,4 +91,4 @@ jobs: uses: docker/build-push-action@v3 with: push: ${{ github.event_name != 'pull_request' }} - tags: fieldengineering/redis-sql:early-access \ No newline at end of file + tags: fieldengineering/redis-sql-trino:early-access \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d02853..bc1d5d5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,7 +95,7 @@ jobs: uses: docker/build-push-action@v3 with: push: ${{ github.event_name != 'pull_request' }} - tags: fieldengineering/redis-sql:latest,fieldengineering/redis-sql:${{ github.event.inputs.version }} + tags: fieldengineering/redis-sql-trino:latest,fieldengineering/redis-sql-trino:${{ github.event.inputs.version }} - name: Deploy uses: peaceiris/actions-gh-pages@v3 diff --git a/Dockerfile b/Dockerfile index 7eb7e74..6f32039 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,14 @@ ARG TRINO_VERSION=403 FROM docker.io/library/maven:3.8.6-openjdk-18 AS builder -WORKDIR /root/redis-sql -COPY . /root/redis-sql +WORKDIR /root/redis-sql-trino +COPY . /root/redis-sql-trino ENV MAVEN_FAST_INSTALL="-DskipTests -Dair.check.skip-all=true -Dmaven.javadoc.skip=true -B -q -T C1" RUN mvn package $MAVEN_FAST_INSTALL FROM trinodb/trino:${TRINO_VERSION} -COPY --from=builder --chown=trino:trino /root/redis-sql/target/redis-sql-*/* /usr/lib/trino/plugin/redisearch/ +COPY --from=builder --chown=trino:trino /root/redis-sql-trino/target/redis-sql-trino-*/* /usr/lib/trino/plugin/redisearch/ USER root:root RUN apt-get update diff --git a/docker-compose.yml b/docker-compose.yml index 70314cd..4cecb1d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: restart: always trino: - image: fieldengineering/redis-sql + image: fieldengineering/redis-sql-trino hostname: trino container_name: trino ports: diff --git a/jreleaser.yml b/jreleaser.yml index 645145f..ce42c4e 100644 --- a/jreleaser.yml +++ b/jreleaser.yml @@ -1,9 +1,9 @@ project: - name: redis-sql + name: redis-sql-trino description: Trino Connector for RediSearch longDescription: Trino Connector for RediSearch links: - homepage: https://github.com/redis-field-engineering/redis-sql + homepage: https://github.com/redis-field-engineering/redis-sql-trino authors: - Julien Ruaux license: MIT @@ -56,7 +56,7 @@ announce: message: '🚀 Redis SQL {{projectVersion}} has been released! {{releaseNotesUrl}}' distributions: - redis-sql: + redis-sql-trino: artifacts: - path: target/{{distributionName}}-{{projectVersion}}.zip transform: '{{distributionName}}-{{projectEffectiveVersion}}.zip' diff --git a/pom.xml b/pom.xml index 8176ccf..8f2b3ec 100644 --- a/pom.xml +++ b/pom.xml @@ -9,9 +9,9 @@ com.redis - redis-sql + redis-sql-trino 0.2.10-SNAPSHOT - Redis SQL + Redis SQL Trino Trino connector for RediSearch trino-plugin https://github.com/${github.owner}/${github.repo} @@ -24,7 +24,7 @@ redis-field-engineering - redis-sql + redis-sql-trino 3.2.0 6.2.2.RELEASE @@ -482,7 +482,7 @@ pdf - redis-sql-${project.version}.pdf + redis-sql-trino-${project.version}.pdf book