Files
vms/.gitlab-ci.yml
T
2025-08-18 01:50:28 -05:00

25 lines
604 B
YAML

stages:
- generate
- check
- trigger
include:
# Low-effort, we can always do lint checks, validations, and so forth
- local: .gitlab/always.yml
# Actual download of ISOs and building of images. This should only be
# done some of the time
- local: .gitlab/build.yml
rules:
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"
- if: $CI_PIPELINE_SOURCE == "tag"
- if: $CI_COMMIT_BRANCH == "main"
variables:
PACKER_CONFIG_DIR: ./packer_config/
PACKER_CACHE_DIR: ./cache/
default:
image: registry.thehellings.com/greg/ci-images/vm-test:latest
tags:
- nix