Skip to content

Commit

Permalink
Merge pull request #1387 from dlorenc/neo4j
Browse files Browse the repository at this point in the history
Add neo4j community package.
  • Loading branch information
github-merge-queue[bot] authored Apr 18, 2023
2 parents a7f5b4a + ea0cd91 commit bf53689
Show file tree
Hide file tree
Showing 3 changed files with 726 additions and 0 deletions.
64 changes: 64 additions & 0 deletions neo4j.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
package:
name: neo4j
version: "5.6.0"
epoch: 0
description:
target-architecture:
- all
copyright:
- paths:
- "*"
attestation:
license: GPL-3.0
dependencies:
runtime:
- openjdk-17-jre
- bash

environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- curl
- maven
- openjdk-17
- bash
- wolfi-base
- wolfi-baselayout

pipeline:
- uses: git-checkout
with:
repository: https://github.com/neo4j/neo4j
tag: ${{package.version}}
expected-commit: 5ad4387ed521f169a737f9836402dbac8759a9fc

- runs: |
export LANG=en_US.UTF-8
export JAVA_HOME=/usr/lib/jvm/openjdk
mvn install -DskipTests=true -T4.0C -q
mvn package -DskipTests=true -T4.0C -q
mkdir -p ${{targets.destdir}}/usr/share/java/neo4j
tar --strip-components=1 -xf packaging/standalone/target/neo4j-*.tar.gz -C ${{targets.destdir}}/usr/share/java/neo4j
mkdir -p ${{targets.destdir}}/usr/bin
for i in neo4j neo4j-admin cypershell; do
ln -sf /usr/share/java/neo4j/bin/$i ${{targets.destdir}}/usr/bin/$i
done
subpackages:
- name: neo4j-oci-entrypoint
description: OCI entrypoint for Neo4j
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/bin
mv entrypoint.sh ${{targets.subpkgdir}}/usr/bin/entrypoint.sh
update:
enabled: true
github:
identifier: neo4j/neo4j
use-tag: true
Loading

0 comments on commit bf53689

Please sign in to comment.