Skip to content

Integrates distroless OCI publishing into drone#22707

Merged
tcsc merged 8 commits intomasterfrom
tcsc/distroless-drone
Mar 8, 2023
Merged

Integrates distroless OCI publishing into drone#22707
tcsc merged 8 commits intomasterfrom
tcsc/distroless-drone

Conversation

@tcsc
Copy link
Copy Markdown
Contributor

@tcsc tcsc commented Mar 7, 2023

Adds new drone pipelines for building and promoting distroless images. The pipelines
themselves invoke workflows on GHA and await their completion.

tcsc added 2 commits March 8, 2023 00:19
Adds new drone pipelines for building and promoting distroless
images. The pipelines themselves invoke workflows on GHA and
await their completion.
@tcsc tcsc requested review from fheinecke, r0mant and wadells March 7, 2023 13:29
Comment thread .drone.yml
Comment thread .drone.yml
@tcsc tcsc changed the title Tcsc/distroless drone Integrates distroless OCI publishing into drone Mar 7, 2023
@tcsc tcsc enabled auto-merge March 8, 2023 00:20
@tcsc tcsc added this pull request to the merge queue Mar 8, 2023
Merged via the queue into master with commit dff5cd4 Mar 8, 2023
camscale pushed a commit that referenced this pull request Apr 19, 2023
Make the GHA pipeline structure generic instead of assuming it only
calls the linux-arm64 workflows.

This backports part of dff5cd4 from
"Integrates distroless OCI publishing into drone (#22707)", but does not
backport the distroless OCI pipelines themselves.
camscale pushed a commit that referenced this pull request Apr 19, 2023
Make the GHA pipeline structure generic instead of assuming it only
calls the linux-arm64 workflows.

This backports part of dff5cd4 from
"Integrates distroless OCI publishing into drone (#22707)", but does not
backport the distroless OCI pipelines themselves.
@r0mant r0mant deleted the tcsc/distroless-drone branch April 19, 2023 15:02
camscale added a commit that referenced this pull request Apr 19, 2023
* [v11] Make GHA pipeline structure more generic

Make the GHA pipeline structure generic instead of assuming it only
calls the linux-arm64 workflows.

This backports part of dff5cd4 from
"Integrates distroless OCI publishing into drone (#22707)", but does not
backport the distroless OCI pipelines themselves.

* [v11] Removes unnecessary workflow arguments for GHA pipelines

Removes unnecessary workflow arguments from the Drone workflow
invocation. Refactors some of the `dronegen` generators to make
this easier to express insife `dronegen`

This backports "Fix OCI promotion (#22867)" without the changes
to the OCI pipelines as they have not been backported to v11.

* [v11] Increase GHA build timeout

Our ARM64 build fails quite frequently due to 30 minutes timeout. This PR increases the build timeout to one hour.

* Run dronegen for timeout params

---------

Co-authored-by: Trent Clarke <trent@goteleport.com>
Co-authored-by: Jakub Nyckowski <jakub.nyckowski@goteleport.com>
camscale added a commit that referenced this pull request Apr 20, 2023
* [v10] Make GHA pipeline structure more generic

Make the GHA pipeline structure generic instead of assuming it only
calls the linux-arm64 workflows.

This backports part of dff5cd4 from
"Integrates distroless OCI publishing into drone (#22707)", but does not
backport the distroless OCI pipelines themselves.

* [v10] Removes unnecessary workflow arguments for GHA pipelines

Removes unnecessary workflow arguments from the Drone workflow
invocation. Refactors some of the `dronegen` generators to make
this easier to express insife `dronegen`

This backports "Fix OCI promotion (#22867)" without the changes
to the OCI pipelines as they have not been backported to v11.

* [v10] Increase GHA build timeout

Our ARM64 build fails quite frequently due to 30 minutes timeout. This PR increases the build timeout to one hour.

* [v10] dronegen: Sort workflow inputs for stable output

Sort the GitHub Actions inputs when generating the `gh-trigger-workflow`
command line so that it does not randomly change order, as happens when
iterating a map directly.

This is a backport of a single commit of #24102 (drone: Switch Mac
(darwin) pipelines to GitHub Actions), as it changes dronegen, but the
pipelines themselves are not being backported to `branch/v10`.

---------

Co-authored-by: Trent Clarke <trent@goteleport.com>
Co-authored-by: Jakub Nyckowski <jakub.nyckowski@goteleport.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants