Skip to content

Backport "Added YUM implementation of OS package build tool" (#14203) into branch/v8#15350

Merged
fheinecke merged 2 commits into
branch/v8from
fred/rfd-0058-YUM-implementation-backport-branch/v8
Aug 13, 2022
Merged

Backport "Added YUM implementation of OS package build tool" (#14203) into branch/v8#15350
fheinecke merged 2 commits into
branch/v8from
fred/rfd-0058-YUM-implementation-backport-branch/v8

Conversation

@fheinecke
Copy link
Copy Markdown
Contributor

Base PR: #14203

Source PR description:

"This PR has several inter-dependent changes:

  • Renamed the "build-apt-repos" to "build-os-package-repos"
  • Rewrote the tool to use subcommands (i.e. from go run . <args> to go run . <apt/yum> <args>)
  • Implemented YUM repo building per rfd/0058-package-distribution.md
  • Added os-specific "*.repo" files for use with dnf config-manager and yum-config-manager
  • Added redirects on APT and YUM buckets from index.html to https://goteleport.com/docs/installation/
  • Refactored dronegen to more easily support adding OS package repos to the promotion pipeline
  • Added YUM repo building to dronegen
  • Added dronegen parallelism support
  • Added dronegen resource limit support

Before this PR is merged I need to run migrations for old Teleport versions to populate the prod bucket with old release artifacts. Additionally much of it's functionality is dependent on https://github.com/gravitational/cloud-terraform/pull/701 being merged first.

This PR is ready for code review but not yet ready for merge."

* Added YUM implementation of OS package build tool

* Addressed PR comments

* Added YUM migrations

* Added curl to YUM dependencies

* Changed pipelines to use golang:1.18.4-bullseye for Go

* Implemented proper repo downloading logic

* Fixed other merge conflicts

* Added artifacts cleanup

* Removed delete on s3 sync

* Added RPM migrations

* v8 migrations

* Partial v8 migration

* Migration remainder

* Reduced requested resources

* Updated resource limits per step

* Added k8s stage resource limits to drone

* Fixed format issue

* Removed resource requests

* Added `depends_on` support to dronegen

* v8.3 migrations

* Fixed parallelism

* Removed migration parallelism

* Fixed RPM base arch lookup

* v6 and v7 YUM migration

* Fixed missing ISA

* Updated repo file path

* Added logging

* Removed vars from repo file

* v8.3 migration first batch

* v8.3 migration second batch

* v9.0 migration

* v9.1 migration

* v9.2 migration

* v9.3 first migration

* v9.3 second migration

* v10.0 migration

* Removed migrations

* Disabled shell linting non-issues

* Fixed linter problem

* More linter fixes
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Aug 9, 2022

@fheinecke - this PR is large and will require admin approval to merge. Consider breaking it up into a series smaller changes.

@fheinecke fheinecke enabled auto-merge (squash) August 13, 2022 15:11
@fheinecke fheinecke merged commit e42cee7 into branch/v8 Aug 13, 2022
@zmb3 zmb3 deleted the fred/rfd-0058-YUM-implementation-backport-branch/v8 branch September 9, 2022 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants