Skip to content

Commit

Permalink
test hab-plugin
Browse files Browse the repository at this point in the history
Signed-off-by: poorndm <[email protected]>
  • Loading branch information
poorndm committed Dec 18, 2024
1 parent c149ede commit cb71acd
Showing 1 changed file with 25 additions and 11 deletions.
36 changes: 25 additions & 11 deletions .expeditor/habitat-export.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,31 @@ expeditor:

steps:

- label: "[:linux: build hab-pkg-export-tar and uplaod to :amazon-s3:]"
commands:
- sudo ./.expeditor/scripts/install-hab.sh x86_64-linux
- echo "--- Installing $EXPEDITOR_PKG_IDENTS_HELLOOMNIBUSHARMONYX86_64LINUX"
- sudo hab pkg install $EXPEDITOR_PKG_IDENTS_HELLOOMNIBUSHARMONYX86_64LINUX
- echo "--- Exporting to buildkite files $EXPEDITOR_PKG_IDENTS_HELLOOMNIBUSHARMONYX86_64LINUX"
- sudo hab pkg export tar $EXPEDITOR_PKG_IDENTS_HELLOOMNIBUSHARMONYX86_64LINUX
- buildkite-agent artifact upload "$(sed 's/\//-/g' <<< $EXPEDITOR_PKG_IDENTS_HELLOOMNIBUSHARMONYX86_64LINUX).${tar.gz}*"
expeditor:
# - label: "[:linux: build hab-pkg-export-tar and uplaod to :amazon-s3:]"
# commands:
# - sudo ./.expeditor/scripts/install-hab.sh x86_64-linux
# - echo "--- Installing $EXPEDITOR_PKG_IDENTS_HELLOOMNIBUSHARMONYX86_64LINUX"
# - sudo hab pkg install $EXPEDITOR_PKG_IDENTS_HELLOOMNIBUSHARMONYX86_64LINUX
# - echo "--- Exporting to buildkite files $EXPEDITOR_PKG_IDENTS_HELLOOMNIBUSHARMONYX86_64LINUX"
# - sudo hab pkg export tar $EXPEDITOR_PKG_IDENTS_HELLOOMNIBUSHARMONYX86_64LINUX
# - buildkite-agent artifact upload "$(sed 's/\//-/g' <<< $EXPEDITOR_PKG_IDENTS_HELLOOMNIBUSHARMONYX86_64LINUX).${tar.gz}*"
# expeditor:
# accounts:
# - aws/chef-cd
# executor:
# linux:
# privileged: true
# single-use: true

steps:
- label: ":habitat: export chef-demo/hello-omnibus-harmony"
plugins:
- chef/habitat#2a479e94e3dec3d2def59f6a7d831d9ab9ee336a
export: chef-demo/hello-omnibus-harmony
format: docker
expeditor:
accounts:
- aws/chef-cd
- aws/chef-cd
executor:
linux:
privileged: true
Expand Down Expand Up @@ -70,4 +84,4 @@ steps:
# host_os: windows
# environment:
# - BUILD_PKG_TARGET=x86_64-windows
# - BUILDKITE_AGENT_ACCESS_TOKEN
# - BUILDKITE_AGENT_ACCESS_TOKEN

0 comments on commit cb71acd

Please sign in to comment.