Skip to content

Commit

Permalink
Add dgraph-ratel plan
Browse files Browse the repository at this point in the history
This plan was already in the .bldr.toml but there wasn't actually a plan for it 😂

Also, bump the version for dgraph.

Signed-off-by: Elliott Davis <elliott@excellent.io>
  • Loading branch information
Elliott Davis committed Jul 19, 2018
1 parent 51b00d8 commit 8956200
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
15 changes: 15 additions & 0 deletions dgraph-ratel/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Dgraph-ratel

Dgraph is a distributed, transactiona, graph database written in go. This is the UI server for its visualizations

## Maintainers

* The Habitat Maintainers: <humans@habitat.sh>

## Type of Package

Binary package

## Usage

*TODO: Add instructions for usage*
22 changes: 22 additions & 0 deletions dgraph-ratel/plan.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
pkg_name=dgraph-ratel
pkg_origin=core
pkg_version="1.0.6"
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_license=('Apache-2.0')
pkg_source="https://github.com/dgraph-io/dgraph/releases/download/v${pkg_version}/dgraph-linux-amd64.tar.gz"
pkg_shasum="616a3dc22973c48bbe57036dde5ea91055761f565a22bfbe20b6079fd16a9156"
pkg_deps=(core/glibc)
pkg_build_deps=(core/patchelf)
pkg_bin_dirs=(bin)
pkg_description="Distributed transactional graph database written in go"
pkg_upstream_url="https://dgraph.io"

do_build(){
return 0
}

do_install(){
cp "$HAB_CACHE_SRC_PATH/${pkg_name}" "${pkg_prefix}/bin/${pkg_name}" || exit 1
patchelf --interpreter "$(pkg_path_for glibc)/lib/ld-linux-x86-64.so.2" \
"${pkg_prefix}/bin/${pkg_name}"
}
6 changes: 3 additions & 3 deletions dgraph/plan.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
pkg_name=dgraph
pkg_origin=core
pkg_version="1.0.5"
pkg_version="1.0.6"
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_license=('Apache-2.0')
pkg_source="https://github.com/${pkg_name}-io/${pkg_name}/releases/download/v${pkg_version}/${pkg_name}-linux-amd64.tar.gz"
pkg_shasum="0ffff961569c9ce237d2e0c80ca260ee09e9364a13e88964b5ff334f2cfc9a9d"
pkg_shasum="616a3dc22973c48bbe57036dde5ea91055761f565a22bfbe20b6079fd16a9156"
pkg_deps=(core/glibc)
pkg_build_deps=(core/patchelf)
pkg_bin_dirs=(bin)
Expand All @@ -18,5 +18,5 @@ do_build(){
do_install(){
cp "$HAB_CACHE_SRC_PATH/${pkg_name}" "${pkg_prefix}/bin/${pkg_name}" || exit 1
patchelf --interpreter "$(pkg_path_for glibc)/lib/ld-linux-x86-64.so.2" \
"${pkg_prefix}/bin/dgraph"
"${pkg_prefix}/bin/${pkg_name}"
}

0 comments on commit 8956200

Please sign in to comment.