Skip to content
Snippets Groups Projects

Add support for SLES 15.6

Merged Clemens Beck requested to merge 8814-sles-15-6 into master
All threads resolved!

What does this MR do?

Support SLES 15.6 (SP 6) by uploading the OpenSUSE Leap 15.6 package to the SLES repository.

Both OSes are binary compatible as announced in https://www.suse.com/c/introducing-suse-linux-enterprise-15-sp3/.

Relates #8814 (closed)

Changelog: added

This way we can build and publish SLES packages:

  1. without dev-only builder images, and
  2. without an additional build job.

Related issues

Relates #8814 (closed)

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion.

Required

  • MR title and description are up to date, accurate, and descriptive.
  • MR targeting the appropriate branch.
  • Latest Merge Result pipeline is green.
  • When ready for review, MR is labeled workflowready for review per the Distribution MR workflow.

For GitLab team members

If you don't have access to this, the reviewer should trigger these jobs for you during the review process.

  • The manual Trigger:ee-package jobs have a green pipeline running against latest commit.
  • If config/software or config/patches directories are changed, make sure the build-package-on-all-os job within the Trigger:ee-package downstream pipeline succeeded.
  • If you are changing anything SSL related, then the Trigger:package:fips manual job within the Trigger:ee-package downstream pipeline must succeed.
  • If CI configuration is changed, the branch must be pushed to dev.gitlab.org to confirm regular branch builds aren't broken.

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes.
  • Documentation created/updated. gitlab-omnibus-builder!371 (merged)
  • Tests added.
  • Integration tests added to GitLab QA.
  • Equivalent MR/issue for the GitLab Chart opened.
  • Validate potential values for new configuration settings. Formats such as integer 10, duration 10s, URI scheme://user:passwd@host:port may require quotation or other special handling when rendered in a template and written to a configuration file.

Testing

  1. Create a SLES 15 SP6 VM
  2. Upload a OpenSUSE 15.6 package to it
  3. Install it and run gitlab-ctl reconfigure
  4. Confirm reconfigure passes and that all services are healthy
$ grep -i pretty /etc/os-release 
PRETTY_NAME="SUSE Linux Enterprise Server 15 SP6"
$ sudo gitlab-ctl status
run: alertmanager: (pid 7015) 76s; run: log: (pid 6696) 130s
run: gitaly: (pid 6975) 79s; run: log: (pid 6060) 293s
run: gitlab-exporter: (pid 6988) 78s; run: log: (pid 6623) 149s
run: gitlab-kas: (pid 6269) 277s; run: log: (pid 6281) 276s
run: gitlab-workhorse: (pid 6888) 80s; run: log: (pid 6456) 165s
run: logrotate: (pid 5976) 307s; run: log: (pid 5988) 304s
run: nginx: (pid 6905) 80s; run: log: (pid 6566) 159s
run: node-exporter: (pid 6969) 79s; run: log: (pid 6607) 153s
run: postgres-exporter: (pid 7024) 75s; run: log: (pid 6718) 124s
run: postgresql: (pid 6106) 283s; run: log: (pid 6117) 282s
run: prometheus: (pid 6999) 78s; run: log: (pid 6677) 135s
run: puma: (pid 6388) 181s; run: log: (pid 6399) 178s
run: redis: (pid 6014) 300s; run: log: (pid 6023) 299s
run: redis-exporter: (pid 6990) 78s; run: log: (pid 6653) 141s
run: sidekiq: (pid 6406) 175s; run: log: (pid 6427) 172s
Edited by Clemens Beck

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • E2E Test Result Summary

    allure-report-publisher generated test report!

    qa-subset-test: :white_check_mark: test report for 35559081

    expand test summary
    +------------------------------------------------------------------+
    |                          suites summary                          |
    +-------------+--------+--------+---------+-------+-------+--------+
    |             | passed | failed | skipped | flaky | total | result |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Create      | 46     | 0      | 18      | 0     | 64    | ✅     |
    | Data Stores | 22     | 0      | 0       | 0     | 22    | ✅     |
    | Plan        | 37     | 0      | 0       | 0     | 37    | ✅     |
    | Govern      | 72     | 0      | 3       | 0     | 75    | ✅     |
    | Verify      | 8      | 0      | 2       | 0     | 10    | ✅     |
    | Release     | 2      | 0      | 0       | 0     | 2     | ✅     |
    | Systems     | 6      | 0      | 1       | 0     | 7     | ✅     |
    | Monitor     | 12     | 0      | 1       | 0     | 13    | ✅     |
    | Package     | 13     | 0      | 8       | 0     | 21    | ✅     |
    | Configure   | 1      | 0      | 0       | 0     | 1     | ✅     |
    | Manage      | 2      | 0      | 0       | 0     | 2     | ✅     |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Total       | 221    | 0      | 33      | 0     | 254   | ✅     |
    +-------------+--------+--------+---------+-------+-------+--------+
  • LGTM

    • Pipelines green (including specs)
    • Local ce and ee deploy to opensuse-leap 15.6
    Edited by Jon Doveston
  • Jon Doveston approved this merge request

    approved this merge request

  • Jon Doveston requested review from @apatterson2

    requested review from @apatterson2

  • Looping in @balasankarc. We do the same thing here for OL. I don't see an issue with doing the same here, and eventually, we can get rid of SLES builds.

  • Clemens Beck added 26 commits

    added 26 commits

    Compare with previous version

  • Thanks for the review @apatterson2. This is ready for another look.

  • Clemens Beck added 1 commit

    added 1 commit

    • 35559081 - Do not check OpenSUSE package version

    Compare with previous version

  • Andrew Patterson resolved all threads

    resolved all threads

  • Andrew Patterson approved this merge request

    approved this merge request

  • Andrew Patterson resolved all threads

    resolved all threads

  • mentioned in commit 5b5d03a2

  • added workflowstaging label and removed workflowcanary label

  • mentioned in issue #8814 (closed)

  • Please register or sign in to reply
    Loading