-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:stephenlauck/windows-habitat-no-d…
…ocker
- Loading branch information
Showing
3 changed files
with
61 additions
and
0 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
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,28 @@ | ||
$pkg_name="windows-habitat-no-docker" | ||
$pkg_origin="lauck" | ||
$pkg_version="0.1.0" | ||
$pkg_maintainer="The Habitat Maintainers <[email protected]>" | ||
$pkg_license=@("Apache-2.0") | ||
$pkg_source="http://some_source_url/releases/${pkg_name}-${pkg_version}.zip" | ||
# $pkg_filename="$pkg_name-$pkg_version.zip" | ||
# $pkg_shasum="TODO" | ||
# $pkg_deps=@() | ||
# $pkg_build_deps=@() | ||
# $pkg_lib_dirs=@("lib") | ||
# $pkg_include_dirs=@("include") | ||
# $pkg_bin_dirs=@("bin") | ||
# $pkg_svc_run="MyBinary.exe" | ||
# $pkg_exports=@{ | ||
# host="srv.address" | ||
# port="srv.port" | ||
# ssl-port="srv.ssl.port" | ||
# } | ||
# $pkg_exposes=@("port", "ssl-port") | ||
# $pkg_binds=@{ | ||
# database="port host" | ||
# } | ||
# $pkg_binds_optional=@{ | ||
# storage="port host" | ||
# } | ||
# $pkg_description="Some description." | ||
# $pkg_upstream_url="http://example.com/project-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# | ||
# Cookbook:: windows-habitat-no-docker | ||
# Recipe:: linux | ||
# | ||
# Copyright:: 2018, The Authors, All Rights Reserved. | ||
|
||
remote_file '/tmp/habitat-install.sh' do | ||
source 'https://raw.githubusercontent.com/habitat-sh/habitat/master/components/hab/install.sh' | ||
mode '0755' | ||
end | ||
|
||
file '/tmp/habitat-install.sh' do | ||
mode '0755' | ||
end | ||
|
||
execute '/tmp/habitat-install.sh' | ||
|
||
execute 'habitat build' do | ||
cwd '/tmp/package' | ||
command 'hab pkg build ./' | ||
end |