Skip to content
Snippets Groups Projects
Select Git revision
  • bece61c0f6c426d4ba3e06579e6d3a641f0b04d2
  • master default protected
2 results

linux-archive.web.cern.ch

  • Clone with SSH
  • Clone with HTTPS
  • Clone with KRB5
  • Alex Iribarren's avatar
    Alex Iribarren authored
    RQF2350308
    
    See merge request !2
    bece61c0
    History

    Linux web

    This repo follows https://how-to.docs.cern.ch.

    Customisations

    CI/CD

    Instead of relying on webhooks as suggested by https://how-to.docs.cern.ch, we run builds on CI so we can notice whether they fail or not.

    This requires setting up a service account on each namespace:

    oc login openshift.cern.ch
    oc project linux-archive
    oc create sa openshift-operations
    oc policy add-role-to-user admin system:serviceaccount:linux-archive:openshift-operations
    oc sa get-token openshift-operations
    # Note the token on https://gitlab.cern.ch/groups/linuxsupport/-/settings/ci_cd -> LINUXARCHIVE_OPENSHIFT. REMEMBER TO SELECT MASK VARIABLE!!!

    Known issues and limitations

    • Due to the size of our documentation we need to edit the corresponding BuildConfig object with specific limits so it does not use the default ones:
    # Edit the buildconfig object
    oc edit buildconfig linux-archive
    # Add the following section:
    spec:
      (...)
      resources:
        limits:
          memory: 1Gi
        requests:
          memory: 512Mi