@@ -442,50 +442,50 @@ alt_build_task:
442
442
443
443
444
444
# Confirm building the remote client, natively on a Mac OS-X VM.
445
- # osx_alt_build_task:
446
- # name: "OSX Cross"
447
- # alias: osx_alt_build
448
- # # Docs: ./contrib/cirrus/CIModes.md
449
- # only_if: *no_rhel_release # RHEL never releases podman mac installer binary
450
- # depends_on:
451
- # - build
452
- # persistent_worker: &mac_pw
453
- # labels:
454
- # os: darwin
455
- # arch: arm64
456
- # purpose: prod
457
- # env: &mac_env
458
- # CIRRUS_SHELL: "/bin/bash" # sh is the default
459
- # CIRRUS_WORKING_DIR: "$HOME/ci/task-${CIRRUS_TASK_ID}" # Isolation: $HOME will be set to "ci" dir.
460
- # # Prevent cache-pollution fron one task to the next.
461
- # GOPATH: "$CIRRUS_WORKING_DIR/.go"
462
- # GOCACHE: "$CIRRUS_WORKING_DIR/.go/cache"
463
- # GOENV: "$CIRRUS_WORKING_DIR/.go/support"
464
- # GOSRC: "$HOME/ci/task-${CIRRUS_TASK_ID}"
465
- # # This host is/was shared with potentially many other CI tasks.
466
- # # The previous task may have been canceled or aborted.
467
- # prep_script: &mac_cleanup "contrib/cirrus/mac_cleanup.sh"
468
- # lint_script:
469
- # - make lint || true # TODO: Enable when code passes check
470
- # basic_build_script:
471
- # - make .install.ginkgo
472
- # - make podman-remote
473
- # - make podman-mac-helper
474
- # build_amd64_script:
475
- # - make podman-remote-release-darwin_amd64.zip
476
- # build_arm64_script:
477
- # - make podman-remote-release-darwin_arm64.zip
478
- # build_pkginstaller_script:
479
- # - cd contrib/pkginstaller
480
- # - make ARCH=amd64 NO_CODESIGN=1 pkginstaller
481
- # - make ARCH=aarch64 NO_CODESIGN=1 pkginstaller
482
- # # Produce a new repo.tbz artifact for consumption by dependent tasks.
483
- # repo_prep_script: *repo_prep
484
- # repo_artifacts: *repo_artifacts
485
- # # This host is/was shared with potentially many other CI tasks.
486
- # # Ensure nothing is left running while waiting for the next task.
487
- # always:
488
- # task_cleanup_script: *mac_cleanup
445
+ osx_alt_build_task :
446
+ name : " OSX Cross"
447
+ alias : osx_alt_build
448
+ # Docs: ./contrib/cirrus/CIModes.md
449
+ only_if : *no_rhel_release # RHEL never releases podman mac installer binary
450
+ depends_on :
451
+ - build
452
+ persistent_worker : &mac_pw
453
+ labels :
454
+ os : darwin
455
+ arch : arm64
456
+ purpose : prod
457
+ env : &mac_env
458
+ CIRRUS_SHELL : " /bin/bash" # sh is the default
459
+ CIRRUS_WORKING_DIR : " $HOME/ci/task-${CIRRUS_TASK_ID}" # Isolation: $HOME will be set to "ci" dir.
460
+ # Prevent cache-pollution fron one task to the next.
461
+ GOPATH : " $CIRRUS_WORKING_DIR/.go"
462
+ GOCACHE : " $CIRRUS_WORKING_DIR/.go/cache"
463
+ GOENV : " $CIRRUS_WORKING_DIR/.go/support"
464
+ GOSRC : " $HOME/ci/task-${CIRRUS_TASK_ID}"
465
+ # This host is/was shared with potentially many other CI tasks.
466
+ # The previous task may have been canceled or aborted.
467
+ prep_script : &mac_cleanup "contrib/cirrus/mac_cleanup.sh"
468
+ lint_script :
469
+ - make lint || true # TODO: Enable when code passes check
470
+ basic_build_script :
471
+ - make .install.ginkgo
472
+ - make podman-remote
473
+ - make podman-mac-helper
474
+ build_amd64_script :
475
+ - make podman-remote-release-darwin_amd64.zip
476
+ build_arm64_script :
477
+ - make podman-remote-release-darwin_arm64.zip
478
+ build_pkginstaller_script :
479
+ - cd contrib/pkginstaller
480
+ - make ARCH=amd64 NO_CODESIGN=1 pkginstaller
481
+ - make ARCH=aarch64 NO_CODESIGN=1 pkginstaller
482
+ # Produce a new repo.tbz artifact for consumption by dependent tasks.
483
+ repo_prep_script : *repo_prep
484
+ repo_artifacts : *repo_artifacts
485
+ # This host is/was shared with potentially many other CI tasks.
486
+ # Ensure nothing is left running while waiting for the next task.
487
+ always :
488
+ task_cleanup_script : *mac_cleanup
489
489
490
490
# Build freebsd release natively on a FreeBSD VM.
491
491
# freebsd_alt_build_task:
@@ -875,6 +875,7 @@ podman_machine_mac_task:
875
875
# main_script: ".\\repo\\contrib\\cirrus\\win-podman-machine-main.ps1"
876
876
877
877
878
+ <<<<<<< HEAD
878
879
# podman_machine_mac_task:
879
880
# name: *std_name_fmt
880
881
# alias: podman_machine_mac
@@ -919,6 +920,51 @@ podman_machine_mac_task:
919
920
# always:
920
921
# task_cleanup_script: *mac_cleanup
921
922
>>>>>>> 0ff0e1dfe8 ([CI:MACHINE]Podman5 QEMU refactor)
923
+ =======
924
+ podman_machine_mac_task :
925
+ name : *std_name_fmt
926
+ alias : podman_machine_mac
927
+ only_if : *not_tag_branch_build_docs
928
+ depends_on :
929
+ - osx_alt_build
930
+ - local_integration_test
931
+ - remote_integration_test
932
+ - container_integration_test
933
+ - rootless_integration_test
934
+ persistent_worker : *mac_pw
935
+ env :
936
+ << : *mac_env
937
+ # Consumed by podman-machine ginkgo tests
938
+ CONTAINERS_MACHINE_PROVIDER : " applehv"
939
+ # TODO: Should not require a special image, for now it does.
940
+ # Simply remove the line below when a mac image is GA.
941
+ # MACHINE_IMAGE: "https://fedorapeople.org/groups/podman/testing/applehv/arm64/fedora-coreos-38.20230925.dev.0-applehv.aarch64.raw.gz"
942
+ # Values necessary to populate std_name_fmt alias
943
+ TEST_FLAVOR : " machine-mac"
944
+ DISTRO_NV : " darwin"
945
+ PRIV_NAME : " rootless" # intended use-case
946
+ clone_script : # artifacts from osx_alt_build_task
947
+ - mkdir -p $CIRRUS_WORKING_DIR
948
+ - cd $CIRRUS_WORKING_DIR
949
+ - $ARTCURL/OSX%20Cross/repo/repo.tbz
950
+ - tar xjf repo.tbz
951
+ # This host is/was shared with potentially many other CI tasks.
952
+ # The previous task may have been canceled or aborted.
953
+ prep_script : *mac_cleanup
954
+ setup_script : " contrib/cirrus/mac_setup.sh"
955
+ env_script : " contrib/cirrus/mac_env.sh"
956
+ # TODO: Timeout bumped b/c initial image download (~5min) and VM
957
+ # resize (~2min) causes test-timeout (90s default). Should
958
+ # tests deal with this internally?
959
+ smoke_test_script :
960
+ - MACHINE_TEST_TIMEOUT=500 make localmachine FOCUS_FILE="basic_test.go"
961
+ test_script :
962
+ - make localmachine
963
+ # This host is/was shared with potentially many other CI tasks.
964
+ # Ensure nothing is left running while waiting for the next task.
965
+ always :
966
+ task_cleanup_script : *mac_cleanup
967
+ >>>>>>> 09f119d4a6 (Podman Machine AppleHV CI fixes)
922
968
923
969
# Always run subsequent to integration tests. While parallelism is lost
924
970
# with runtime, debugging system-test failures can be more challenging
@@ -1123,7 +1169,7 @@ success_task:
1123
1169
- bindings
1124
1170
- swagger
1125
1171
- alt_build
1126
- # - osx_alt_build
1172
+ - osx_alt_build
1127
1173
# - freebsd_alt_build
1128
1174
# - win_installer
1129
1175
- docker-py_test
@@ -1138,7 +1184,7 @@ success_task:
1138
1184
- podman_machine_aarch64
1139
1185
# - podman_machine_windows
1140
1186
# TODO: Issue #20853; Tests mostly fail then timeout after an hour.
1141
- # - podman_machine_mac
1187
+ - podman_machine_mac
1142
1188
- local_system_test
1143
1189
- local_system_test_aarch64
1144
1190
- remote_system_test
0 commit comments