Skip to content
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
timeout-minutes: 20
steps:
- name: Checkout source
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: Install required Java distribution
uses: actions/setup-java@v5
uses: actions/setup-java@v6
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
Expand All @@ -40,7 +40,7 @@ jobs:
timeout-minutes: 15
steps:
- name: Checkout source
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: Build custom-docker image
# Restrict to amd64 to avoid QEMU emulation for arm64 on ubuntu-latest
# runners. The Dockerfile is architecture-agnostic, so a single-arch
Expand Down
20 changes: 2 additions & 18 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
wrapperVersion=3.3.2
wrapperVersion=3.3.4
distributionType=only-script
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.16/apache-maven-3.9.16-bin.zip
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.10.2/apache-maven-3.10.2-bin.zip
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ The packages in this repository are built and released against specific Trino
versions, available as [tags in this
repository](https://github.com/trinodb/trino-packages/tags):

* [484](https://github.com/trinodb/trino-packages/releases/tag/484)
* [483](https://github.com/trinodb/trino-packages/releases/tag/483)
* [482](https://github.com/trinodb/trino-packages/releases/tag/482)
* [481](https://github.com/trinodb/trino-packages/releases/tag/481)
Expand Down
2 changes: 1 addition & 1 deletion custom-docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Set default to invalid version to ensure override in build.sh
ARG TRINO_VERSION=483
ARG TRINO_VERSION=484
FROM trinodb/trino-core:${TRINO_VERSION}

# Add customization
Expand Down
10 changes: 5 additions & 5 deletions custom-docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ limited subset of plugins to create a image with the following characteristics:
* `geospatial` functions plugin removed.
* `exchange-filesystem` plugin removed.

The project is configured for Trino 483.
The project is configured for Trino 484.

Plugin zips are fetched from the
[Trino GitHub release](https://github.com/trinodb/trino/releases) by the
Expand Down Expand Up @@ -81,8 +81,8 @@ processor architectures locally with `docker images`:

```
REPOSITORY TAG IMAGE ID CREATED SIZE
trino-custom 483-arm64 67a3dcee3c85 About a minute ago 765MB
trino-custom 483-amd64 df994bb44819 About a minute ago 757MB
trino-custom 484-arm64 67a3dcee3c85 About a minute ago 765MB
trino-custom 484-amd64 df994bb44819 About a minute ago 757MB
```

The specific version depends on the parameter `TRINO_VERSION` set in `build.sh`.
Expand All @@ -99,7 +99,7 @@ purposes. The Trino node functions both as a coordinator and a worker. To launch
it, execute the following:

```shell
docker run -p 8080:8080 --name trino-custom trino-custom:483-arm64
docker run -p 8080:8080 --name trino-custom trino-custom:484-arm64
```

Wait for the following message log line:
Expand Down Expand Up @@ -162,7 +162,7 @@ other Trino documentation for more details.

## Updating to other Trino version

The project is configured to build a custom image for Trino 483. Updates to
The project is configured to build a custom image for Trino 484. Updates to
newer versions can be contributed to the repository or can be done locally. The
following steps are necessary:

Expand Down
4 changes: 2 additions & 2 deletions custom-docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ Builds the Trino Docker image

-h Display help
-a Build the specified comma-separated architectures, defaults to amd64,arm64
-r Trino version, defaults to 483
-r Trino version, defaults to 484
-t Image tag name, defaults to trino-custom
EOF
}

ARCHITECTURES=(amd64 arm64)
# Set the desires Trino version. This version is also used automatically in the
# Dockerfile.
TRINO_VERSION=483
TRINO_VERSION=484
TAG_PREFIX=trino-custom

while getopts ":a:r:t:h" o; do
Expand Down
50 changes: 43 additions & 7 deletions mvnw

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

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.airlift</groupId>
<artifactId>airbase</artifactId>
<version>395</version>
<version>418</version>
</parent>

<groupId>io.trino</groupId>
Expand Down
12 changes: 6 additions & 6 deletions trino-server-custom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ characteristics:
* `ml` functions plugin from `trino-server-core` removed.
* `geospatial` functions plugin from `trino-server-core` removed.

The project is configured for Trino 483.
The project is configured for Trino 484.

## Building

Expand Down Expand Up @@ -88,7 +88,7 @@ them by GAV during the `package` phase.

After a successful build, you find the tarball in the
`trino-packages/trino-server-custom/target` directory with the name
`trino-server-custom-483.tar.gz`. The specific version depends on the property
`trino-server-custom-484.tar.gz`. The specific version depends on the property
`dep.trino.version` configured in `trino-packages/trino-server-custom/pom.xml`.

The Maven `ci` profile adds a smoke test that runs after the package phase.
Expand All @@ -112,20 +112,20 @@ test requires Java 25 on `PATH` and a free TCP port 8080 on the host.
Build the project on any machine, and copy the tarball package from the
`trino-server-custom/target` directory to the server on which you want to
install Trino. The server must meet the Trino requirements for the specific
Trino version, for example Java 25 for Trino 483.
Trino version, for example Java 25 for Trino 484.

Find details in the [Trino documentation](https://trino.io/docs/current/installation/deployment.html)

Extract the `tar.gz` package to install Trino:

```shell
tar xfvz trino-server-custom-483.tar.gz
tar xfvz trino-server-custom-484.tar.gz
```

You can run Trino from the resulting directory for testing:

```shell
cd trino-server-custom-483
cd trino-server-custom-484
./bin/launcher run
```

Expand Down Expand Up @@ -171,7 +171,7 @@ other Trino documentation for more details.

## Updating to other Trino version

The project is configured to build a custom tarball for Trino 483. Updates to
The project is configured to build a custom tarball for Trino 484. Updates to
newer versions can be contributed to the repository or can be done locally. The
following steps are necessary:

Expand Down
6 changes: 3 additions & 3 deletions trino-server-custom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<description>Trino - Server custom tarball package</description>

<properties>
<dep.trino.version>483</dep.trino.version>
<dep.takari.version>2.2.0</dep.takari.version>
<dep.trino.version>484</dep.trino.version>
<dep.takari.version>2.4.0</dep.takari.version>
<air.check.skip-checkstyle>true</air.check.skip-checkstyle>
<air.check.skip-enforcer>false</air.check.skip-enforcer>
<air.check.skip-duplicate-finder>true</air.check.skip-duplicate-finder>
Expand Down Expand Up @@ -97,7 +97,7 @@
<plugin>
<groupId>ca.vanzyl.provisio.maven.plugins</groupId>
<artifactId>provisio-maven-plugin</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<extensions>true</extensions>
<configuration>
<outputDirectory>${project.build.directory}/${project.artifactId}-${dep.trino.version}</outputDirectory>
Expand Down
2 changes: 1 addition & 1 deletion trino-server-custom/src/main/script/prefetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# runs do not re-download the ~300 MB core tarball.
#
# Arguments:
# $1 Trino version (for example 483)
# $1 Trino version (for example 484)
# $2 Project basedir (the trino-server-custom module directory)
# $3 Work directory for caching downloads (typically ${project.build.directory})

Expand Down
6 changes: 3 additions & 3 deletions trino-server-rpm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The RPM archive contains the application, all plugins, the necessary default
configuration files, default setups, and integration with the operating system
to start as a service.

The project is configured for Trino 483.
The project is configured for Trino 484.

## Building

Expand Down Expand Up @@ -53,7 +53,7 @@ by GAV during the `package` phase.

After a successful build, you find the RPM in the
`trino-packages/trino-server-rpm/target` directory with the name
`trino-server-rpm-483.noarch.rpm`. The specific version depends on the property
`trino-server-rpm-484.noarch.rpm`. The specific version depends on the property
`dep.trino.version` configured in `trino-packages/trino-server-rpm/pom.xml`.

To run the integration tests in `ServerIT` you must activate the `ci` profile.
Expand All @@ -65,7 +65,7 @@ A local Docker installation is required:

## Updating to other Trino version

The project is configured to build an RPM for Trino 483. Updates to newer
The project is configured to build an RPM for Trino 484. Updates to newer
versions can be contributed to the repository or can be done locally. The
following steps are necessary:

Expand Down
6 changes: 3 additions & 3 deletions trino-server-rpm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<air.check.skip-duplicate-finder>true</air.check.skip-duplicate-finder>
<air.modernizer.java-version>8</air.modernizer.java-version>

<dep.trino.version>483</dep.trino.version>
<dep.trino.version>484</dep.trino.version>
<server.tar.package>trino-server-${dep.trino.version}</server.tar.package>
<rpm.skipSigning>true</rpm.skipSigning>
</properties>
Expand Down Expand Up @@ -51,7 +51,7 @@
<dependency>
<groupId>io.airlift</groupId>
<artifactId>units</artifactId>
<version>1.10</version>
<version>1.13</version>
<scope>test</scope>
</dependency>

Expand Down Expand Up @@ -190,7 +190,7 @@
<plugin>
<groupId>ca.vanzyl.provisio.maven.plugins</groupId>
<artifactId>provisio-maven-plugin</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<executions>
<execution>
<id>unpack</id>
Expand Down
2 changes: 1 addition & 1 deletion trino-server-rpm/src/main/script/prefetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# runs do not re-download the multi-hundred MB server tarball.
#
# Arguments:
# $1 Trino version (for example 483)
# $1 Trino version (for example 484)
# $2 Project basedir (the trino-server-rpm module directory)
# $3 Work directory for caching downloads (typically ${project.build.directory})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ public void testInstallUninstall()
throws Exception
{
// Release names as in the https://api.adoptium.net/q/swagger-ui/#/Release%20Info/getReleaseNames
testInstall("jdk-25.0.3+9", "/usr/lib/jvm/temurin-25", "25");
testUninstall("jdk-25.0.3+9", "/usr/lib/jvm/temurin-25");
testInstall("jdk-25.0.4+7", "/usr/lib/jvm/temurin-25", "25");
testUninstall("jdk-25.0.4+7", "/usr/lib/jvm/temurin-25");
}

private void testInstall(String temurinReleaseName, String javaHome, String expectedJavaVersion)
Expand Down