Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • CTA CTA
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 121
    • Issues 121
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ctacta
  • CTACTA
  • Issues
  • #262
Closed
Open
Issue created Jan 10, 2023 by Julien Leduc@jleducOwner

Manage CI repositories with `cta-release` code

In order to solve #104 we need to refactor the way we are managing our CI repositories.

In the current state we have too many ways to enable xrootd4/5, eos4/5 depending on the context:

  • in CI with private repositories we use: continuousintegration/docker/ctafrontend/cc7/opt/run/bin/versionlock_tools.sh
  • outside CERN with public repos we document to use: cta-release

We need to fuse these together to make our life easier so that we can run CI from CERN/public repositories using xrootd 4/5, eos 4/5.

Proposal

  • All repository files must be located in continuousintegration/docker/ctafrontend/cc7/etc/yum.repos.d so that they are included in the built containers
    • cta-release spec file will just take them from this location instead of its own directory

Some conventions to make it easier:

  • CERN private repository files named cta-CERN-<reponame>.repo
  • public repository files named cta-public-<reponame>.repo
  • repository IDs should follow the same convention: [cta-CERN-xrootd] [cta-public-ceph]...

All repos are disabled by default and must be explicitly enabled with the context (public/CERN,xrootd4/5,eos4/5,...) with the same command for all environments (CI at CERN, CI from outside, production at CERN, production outside,...).

To achieve this we need to move cta-versionlock command from cta-release directory in the container and expand it to use it for all our needs.

Assignee
Assign to
Time tracking