Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Generate centos7 archive when building linux-amd64 #38415

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

camscale
Copy link
Contributor

@camscale camscale commented Feb 20, 2024

When building a linux-amd64 archive, make a copy of it with the
centos7 tag as the linux-amd64 build works on centos7. We stopped
doing a centos7-specific build a while ago, but we still have the
archive on our releases page.

This helps unify the release-amd64 and release-amd64-centos7
targets, which currently do the same thing except for the GitHub Actions
workflow that creates the centos7 archive only for the latter target.
This will allow us to get rid of that target as that latter target will
no longer be called when Drone is removed.

Also add a -p when making RELEASE_DIR as sometimes the parent
directory has not yet been created.

Update e ref.

Companion: https://github.com/gravitational/teleport.e/pull/3500
Issue: #20729
Test-run: https://github.com/gravitational/teleport.e/actions/runs/7970766106
Test-run: https://github.com/gravitational/teleport.e/actions/runs/7971816767

@camscale camscale added the no-changelog Indicates that a PR does not require a changelog entry label Feb 20, 2024
Makefile Outdated Show resolved Hide resolved
@camscale camscale force-pushed the camh/gen-centos7-archive branch from 3c96d06 to d329b94 Compare February 22, 2024 09:41
When building a linux-amd64 archive, make a copy of it with the
`centos7` tag as the linux-amd64 build works on centos7. We stopped
doing a centos7-specific build a while ago, but we still have the
archive on our releases page.

This helps unify the `release-amd64` and `release-amd64-centos7`
targets, which currently do the same thing except for the GitHub Actions
workflow that creates the centos7 archive only for the latter target.
This will allow us to get rid of that target as that latter target will
no longer be called when Drone is removed.

Also add a `-p` when making RELEASE_DIR as sometimes the parent
directory has not yet been created.
* chore: Use golangci-lint version from versions.mk
  * gravitational/teleport.e#3488
* Fix Access Monitoring prebuild query
  * gravitational/teleport.e#3482
* ci: Switch tag build workflows to artifact@v4 GHA action
  * gravitational/teleport.e#3510
* ci: Fix RPM build with release-amd64{,-fips} targets
  * gravitational/teleport.e#3500
@camscale camscale force-pushed the camh/gen-centos7-archive branch from d329b94 to ff04d97 Compare February 22, 2024 22:04
@camscale camscale enabled auto-merge February 22, 2024 22:04
@camscale camscale disabled auto-merge February 22, 2024 22:04
@camscale camscale enabled auto-merge February 22, 2024 22:04
@camscale camscale added this pull request to the merge queue Feb 22, 2024
Merged via the queue into master with commit 972afb3 Feb 22, 2024
36 of 37 checks passed
@camscale camscale deleted the camh/gen-centos7-archive branch February 22, 2024 22:39
@public-teleport-github-review-bot

@camscale See the table below for backport results.

Branch Result
branch/v13 Failed
branch/v14 Failed
branch/v15 Failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants