Skip to content
Snippets Groups Projects
Commit 5f4513ec authored by Martin Heistermann's avatar Martin Heistermann
Browse files

Initial commit

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #9139 failed
/build*/
.template-macos:
tags:
- cgg
- macos
- tart
variables:
MACOS_RELEASE: "sonoma"
TAG_PREFIX: ""
CIRRUSLABS_TAG: "$MACOS_RELEASE-vanilla"
TART_EXECUTOR_HOST_DIR: "true" # cf "Speeding up execution" @ https://github.com/cirruslabs/gitlab-tart-executor
script:
- TAG_PREFIX="${TAG_PREFIX}${MACOS_RELEASE}-"
- tart --version
- echo -n "${CI_JOB_TOKEN}" | tart login -u gitlab-ci-token --password-stdin $CI_REGISTRY
# - tart clone
# - TAG="${CI_REGISTRY_IMAGE}:${TAG_PREFIX}${CI_COMMIT_SHA}"
# - TAG_LATEST="${CI_REGISTRY_IMAGE}:${TAG_PREFIX}latest"
# - docker pull "${TAG_LATEST}" || true
# - >
# docker build
# --file ${DOCKERFILE}
# --pull
# --build-arg DEBIAN_TAG=${DEBIAN_RELEASE}-slim
# --build-arg VCS_REF=$CI_COMMIT_SHA
# --build-arg VCS_URL=$CI_PROJECT_URL
# --cache-from "${TAG_LATEST}"
# --tag "${TAG}"
# .
# - docker push "${TAG}"
# - docker tag "${TAG}" "${TAG_LATEST}"
# - docker push "${TAG_LATEST}"
after_script:
# Workaround for https://gitlab.com/gitlab-org/gitlab-foss/-/issues/40925
- tart logout ${CI_REGISTRY}
sonoma:
extends: .template-macos
variables:
MACOS_RELEASE: "sonoma"
# TODO: sequoia
# BuildBox-MacOS via tart (VMs, not containers) (experimental)
Not docker compatible!
Use with https://gitlab.inf.unibe.ch/CGG-public/ci-components/macos CI component.
## Components
This project publishes CI components to build cmake based projects.
### sonoma
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment