This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tsg-tsg-os-buildimage/.gitlab-ci.yml
2021-06-02 13:16:33 +08:00

78 lines
1.8 KiB
YAML

image: "git.mesalab.cn:7443/mesa_platform/build-env:master"
variables:
GIT_STRATEGY: "clone"
.build_tsg-buildimage:
script:
- yum -y install ansible pbzip2
- make
- chmod +x ./tools/upload.sh
- ./tools/upload.sh
tags:
- tsg-os-installer
debug_build_7400_mcn0:
stage: build
extends: .build_tsg-buildimage
variables:
PROFILE_LIST: 7400MCN0P01R01
UPLOAD_TO_FILE_REPO: 1
PULP3_FILE_REPO_NAME: tsg-os-images-testing
PULP3_FILE_DIST_NAME: tsg-os-images-testing
except:
- tags
debug_build_7400_mcn1:
stage: build
extends: .build_tsg-buildimage
variables:
PROFILE_LIST: 7400MCN1P01R01
UPLOAD_TO_FILE_REPO: 1
PULP3_FILE_REPO_NAME: tsg-os-images-testing
PULP3_FILE_DIST_NAME: tsg-os-images-testing
except:
- tags
debug_build_7400_mcn2:
stage: build
extends: .build_tsg-buildimage
variables:
PROFILE_LIST: 7400MCN2P01R01
UPLOAD_TO_FILE_REPO: 1
PULP3_FILE_REPO_NAME: tsg-os-images-testing
PULP3_FILE_DIST_NAME: tsg-os-images-testing
except:
- tags
debug_build_7400_mcn3:
stage: build
extends: .build_tsg-buildimage
variables:
PROFILE_LIST: 7400MCN3P01R01
UPLOAD_TO_FILE_REPO: 1
PULP3_FILE_REPO_NAME: tsg-os-images-testing
PULP3_FILE_DIST_NAME: tsg-os-images-testing
except:
- tags
debug_build_9000:
stage: build
extends: .build_tsg-buildimage
variables:
PROFILE_LIST: 9000NPBP01R01
UPLOAD_TO_FILE_REPO: 1
PULP3_FILE_REPO_NAME: tsg-os-images-testing
PULP3_FILE_DIST_NAME: tsg-os-images-testing
except:
- tags
release_build:
stage: build
extends: .build_tsg-buildimage
variables:
PROFILE_LIST: 9000NPBP01R01
UPLOAD_TO_FILE_REPO: 1
PULP3_FILE_REPO_NAME: tsg-os-images-stable
PULP3_FILE_DIST_NAME: tsg-os-images-stable
only:
- tags