Update nightly sections of .gitlab-ci.yml file [ci skip]

This commit is contained in:
TC 2025-03-17 02:27:17 +00:00
parent a28479d982
commit a708f1bb97

View file

@ -355,50 +355,55 @@ nightly_create_build_machines:
tags: tags:
- build-orchestration - build-orchestration
script: script:
- bash scripts/cicd/build-orchestration/build-machine-ctrl.sh create amd64-deb - uv --directory scripts/cicd-python sync
- bash scripts/cicd/build-orchestration/build-machine-ctrl.sh create arm64-deb - uv --directory scripts/cicd-python run veilid_release_utils.py --create-build-machine
- bash scripts/cicd/build-orchestration/build-machine-ctrl.sh create amd64-rpm artifacts:
paths:
- scripts/cicd-python/config.json
expire_in: 6 hours
rules: rules:
- if: $IS_NIGHTLY == "true" - if: $IS_NIGHTLY == "true"
nightly_package_amd64_deb: nightly_package_amd64_deb:
stage: build_packages stage: build_packages
needs: needs:
- nightly_create_build_machines - dryrun_create_build_machines
tags: tags:
- build-amd64-deb - build-amd64-deb
script: script:
- earthly bootstrap - earthly bootstrap
- earthly +package-linux-amd64-deb --IS_NIGHTLY="$IS_NIGHTLY" - earthly +package-linux
- bash scripts/cicd/build-machine/scp-amd64-debs-to-orchestrator.sh artifacts:
paths:
- target/packages/*
rules: rules:
- if: $IS_NIGHTLY == "true" - if: $IS_NIGHTLY == "true"
nightly_package_arm64_deb: # nightly_package_arm64_deb:
stage: build_packages # stage: build_packages
needs: # needs:
- nightly_create_build_machines # - nightly_create_build_machines
tags: # tags:
- build-arm64-deb # - build-arm64-deb
script: # script:
- earthly bootstrap # - earthly bootstrap
- earthly +package-linux-arm64-deb --IS_NIGHTLY="$IS_NIGHTLY" # - earthly +package-linux-arm64-deb --IS_NIGHTLY="$IS_NIGHTLY"
- bash scripts/cicd/build-machine/scp-arm64-debs-to-orchestrator.sh # - bash scripts/cicd/build-machine/scp-arm64-debs-to-orchestrator.sh
rules: # rules:
- if: $IS_NIGHTLY == "true" # - if: $IS_NIGHTLY == "true"
nightly_package_amd64_rpm: # nightly_package_amd64_rpm:
stage: build_packages # stage: build_packages
needs: # needs:
- nightly_create_build_machines # - nightly_create_build_machines
tags: # tags:
- build-amd64-rpm # - build-amd64-rpm
script: # script:
- earthly bootstrap # - earthly bootstrap
- earthly +package-linux-amd64-rpm --IS_NIGHTLY="$IS_NIGHTLY" # - earthly +package-linux-amd64-rpm --IS_NIGHTLY="$IS_NIGHTLY"
- bash scripts/cicd/build-machine/scp-amd64-rpms-to-orchestrator.sh # - bash scripts/cicd/build-machine/scp-amd64-rpms-to-orchestrator.sh
rules: # rules:
- if: $IS_NIGHTLY == "true" # - if: $IS_NIGHTLY == "true"
nightly_build_repositories: nightly_build_repositories:
stage: distribute stage: distribute