Commit Graph

532 Commits

Author SHA1 Message Date
Robert Marshall 5846827da7 Stop all Ubuntu 18.04 pipeline activity
- Do not run Ubuntu 18.04 package uploads.
- Do not run Ubuntu 18.04 package builds.
- Do not run Ubuntu 18.04 rspec jobs.

Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8084

Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8083

Signed-off-by: Robert Marshall <rmarshall@gitlab.com>
2024-05-07 13:45:05 -04:00
Robert Marshall e1dfa73551 Use Ubuntu 22.04 for license and manifest upload
- Updates the license and manifest upload jobs to use Ubuntu 22.04
  instead of Ubuntu 18.04. Ubuntu 18.04 reached end of standard support
  on May 31, 2023 and was deprecated in GitLab version 16.9.

Related https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8084

Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8523

Signed-off-by: Robert Marshall <rmarshall@gitlab.com>
2024-05-07 11:01:16 +00:00
Robert Marshall afa4d72b8f Merge branch 'eread/switch-to-lychee-for-link-checking' into 'master'
Switch to Lychee for link checking

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7547

Merged-by: Robert Marshall <rmarshall@gitlab.com>
Approved-by: Robert Marshall <rmarshall@gitlab.com>
Reviewed-by: Evan Read <eread@gitlab.com>
Co-authored-by: Evan Read <eread@gitlab.com>
2024-04-30 22:41:28 +00:00
Evan Read 34e4de4d7d Switch to Lychee for link checking
Use Lychee instead of nanoc for link validation
in documentation.

Related https://gitlab.com/gitlab-org/technical-writing/-/issues/979
2024-04-30 22:41:28 +00:00
Sofia Vistas 3c6fb28eb2 Remove reliable tag from QA test runs 2024-04-24 04:08:05 +00:00
Balasankar 'Balu' C ca02e0c220
Enable building arm64 images
Modify the Dockerfile and library code around Docker image builds to
support building multiarch images. The Dockerfile will download the
package for the correct architecture based on TARGETARCH variable.

Closes: https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8470

Signed-off-by: Balasankar 'Balu' C <balasankar@gitlab.com>
2024-04-19 08:40:38 +05:30
Balasankar 'Balu' C ff55a2fedc Pass DEV_BUILDER_IMAGE_REGISTRY variable to downstream pipeline
- Adds DEV_BUILDER_IMAGE_REGISTRY when invoking triggers to
  allow build-package-on-all-os jobs to work with SLES from
  the GitLab Omnibus Builder repository.

Signed-off-by: Balasankar 'Balu' C <balasankar@gitlab.com>
2024-04-09 15:28:45 +00:00
Andrew Patterson 90aff3e94b Merge branch 'cleanup-ci-stages' into 'master'
Cleanup CI stage names

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7498

Merged-by: Andrew Patterson <apatterson@gitlab.com>
Approved-by: Clemens Beck <cbeck@gitlab.com>
Approved-by: Andrew Patterson <apatterson@gitlab.com>
Reviewed-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: Balasankar 'Balu' C <balasankar@gitlab.com>
2024-04-08 22:24:30 +00:00
Balasankar 'Balu' C 3e9c3816c8 Cleanup CI stage names
- Cleanup stage names.
- Remove obsolete CI templates.

Signed-off-by: Balasankar 'Balu' C <balasankar@gitlab.com>
2024-04-08 22:24:30 +00:00
Reuben Pereira 5719d82182 Revert "Merge branch 'revert-cache-changes' into 'master'"
This reverts merge request !7521
2024-04-04 04:09:05 +00:00
Robert Marshall aea984c929 Revert recently introduced cache changes
- Recent pipeline jobs failed with strange cache issues. After review of
  recent changes, it is possible that changes from trigger based jobs to
  normal pipeline jobs may have introduced hidden behavioral changes that
  polluted the build caches. This reverts those changes as an attempt
  to unblock auto deploy while the team continues to investigate.
- https://dev.gitlab.org/gitlab/omnibus-gitlab/-/jobs/19887684
- https://dev.gitlab.org/gitlab/omnibus-gitlab/-/jobs/19883123
- https://gitlab.com/gitlab-org/omnibus-gitlab/-/jobs/6535645918

This reverts commit 373d38dc4f.
This reverts commit b7cb856e12.

Signed-off-by: Robert Marshall <rmarshall@gitlab.com>
2024-04-03 13:25:00 -04:00
Balasankar 'Balu' C 373d38dc4f
Run Docker-branch job in TRIGGER_CACHE_UPDATE_PIPELINE also
Signed-off-by: Balasankar 'Balu' C <balasankar@gitlab.com>
2024-04-02 19:25:29 +05:30
Balasankar 'Balu' C b7cb856e12 Drop trigger build jobs in favor of normal branch build jobs
- Control cache policy by variable.
- Drop trigger build jobs in favor of normal branch build jobs.

Signed-off-by: Balasankar 'Balu' C <balasankar@gitlab.com>
2024-04-02 04:24:21 +00:00
Robert Marshall ef895d0726 Merge branch 'fix-nightly-in-canonical-rat-2' into 'master'
Ensure nightly pipelines are correctly detected in Canonical

Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8451

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7484

Merged-by: Robert Marshall <rmarshall@gitlab.com>
Approved-by: Robert Marshall <rmarshall@gitlab.com>
Co-authored-by: Balasankar 'Balu' C <balasankar@gitlab.com>
2024-03-28 01:09:18 +00:00
Balasankar 'Balu' C 4b8ab3c2cb Ensure nightly pipelines are correctly detected in Canonical
- Ensures package is built for both branch pipelines and
  the nightly job
- Fixes package download URL calculations

Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8451

Signed-off-by: Balasankar 'Balu' C <balasankar@gitlab.com>
2024-03-28 01:09:18 +00:00
Amy Qualls 538b3459ac
Updates docs-lint image for new SVG use
We need to update the image used in this CI job so it incorporates
the newest changes made to the official GitLab SVG repository.
2024-03-27 10:50:56 -07:00
Balasankar 'Balu' C 3cfb3e9b2e Merge branch '8429-run-danger-on-docs-pipelines' into 'master'
Run danger job on docs pipelines

Closes #8429

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7445

Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Ryan Egesdahl <regesdahl@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: dustinmm80 <dcollins@gitlab.com>
2024-03-14 05:18:04 +00:00
Dustin Collins f76164485a Run danger job on docs pipelines 2024-03-14 05:18:04 +00:00
Ryan Egesdahl 062f88a7c6 Revert "Merge branch 'fix-nightly-in-canonical-rat' into 'master'"
This reverts merge request !7460 because the `Trigger:package` job
was not present.  Adding it would build the Ubuntu package twice, so
we chose to revert and determine if this can be done with the
package already built in the pipeline.
2024-03-09 02:55:55 +00:00
Andrew Patterson 25de7f59f1 Merge branch 'fix-nightly-in-canonical-rat' into 'master'
Ensure nightly pipelines are correctly detected in Canonical

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7460

Merged-by: Andrew Patterson <apatterson@gitlab.com>
Approved-by: Jason Plum <jplum@gitlab.com>
Approved-by: Andrew Patterson <apatterson@gitlab.com>
Co-authored-by: Balasankar 'Balu' C <balasankar@gitlab.com>
2024-03-08 22:41:25 +00:00
Balasankar 'Balu' C 7b2b58ba99 Ensure nightly pipelines are correctly detected in Canonical
Signed-off-by: Balasankar 'Balu' C <balasankar@gitlab.com>
2024-03-08 22:41:25 +00:00
Andrew Patterson 6344a43eff Merge branch 'retry-check-jobs' into 'master'
Retry jobs that depend on external sources automatically

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7446

Merged-by: Andrew Patterson <apatterson@gitlab.com>
Approved-by: Clemens Beck <cbeck@gitlab.com>
Approved-by: Andrew Patterson <apatterson@gitlab.com>
Co-authored-by: Balasankar 'Balu' C <balasankar@gitlab.com>
2024-03-05 17:42:42 +00:00
Balasankar 'Balu' C 88a2b8f6b5 Retry jobs that depend on external sources automatically
Signed-off-by: Balasankar 'Balu' C <balasankar@gitlab.com>
2024-03-05 17:42:42 +00:00
Balasankar 'Balu' C 65a8c2c5a6 Enable running nightly pipelines in Canonical repo
Modify workflow rules so that nightly pipelines can be run also in
Canonical project

Signed-off-by: Balasankar 'Balu' C <balasankar@gitlab.com>
2024-02-26 15:43:08 +00:00
Clemens Beck 9b66c619ab
Remove Pi OS 12 release jobs
Remove Pi OS 12 CI jobs, because the OS is not supported by
package cloud at the moment.

This keeps the branch build to catch Pi OS 12 specific issues.

Docs: https://packagecloud.io/docs#anchor-raspbian

Relates https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8398

Changelog: removed
2024-02-15 15:45:05 +01:00
Evan Read a9c947efe1 Vale and Markdown rule refresh for project 2024-02-08 05:22:59 +00:00
Evan Read a1d1514647 Fully implement markdownlint-cli2 in project 2024-02-02 14:55:04 +10:00
Robert Marshall 65280b6b81 Provide packages for Raspberry Pi 12
- Adds package jobs for building Debian 12 for Raspberry Pi
- Add package check for Debian 12 on Raspberry Pi

Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8398

Changelog: added
Signed-off-by: Robert Marshall <rmarshall@gitlab.com>
2024-01-29 12:28:42 +00:00
Clemens Beck d6d3933486
Stop building for OpenSUSE 15.4
Remove CI jobs for packaging and testing for OpenSuSE 15.4.

Changelog: removed
2024-01-05 18:17:45 +01:00
Balasankar 'Balu' C d1f9e563aa Control runner tags for package promotion via env vars
Related https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8122

Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2023-12-01 05:27:58 +00:00
Evan Read 2ad1f7e7b7 Use new Technical Writing Docker images 2023-11-06 14:25:17 +10:00
Balasankar 'Balu' C 84448812f4 Provide nightly arm64 packages for Ubuntu 22.04
Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/5982

Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2023-10-25 07:38:19 +00:00
DJ Mountney 6037991cf5 Update omnibus dependency scanning job for GitLab 16 2023-10-02 14:45:01 +00:00
Robert Marshall 668e131580 Merge branch 'switch-from-ruby-docker-image' into 'master'
Switch ruby_docker image with distribution_ci_tools one

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7091

Merged-by: Robert Marshall <rmarshall@gitlab.com>
Approved-by: Andrew Patterson <apatterson@gitlab.com>
Approved-by: Robert Marshall <rmarshall@gitlab.com>
Co-authored-by: Balasankar "Balu" C <balasankar@gitlab.com>
2023-09-18 23:11:37 +00:00
Balasankar 'Balu' C a880f24726 Merge branch '8062-add-packages-for-opensuse-15-5' into 'master'
Add packages for OpenSUSE 15.5

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7099

Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Andrew Patterson <apatterson@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: João Cunha <j.a.cunha@gmail.com>
2023-09-13 15:23:22 +00:00
João Alexandre Cunha cd663be2ed Provide packages for OpenSUSE Leap 15.5
Added support for building the OpenSUSE LEAP 15.5 platform.

Related to https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8062

Changelog: added
2023-09-13 15:23:22 +00:00
Balasankar 'Balu' C c17552fb06
Merge branch 'vp/add-manual-job-for-entire-test-suite' into 'master'
Adding manual job to run entire test suite

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7077

Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Andrew Patterson <apatterson@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: vishal.s.patel <vpatel@gitlab.com>
2023-09-08 06:44:49 +00:00
Vishal Patel f42c42c8b7
Adding manual job to run entire test suite 2023-09-08 06:44:49 +00:00
Balasankar 'Balu' C cd5e9fe8c8
Stop syncing packages to S3
- Removes package sync to S3 now that GCP sync is established
  and stable

Closes https://gitlab.com/gitlab-org/security/omnibus-gitlab/-/issues/3

Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2023-09-07 06:21:02 +00:00
Balasankar "Balu" C 1edc565083
Switch ruby_docker image with distribution_ci_tools one
The image was renamed in https://gitlab.com/gitlab-org/gitlab-omnibus-builder/-/merge_requests/303

Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2023-09-07 11:29:35 +05:30
Evan Read d37c0fafb9 Refresh Vale rules and link checking Docker image 2023-08-18 14:29:58 +10:00
Balasankar 'Balu' C 1c9a748fbe Merge branch 'vp/make-tests-manual' into 'master'
Running required tests and making the others manual

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7061

Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Andrew Patterson <apatterson@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Reviewed-by: Vishal Patel <vpatel@gitlab.com>
Co-authored-by: vishal.s.patel <vpatel@gitlab.com>
2023-08-08 10:28:36 +00:00
Vishal Patel 91a0f2b442 Running required tests and making the others manual 2023-08-08 10:28:36 +00:00
Balasankar 'Balu' C b54fa4faf8 Update CI jobs to use the new runners
- Changes tags used to identify runners to allow migration
  to the new fleet.

Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2023-08-08 02:48:35 +00:00
Balasankar 'Balu' C 8c89ade8fa Support SELinux in Amazon Linux 2023
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2023-07-29 00:36:49 +00:00
DJ Mountney a658b95190
Ensure security sources flag is passed to triggers
Otherwise triggered builds won't pull from the right place
2023-07-21 08:11:40 -07:00
DJ Mountney 49f0f9f213
Fix where the build-on-all wasn't passing TOP_UPSTREAM variables
Updates the build-package-on-all-os-vars to extend from our base trigger
vars
2023-07-19 10:35:17 -07:00
Robert Marshall 6fedaf3140 Allow DEPS_PIPELINE pipeline types on triggers
- We need to allow the DEPS_PIPELINE variable to trigger dependency
  pipelines on trigger sources in support of the container registry
  version bump trigger pipeline.

Signed-off-by: Robert Marshall <rmarshall@gitlab.com>
2023-07-06 15:50:38 +00:00
Balasankar "Balu" C 0702eb4db3
Make AWS AMI builder fetch package from artifact instead of S3 bucket
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2023-06-29 11:24:20 +05:30
Evan Read 64f27f6f0a Bump version of markdownlint-cli2 in project 2023-06-21 15:38:19 +10:00