2021-11-26 08:54:38 -06:00
|
|
|
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
|
2021-11-26 08:54:38 -06:00
|
|
|
|
2023-02-20 13:14:05 -06:00
|
|
|
stages:
|
2024-08-02 10:02:10 -05:00
|
|
|
#- prepare
|
|
|
|
#- test
|
|
|
|
#- build_packages
|
2023-07-31 19:59:23 -05:00
|
|
|
- release
|
2023-06-20 21:46:05 -05:00
|
|
|
- distribute
|
2021-11-24 15:49:13 -06:00
|
|
|
|
2023-10-31 06:17:13 -05:00
|
|
|
|
2023-07-16 14:18:35 -05:00
|
|
|
|
2024-04-04 18:22:10 -05:00
|
|
|
build_repositories:
|
|
|
|
stage: distribute
|
2024-08-01 21:58:24 -05:00
|
|
|
#needs:
|
|
|
|
# - publish_python
|
2024-04-04 18:22:10 -05:00
|
|
|
tags:
|
|
|
|
- build-orchestration
|
2024-04-21 13:37:45 -05:00
|
|
|
variables:
|
2024-07-19 15:49:29 -05:00
|
|
|
SECURE_FILES_DOWNLOAD_PATH: './'
|
2024-04-04 18:22:10 -05:00
|
|
|
script:
|
2024-07-19 14:08:25 -05:00
|
|
|
- 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
|
2024-07-14 17:22:50 -05:00
|
|
|
- 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
|
2024-04-04 18:22:10 -05:00
|
|
|
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:
|
2024-04-28 20:39:18 -05:00
|
|
|
- bash scripts/cicd/repo-server/deploy-repo.sh
|
2023-08-02 09:14:18 -05:00
|
|
|
rules:
|
|
|
|
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
|
|
|
|
2024-04-29 14:40:07 -05:00
|
|
|
|
|
|
|
|