Skip to content

Commit

Permalink
updated to latest Helidon version
Browse files Browse the repository at this point in the history
  • Loading branch information
rashtao committed Jun 4, 2024
1 parent eb31e4c commit 39fc0b2
Show file tree
Hide file tree
Showing 41 changed files with 1,550 additions and 577 deletions.
1 change: 0 additions & 1 deletion .dockerignore

This file was deleted.

41 changes: 19 additions & 22 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,31 @@ on: push
jobs:

verify:

timeout-minutes: 10
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
java-version:
- java11
graalvm-version:
- 20.0.0

steps:
- uses: actions/checkout@v1
- name: Setup GraalVM CE
uses: rinx/setup-graalvm-ce@v0.0.1
- uses: actions/checkout@v2
- uses: graalvm/setup-graalvm@v1
with:
graalvm-version: ${{ matrix.graalvm-version }}
java-version: ${{ matrix.java-version }}
- name: setup-native-image
run: gu install native-image
java-version: '21.0.2'
distribution: 'graalvm-community'
cache: 'maven'
native-image-job-reports: 'true'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Info
run: mvn -version
- name: Start Database
run: ./docker/start_db_single.sh docker.io/arangodb/arangodb:3.6.4
- name: compile native
run: mvn package -Pnative-image -DskipTests
- name: start native server
run: ./target/arango-helidon-native-example -Dserver.port=8081 &
run: ./docker/start_db.sh
env:
SSL: true
- name: test
run: mvn test

- name: package-native
run: mvn -Pnative-image package
- name: start-native
run: ./target/arango-helidon-native-example &
- name: wait
run: sleep 1
- name: test-version
run: curl -v --fail http://localhost:8080/version
139 changes: 24 additions & 115 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,117 +1,9 @@
# Created by .ignore support plugin (hsz.mobi)
### Linux template
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

### Maven template
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
# https://github.com/takari/maven-wrapper#usage-without-binary-jar
.mvn/wrapper/maven-wrapper.jar

### Java template
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Maven
target/
.m2/

# Package Files #
*.jar
Expand All @@ -122,8 +14,25 @@ buildNumber.properties
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
.idea

# IntelliJ Idea
.idea/*
!.idea/runConfigurations
*.iws
*.ipr
*.iml
*.releaseBackup
atlassian-ide-plugin.xml

# Netbeans
nbactions.xml
nb-configuration.xml

# Eclipse
.settings
.settings/
.project
.classpath
.factorypath

/docker/jwtHeader
/docker/jwtSecret
29 changes: 0 additions & 29 deletions Dockerfile

This file was deleted.

25 changes: 0 additions & 25 deletions Dockerfile.jlink

This file was deleted.

29 changes: 0 additions & 29 deletions Dockerfile.native

This file was deleted.

Loading

0 comments on commit 39fc0b2

Please sign in to comment.