Skip to content
Snippets Groups Projects
  • Mihai Patrascoiu's avatar
    e0a3b8d2
    CI: Pass branch variable to build jobs. · e0a3b8d2
    Mihai Patrascoiu authored
    - CC7 build jobs do not properly identify that the commit matches a tag
    - Centos8 and Fedora jobs always identify when the commit matches a tag
    - Gitlab-CI may run both a commit and a tag pipeline for the same commit. This creates the unwanted behavior of Centos8 and Fedora building a tag RPM in a commit pipeline
    
    In the end, pass the branch variable from the pipeline to the build script, which now accepts a regex to identify tags
    e0a3b8d2
    History
    CI: Pass branch variable to build jobs.
    Mihai Patrascoiu authored
    - CC7 build jobs do not properly identify that the commit matches a tag
    - Centos8 and Fedora jobs always identify when the commit matches a tag
    - Gitlab-CI may run both a commit and a tag pipeline for the same commit. This creates the unwanted behavior of Centos8 and Fedora building a tag RPM in a commit pipeline
    
    In the end, pass the branch variable from the pipeline to the build script, which now accepts a regex to identify tags
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
.gitlab-ci.yml 2.64 KiB