Skip to content

Commit

Permalink
Cross compile osx binaries, removing dependency on OSX workers
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Richard <[email protected]>
  • Loading branch information
drich10 committed Dec 3, 2024
1 parent e04f8cd commit 33376df
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 85 deletions.
7 changes: 2 additions & 5 deletions pipelines/concourse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,18 +203,13 @@ jobs:
image: unit-image
file: ci/tasks/unit.yml
input_mapping: {concourse: built-concourse}
- task: fly-darwin
file: ci/tasks/fly-darwin.yml
- task: fly-windows
file: ci/tasks/fly-windows.yml
- task: unit-baggageclaim
image: unit-image
file: ci/tasks/unit-baggageclaim.yml
privileged: true
input_mapping: {concourse: built-concourse}
- task: unit-baggageclaim-darwin
file: ci/tasks/unit-baggageclaim-darwin.yml
input_mapping: {concourse: built-concourse}
- task: unit-baggageclaim-windows
file: ci/tasks/unit-baggageclaim-windows.yml
input_mapping: {concourse: built-concourse}
Expand Down Expand Up @@ -313,6 +308,7 @@ jobs:
file: ci/tasks/fly-build-windows.yml
- task: fly-darwin
file: ci/tasks/fly-build-darwin.yml
image: golang-builder-image-rootfs
- task: build
image: oci-build-task
privileged: true
Expand Down Expand Up @@ -582,6 +578,7 @@ jobs:
file: ci/tasks/fly-build-windows.yml
- task: fly-darwin
file: ci/tasks/fly-build-darwin.yml
image: golang-builder-image
- in_parallel:
fail_fast: true
steps:
Expand Down
2 changes: 2 additions & 0 deletions pipelines/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ jobs:
file: ci/tasks/fly-build-windows.yml
- task: fly-darwin
file: ci/tasks/fly-build-darwin.yml
image: golang-builder-image-rootfs
- task: build
image: builder
privileged: true
Expand Down Expand Up @@ -556,6 +557,7 @@ jobs:
file: ci/tasks/fly-build-windows.yml
- task: fly-darwin
file: ci/tasks/fly-build-darwin.yml
image: golang-builder-image
- in_parallel:
fail_fast: true
steps:
Expand Down
2 changes: 1 addition & 1 deletion tasks/concourse-build-darwin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
platform: darwin
platform: linux

inputs:
- name: concourse
Expand Down
5 changes: 4 additions & 1 deletion tasks/fly-build-darwin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
platform: darwin
platform: linux

inputs:
- name: concourse
Expand All @@ -13,5 +13,8 @@ outputs:
caches:
- path: gopath

params:
GOOS: darwin

run:
path: ci/tasks/scripts/fly-build
12 changes: 0 additions & 12 deletions tasks/fly-darwin.yml

This file was deleted.

15 changes: 0 additions & 15 deletions tasks/scripts/fly-darwin

This file was deleted.

16 changes: 0 additions & 16 deletions tasks/scripts/unit-baggageclaim-darwin

This file was deleted.

14 changes: 0 additions & 14 deletions tasks/scripts/validate-darwin-rc

This file was deleted.

12 changes: 0 additions & 12 deletions tasks/unit-baggageclaim-darwin.yml

This file was deleted.

9 changes: 0 additions & 9 deletions tasks/validate-darwin-rc.yml

This file was deleted.

0 comments on commit 33376df

Please sign in to comment.