Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add neo4j community package. #1387

Merged
merged 1 commit into from
Apr 18, 2023
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
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