Skip to content

Commit 8209bec

Browse files
author
chenby
committed
remove native image support
1 parent 968e26e commit 8209bec

21 files changed

Lines changed: 1 addition & 2184 deletions

File tree

.github/workflows/docker.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,5 @@ jobs:
2626
file: ./Dockerfile
2727
push: false
2828
tags: ${{ secrets.DOCKER_USER }}/${{ secrets.REPO }}:latest
29-
- name: Build docker latest-native
30-
id: latest-native
31-
uses: docker/build-push-action@v4
32-
with:
33-
context: ./
34-
file: ./DockerfileNative
35-
push: false
36-
tags: ${{ secrets.DOCKER_USER }}/${{ secrets.REPO }}:latest-native
3729
- name: Image digest
3830
run: echo ${{ steps.docker_build.outputs.digest }}

.github/workflows/native.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -55,21 +55,5 @@ jobs:
5555
file: ./Dockerfile
5656
push: true
5757
tags: ${{ secrets.DOCKER_USER }}/${{ secrets.REPO }}:${{ env.RELEASE_TAG }}
58-
- name: Build and Push latest-native
59-
id: latest-native
60-
uses: docker/build-push-action@v4
61-
with:
62-
context: ./
63-
file: ./DockerfileNative
64-
push: true
65-
tags: ${{ secrets.DOCKER_USER }}/${{ secrets.REPO }}:latest-native
66-
- name: Build and Push ${{ env.RELEASE_TAG }}-native
67-
id: tag-native
68-
uses: docker/build-push-action@v4
69-
with:
70-
context: ./
71-
file: ./DockerfileNative
72-
push: true
73-
tags: ${{ secrets.DOCKER_USER }}/${{ secrets.REPO }}:${{ env.RELEASE_TAG }}-native
7458
- name: Image digest
7559
run: echo ${{ steps.docker_build.outputs.digest }}

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
### 0.9.7
22

33
Add support for redis 8.0.
4+
Remove native image support.
45

56
### 0.9.6
67

DockerfileNative

Lines changed: 0 additions & 34 deletions
This file was deleted.

pom.xml

Lines changed: 0 additions & 198 deletions
Original file line numberDiff line numberDiff line change
@@ -138,204 +138,6 @@
138138
<scope>test</scope>
139139
</dependency>
140140
</dependencies>
141-
142-
<profiles>
143-
<profile>
144-
<id>static</id>
145-
<build>
146-
<plugins>
147-
<plugin>
148-
<groupId>org.apache.maven.plugins</groupId>
149-
<artifactId>maven-jar-plugin</artifactId>
150-
<version>3.4.2</version>
151-
</plugin>
152-
<plugin>
153-
<groupId>org.apache.maven.plugins</groupId>
154-
<artifactId>maven-compiler-plugin</artifactId>
155-
<version>3.14.0</version>
156-
<configuration>
157-
<compilerArgs>
158-
<arg>-parameters</arg>
159-
</compilerArgs>
160-
<source>${maven.compiler.source}</source>
161-
<target>${maven.compiler.target}</target>
162-
<encoding>${project.build.sourceEncoding}</encoding>
163-
</configuration>
164-
</plugin>
165-
<plugin>
166-
<groupId>pl.project13.maven</groupId>
167-
<artifactId>git-commit-id-plugin</artifactId>
168-
<version>4.9.10</version>
169-
<executions>
170-
<execution>
171-
<id>get-the-git-infos</id>
172-
<goals>
173-
<goal>revision</goal>
174-
</goals>
175-
</execution>
176-
</executions>
177-
<configuration>
178-
<dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
179-
<prefix>git</prefix>
180-
<verbose>false</verbose>
181-
<generateGitPropertiesFile>true</generateGitPropertiesFile>
182-
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties
183-
</generateGitPropertiesFilename>
184-
<format>properties</format>
185-
<gitDescribe>
186-
<skip>false</skip>
187-
<always>false</always>
188-
<dirty>-dirty</dirty>
189-
</gitDescribe>
190-
</configuration>
191-
</plugin>
192-
<plugin>
193-
<groupId>org.graalvm.nativeimage</groupId>
194-
<artifactId>native-image-maven-plugin</artifactId>
195-
<version>21.2.0</version>
196-
<configuration>
197-
<imageName>misc</imageName>
198-
<mainClass>com.moilioncircle.redis.rdb.cli.Main</mainClass>
199-
<buildArgs combine.children="append">
200-
-H:+StaticExecutableWithDynamicLibC
201-
</buildArgs>
202-
</configuration>
203-
<executions>
204-
<execution>
205-
<goals>
206-
<goal>native-image</goal>
207-
</goals>
208-
<phase>package</phase>
209-
</execution>
210-
</executions>
211-
</plugin>
212-
<plugin>
213-
<groupId>org.apache.maven.plugins</groupId>
214-
<artifactId>maven-surefire-plugin</artifactId>
215-
<version>3.5.3</version>
216-
<configuration>
217-
<argLine>-Dfile.encoding=UTF-8</argLine>
218-
</configuration>
219-
</plugin>
220-
<plugin>
221-
<artifactId>maven-assembly-plugin</artifactId>
222-
<version>3.7.1</version>
223-
<configuration>
224-
<finalName>${project.artifactId}</finalName>
225-
<descriptors>
226-
<descriptor>src/main/assembly/assembly-native.xml</descriptor>
227-
</descriptors>
228-
</configuration>
229-
<executions>
230-
<execution>
231-
<id>make-assembly</id>
232-
<phase>verify</phase>
233-
<goals>
234-
<goal>single</goal>
235-
</goals>
236-
</execution>
237-
</executions>
238-
</plugin>
239-
</plugins>
240-
</build>
241-
</profile>
242-
<profile>
243-
<id>shared</id>
244-
<build>
245-
<plugins>
246-
<plugin>
247-
<groupId>org.apache.maven.plugins</groupId>
248-
<artifactId>maven-jar-plugin</artifactId>
249-
<version>3.4.2</version>
250-
</plugin>
251-
<plugin>
252-
<groupId>org.apache.maven.plugins</groupId>
253-
<artifactId>maven-compiler-plugin</artifactId>
254-
<version>3.14.0</version>
255-
<configuration>
256-
<compilerArgs>
257-
<arg>-parameters</arg>
258-
</compilerArgs>
259-
<source>${maven.compiler.source}</source>
260-
<target>${maven.compiler.target}</target>
261-
<encoding>${project.build.sourceEncoding}</encoding>
262-
</configuration>
263-
</plugin>
264-
<plugin>
265-
<groupId>pl.project13.maven</groupId>
266-
<artifactId>git-commit-id-plugin</artifactId>
267-
<version>4.9.10</version>
268-
<executions>
269-
<execution>
270-
<id>get-the-git-infos</id>
271-
<goals>
272-
<goal>revision</goal>
273-
</goals>
274-
</execution>
275-
</executions>
276-
<configuration>
277-
<dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
278-
<prefix>git</prefix>
279-
<verbose>false</verbose>
280-
<generateGitPropertiesFile>true</generateGitPropertiesFile>
281-
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties
282-
</generateGitPropertiesFilename>
283-
<format>properties</format>
284-
<gitDescribe>
285-
<skip>false</skip>
286-
<always>false</always>
287-
<dirty>-dirty</dirty>
288-
</gitDescribe>
289-
</configuration>
290-
</plugin>
291-
<plugin>
292-
<groupId>org.graalvm.nativeimage</groupId>
293-
<artifactId>native-image-maven-plugin</artifactId>
294-
<version>21.2.0</version>
295-
<configuration>
296-
<imageName>misc</imageName>
297-
<mainClass>com.moilioncircle.redis.rdb.cli.Main</mainClass>
298-
</configuration>
299-
<executions>
300-
<execution>
301-
<goals>
302-
<goal>native-image</goal>
303-
</goals>
304-
<phase>package</phase>
305-
</execution>
306-
</executions>
307-
</plugin>
308-
<plugin>
309-
<groupId>org.apache.maven.plugins</groupId>
310-
<artifactId>maven-surefire-plugin</artifactId>
311-
<version>3.5.3</version>
312-
<configuration>
313-
<argLine>-Dfile.encoding=UTF-8</argLine>
314-
</configuration>
315-
</plugin>
316-
<plugin>
317-
<artifactId>maven-assembly-plugin</artifactId>
318-
<version>3.7.1</version>
319-
<configuration>
320-
<finalName>${project.artifactId}</finalName>
321-
<descriptors>
322-
<descriptor>src/main/assembly/assembly-native.xml</descriptor>
323-
</descriptors>
324-
</configuration>
325-
<executions>
326-
<execution>
327-
<id>make-assembly</id>
328-
<phase>verify</phase>
329-
<goals>
330-
<goal>single</goal>
331-
</goals>
332-
</execution>
333-
</executions>
334-
</plugin>
335-
</plugins>
336-
</build>
337-
</profile>
338-
</profiles>
339141

340142
<build>
341143
<plugins>

src/main/assembly/assembly-native.xml

Lines changed: 0 additions & 89 deletions
This file was deleted.

0 commit comments

Comments
 (0)