-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sean simmons progress/chef 16390 hab export upload s3 (#84)
* pipeline Signed-off-by: Sean Simmons <[email protected]> * where is my directory? Signed-off-by: Sean Simmons <[email protected]> * where is my directory? Signed-off-by: Sean Simmons <[email protected]> * testing upload to buildkite output Signed-off-by: Sean Simmons <[email protected]> * testing hab shim export to bring in the shared vars Signed-off-by: Sean Simmons <[email protected]> --------- Signed-off-by: Sean Simmons <[email protected]>
- Loading branch information
1 parent
609dd18
commit 12a3726
Showing
3 changed files
with
38 additions
and
7 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 |
---|---|---|
|
@@ -18,18 +18,48 @@ expeditor: | |
|
||
steps: | ||
|
||
- label: "[:linux: build hab-pkg-export-tar and uplaod to :amazon-s3:]" | ||
command: | ||
- echo "--- testing hab export tar chef-demo/hello-omnibus-harmony " | ||
- hab pkg export tar chef-demo/hello-omnibus-harmony | ||
- buildkite-agent artifact upload "/hab/cache/artifacts/*.tar" | ||
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 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: | ||
docker: | ||
privileged: true | ||
environment: | ||
- BUILD_PKG_TARGET=x86_64-linux | ||
|
||
# - label: ":windows: Validate Habitat Builds of Chef Infra" | ||
# commands: | ||
# - .expeditor/scripts/habitat-test.ps1 -WindowsArtifact $EXPEDITOR_PKG_IDENTS_CHEFINFRACLIENTX86_64WINDOWS | ||
# expeditor: | ||
# executor: | ||
# windows: | ||
# privileged: true | ||
# single-use: true | ||
# shell: ["powershell", "-Command"] | ||
|
||
|
||
|
||
|
||
# - label: "[:linux: build hab-pkg-export-tar and uplaod to :amazon-s3:]" | ||
# command: | ||
# - echo "--- testing hab export tar chef-demo/hello-omnibus-harmony" | ||
# - hab pkg export tar chef-demo/hello-omnibus-harmony | ||
# - echo "--- uploading tar.gz file to buldkite, artifactory, and s3" && buildkite-agent artifact upload "*.tar.gz" | ||
# - aws s3 cp $tar_filename $s3_bucket_uri/$tar_filename --content-type "application/gzip" --profile "<profile to use>" | ||
# - curl [email protected]:<PASSWORD> -T <PATH_TO_FILE> "https://artifactory-internal.ps.chef.co/artifactory/unstable-habitat-tarbal/<TARGET_FILE_PATH>" | ||
# expeditor: | ||
# executor: | ||
# docker: | ||
# privileged: true | ||
# environment: | ||
# - BUILD_PKG_TARGET=x86_64-linux | ||
|
||
# - label: "[:windows: build hab-pkg-export-tar]" | ||
# command: | ||
# - powershell .expeditor/scripts/release_habitat/build_component.ps1 pkg-export-tar | ||
|
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