summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVikram Karve <vikram.karve@progress.com>2022-08-26 17:08:39 +0530
committerVikram Karve <vikram.karve@progress.com>2022-08-26 17:08:39 +0530
commitb8c94a402063e1db02b9fa851045da281dab94cf (patch)
tree5eb3a74f842c0ebe6a620b3fb901c0de388ee4ea
parent77222295e80d94063319ddc2f0089017f7e806db (diff)
downloadchef-b8c94a402063e1db02b9fa851045da281dab94cf.tar.gz
start with empty pipeline as recommended
Signed-off-by: Vikram Karve <vikram.karve@progress.com>
-rw-r--r--.expeditor/macos_universal_package.pipeline.yml19
-rwxr-xr-x.expeditor/scripts/create_mac_universal_pkg.sh37
2 files changed, 1 insertions, 55 deletions
diff --git a/.expeditor/macos_universal_package.pipeline.yml b/.expeditor/macos_universal_package.pipeline.yml
index 85641e9f19..6fddb90a89 100644
--- a/.expeditor/macos_universal_package.pipeline.yml
+++ b/.expeditor/macos_universal_package.pipeline.yml
@@ -1,18 +1 @@
----
-expeditor:
- defaults:
- buildkite:
- timeout_in_minutes: 60
- retry:
- automatic:
- limit: 1
-
-steps:
-
-- label: ":mac: Create universal macos package"
- commands:
- - ./.expeditor/scripts/create_mac_universal_pkg.sh
- expeditor:
- executor:
- macos:
- os-version: "10.15"
+# This pipeline is currently under development.
diff --git a/.expeditor/scripts/create_mac_universal_pkg.sh b/.expeditor/scripts/create_mac_universal_pkg.sh
deleted file mode 100755
index 3b9b846470..0000000000
--- a/.expeditor/scripts/create_mac_universal_pkg.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-
-mkdir -p ./stage/pkg/tmp/chef-pkgs
-mkdir -p ./stage/script
-
-pushd ./stage/pkg/tmp/chef-pkgs
-
-curl -O https://packages.chef.io/files/current/chef/18.0.92/mac_os_x/11/chef-18.0.92-1.x86_64.dmg
-hdiutil attach chef-18.0.92-1.x86_64.dmg
-cp /Volumes/Chef\ Infra\ Client/chef-18.0.92-1.x86_64.pkg ./
-hdiutil detach /Volumes/Chef\ Infra\ Client
-rm chef-18.0.92-1.x86_64.dmg
-
-curl -O https://packages.chef.io/files/current/chef/18.0.92/mac_os_x/11/chef-18.0.92-1.arm64.dmg
-hdiutil attach chef-18.0.92-1.arm64.dmg
-cp /Volumes/Chef\ Infra\ Client/chef-18.0.92-1.arm64.pkg ./
-hdiutil detach /Volumes/Chef\ Infra\ Client
-rm chef-18.0.92-1.arm64.dmg
-
-popd
-
-cat << EOF > ./stage/script/postinstall
-#!/bin/sh
-
-if [ `uname -m` == 'x86_64' ]
-then
- installer -pkg /tmp/chef-pkgs/chef-18.0.92-1.x86_64.pkg -target LocalSystem -verbose
-elif [ `uname -m` == 'arm64' ]
-then
- installer -pkg /tmp/chef-pkgs/chef-18.0.92-1.arm64.pkg -target LocalSystem -verbose
-fi
-EOF
-
-chmod +x ./stage/script/postinstall
-
-pkgbuild --root stage/pkg --scripts stage/script --identifier "io.chef.infra-client.wrapper" \
- --version "18.0.92" --install-location / --min-os-version 10.15 stage/pkg/chef-18.0.92-1.universal.pkg