Skip to content

Commit

Permalink
add aarch64 to the release pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Phani Sajja <[email protected]>
  • Loading branch information
sajjaphani committed Oct 28, 2024
1 parent 07c4afc commit ab91834
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 1 deletion.
82 changes: 82 additions & 0 deletions .expeditor/release_habitat.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ steps:
environment:
- BUILD_PKG_TARGET=x86_64-linux

- label: "[:linux: build aarch64 hab]"
agents:
queue: default-privileged-aarch64
env:
HAB_FALLBACK_CHANNEL: "lts24-aarch64-linux"
BUILD_PKG_TARGET: "aarch64-linux"
command:
- sudo -E .expeditor/scripts/release_habitat/build_component.sh hab

- label: "[:linux: :two: build hab]"
command:
- .expeditor/scripts/release_habitat/build_component.sh hab
Expand Down Expand Up @@ -111,6 +120,15 @@ steps:
environment:
- BUILD_PKG_TARGET=x86_64-linux

- label: "[:linux: build aarch64 hab-plan-build]"
agents:
queue: default-privileged-aarch64
env:
HAB_FALLBACK_CHANNEL: "lts24-aarch64-linux"
BUILD_PKG_TARGET: "aarch64-linux"
command:
- sudo -E .expeditor/scripts/release_habitat/build_component.sh plan-build

- label: "[:linux: :two: build hab-plan-build]"
command:
- .expeditor/scripts/release_habitat/build_component.sh plan-build
Expand Down Expand Up @@ -146,6 +164,15 @@ steps:
environment:
- BUILD_PKG_TARGET=x86_64-linux

- label: "[:linux: build aarch64 hab-backline]"
agents:
queue: default-privileged-aarch64
env:
HAB_FALLBACK_CHANNEL: "lts24-aarch64-linux"
BUILD_PKG_TARGET: "aarch64-linux"
command:
- sudo -E .expeditor/scripts/release_habitat/build_component.sh backline

- label: "[:linux: :two: build hab-backline]"
command:
- .expeditor/scripts/release_habitat/build_component.sh backline
Expand All @@ -170,6 +197,15 @@ steps:
environment:
- BUILD_PKG_TARGET=x86_64-linux

- label: "[:linux: build aarch64 hab-studio]"
agents:
queue: default-privileged-aarch64
env:
HAB_FALLBACK_CHANNEL: "lts24-aarch64-linux"
BUILD_PKG_TARGET: "aarch64-linux"
command:
- sudo -E .expeditor/scripts/release_habitat/build_component.sh studio

- label: "[:linux: :two: build hab-studio]"
command:
- .expeditor/scripts/release_habitat/build_component.sh studio
Expand Down Expand Up @@ -208,6 +244,15 @@ steps:
environment:
- BUILD_PKG_TARGET=x86_64-linux

- label: "[:linux: build aarch64 launcher]"
agents:
queue: default-privileged-aarch64
env:
HAB_FALLBACK_CHANNEL: "lts24-aarch64-linux"
BUILD_PKG_TARGET: "aarch64-linux"
command:
- sudo -E .expeditor/scripts/release_habitat/build_component.sh launcher

- label: "[:linux: :two: build launcher]"
command:
- .expeditor/scripts/release_habitat/build_component.sh launcher
Expand Down Expand Up @@ -241,6 +286,15 @@ steps:
environment:
- BUILD_PKG_TARGET=x86_64-linux

- label: "[:linux: build aarch64 hab-sup]"
agents:
queue: default-privileged-aarch64
env:
HAB_FALLBACK_CHANNEL: "lts24-aarch64-linux"
BUILD_PKG_TARGET: "aarch64-linux"
command:
- sudo -E .expeditor/scripts/release_habitat/build_component.sh sup

- label: "[:linux: :two: build hab-sup]"
command:
- .expeditor/scripts/release_habitat/build_component.sh sup
Expand Down Expand Up @@ -274,6 +328,15 @@ steps:
environment:
- BUILD_PKG_TARGET=x86_64-linux

- label: "[:linux: build aarch64 hab-pkg-export-container]"
agents:
queue: default-privileged-aarch64
env:
HAB_FALLBACK_CHANNEL: "lts24-aarch64-linux"
BUILD_PKG_TARGET: "aarch64-linux"
command:
- sudo -E .expeditor/scripts/release_habitat/build_component.sh pkg-export-container

- label: "[:windows: build hab-pkg-export-container]"
command:
- powershell .expeditor/scripts/release_habitat/build_component.ps1 pkg-export-container
Expand All @@ -295,6 +358,15 @@ steps:
environment:
- BUILD_PKG_TARGET=x86_64-linux

- label: "[:linux: build aarch64 hab-pkg-export-tar]"
agents:
queue: default-privileged-aarch64
env:
HAB_FALLBACK_CHANNEL: "lts24-aarch64-linux"
BUILD_PKG_TARGET: "aarch64-linux"
command:
- sudo -E .expeditor/scripts/release_habitat/build_component.sh pkg-export-tar

- label: "[:linux: :two: build hab-pkg-export-tar]"
command:
- .expeditor/scripts/release_habitat/build_component.sh pkg-export-tar
Expand Down Expand Up @@ -352,6 +424,16 @@ steps:
environment:
- BUILD_PKG_TARGET=x86_64-linux

- label: "[:linux: upload hab aarch64 binary]"
agents:
queue: default-privileged-aarch64
env:
HAB_FALLBACK_CHANNEL: "lts24-aarch64-linux"
BUILD_PKG_TARGET: "aarch64-linux"
command:
- sudo -E .expeditor/scripts/release_habitat/package_and_upload_binary.sh
if: build.creator.name == 'Chef Expeditor' || build.env("UPLOAD_AND_PROMOTE") == 'true'

- label: "[:linux: :two: upload hab binary]"
command:
- .expeditor/scripts/release_habitat/package_and_upload_binary.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ channel=$(get_release_channel)
echo "--- Channel: $channel - bldr url: $HAB_BLDR_URL"

declare -g hab_binary
install_release_channel_hab_binary "x86_64-linux"
install_release_channel_hab_binary "$BUILD_PKG_TARGET"

import_gpg_keys

Expand Down

0 comments on commit ab91834

Please sign in to comment.