Skip to content

fix(ci): separate rpm/bin/bin-static/deb packages before publication, rename bin-static#2527

Merged
poiana merged 1 commit intofalcosecurity:masterfrom
LucaGuerra:fix/ci-master-distinguish-static-bin-static
May 3, 2023
Merged

fix(ci): separate rpm/bin/bin-static/deb packages before publication, rename bin-static#2527
poiana merged 1 commit intofalcosecurity:masterfrom
LucaGuerra:fix/ci-master-distinguish-static-bin-static

Conversation

@LucaGuerra
Copy link
Contributor

@LucaGuerra LucaGuerra commented May 3, 2023

What type of PR is this?

/kind bug
/area CI

What this PR does / why we need it:

This fixes a couple things with the publish package pipeline

  • Now different types of packages are extracted to different directories. In the current state, static overwrites bin!
  • The static artifact is renamed before being uploaded to maintain consistency with the artifact names

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

… rename bin-static

Signed-off-by: Luca Guerra <luca@guerra.sh>
with:
name: falco-${{ inputs.version }}-x86_64.rpm
path: /tmp
path: /tmp/falco-rpm
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

according to the documentation ( https://github.com/actions/download-artifact#compatibility-between-v1-and-v2v3 ) the directory should be created if it doesn't exist.

Copy link
Contributor

@FedeDP FedeDP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks!
/approve

@poiana
Copy link
Contributor

poiana commented May 3, 2023

LGTM label has been added.

DetailsGit tree hash: 87448a819d35145407e8c376c9456149947eea0b

@poiana poiana added the approved label May 3, 2023
@FedeDP
Copy link
Contributor

FedeDP commented May 3, 2023

/milestone 0.35.0

@poiana poiana added this to the 0.35.0 milestone May 3, 2023
Copy link
Member

@Andreagit97 Andreagit97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@poiana
Copy link
Contributor

poiana commented May 3, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Andreagit97, FedeDP, LucaGuerra

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit 293d4c5 into falcosecurity:master May 3, 2023
@FedeDP
Copy link
Contributor

FedeDP commented May 3, 2023

Refs #2501

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants