Skip to content

Commit

Permalink
build: Updated project name
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Ruaux committed Jan 25, 2023
1 parent 3b68f15 commit 266941f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/early-access.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ jobs:
uses: docker/build-push-action@v3
with:
push: ${{ github.event_name != 'pull_request' }}
tags: fieldengineering/redis-sql:early-access
tags: fieldengineering/redis-sql-trino:early-access
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
restart: always

trino:
image: fieldengineering/redis-sql
image: fieldengineering/redis-sql-trino
hostname: trino
container_name: trino
ports:
Expand Down
6 changes: 3 additions & 3 deletions jreleaser.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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'
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
</parent>

<groupId>com.redis</groupId>
<artifactId>redis-sql</artifactId>
<artifactId>redis-sql-trino</artifactId>
<version>0.2.10-SNAPSHOT</version>
<name>Redis SQL</name>
<name>Redis SQL Trino</name>
<description>Trino connector for RediSearch</description>
<packaging>trino-plugin</packaging>
<url>https://github.com/${github.owner}/${github.repo}</url>
Expand All @@ -24,7 +24,7 @@
</scm>
<properties>
<github.owner>redis-field-engineering</github.owner>
<github.repo>redis-sql</github.repo>
<github.repo>redis-sql-trino</github.repo>

<lettucemod.version>3.2.0</lettucemod.version>
<lettuce.version>6.2.2.RELEASE</lettuce.version>
Expand Down Expand Up @@ -482,7 +482,7 @@
</goals>
<configuration>
<backend>pdf</backend>
<outputFile>redis-sql-${project.version}.pdf</outputFile>
<outputFile>redis-sql-trino-${project.version}.pdf</outputFile>
<attributes>
<doctype>book</doctype>
<title-page></title-page>
Expand Down

0 comments on commit 266941f

Please sign in to comment.