veilid/.gitlab-ci.yml

46 lines
1.1 KiB
YAML
Raw Normal View History

variables:
2022-11-22 16:16:53 -06:00
NO_DOCKER: 1
FORCE_COLOR: 1
EARTHLY_EXEC_CMD: "/bin/sh"
2022-11-26 23:18:08 -06:00
GIT_SUBMODULE_STRATEGY: normal
stages:
#- prepare
#- test
#- build_packages
- release
- distribute
2021-11-24 15:49:13 -06:00
2023-07-16 14:18:35 -05:00
build_repositories:
stage: distribute
#needs:
# - publish_python
tags:
- build-orchestration
variables:
2024-07-19 15:49:29 -05:00
SECURE_FILES_DOWNLOAD_PATH: './'
script:
- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
- cp scripts/cicd/build-orchestration/rpm-repo-building/Dockerfile ~/rpm-build-container
- cp scripts/cicd/build-orchestration/rpm-repo-building/repobuild.sh ~/rpm-build-container
- cp scripts/cicd/build-orchestration/generate-stable-release.sh ~
2024-07-14 22:58:26 -05:00
- bash scripts/cicd/build-orchestration/distribute-stable-packages.sh
rules:
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
2023-07-16 14:18:35 -05:00
deploy_repos:
stage: distribute
needs:
- build_repositories
tags:
- repo-server
script:
- bash scripts/cicd/repo-server/deploy-repo.sh
2023-08-02 09:14:18 -05:00
rules:
- if: '$CI_COMMIT_TAG =~ /v\d.+/'