-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
3 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters