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

GitHub Actions: use correct tag in assets.yml #3529

Merged

Conversation

uncleDecart
Copy link
Member

We pass github.ref which have format refs/tags/%tag%. We can use this format to download GitHub repository and checkout to specific branch, however this format is not applicable to docker pull and rest of the steps. Therefore we set up TAG environment variable in %tag% format which is used in all steps after checking out and is derived from git tag.

We pass github.ref which have format refs/tags/%tag%. We can use this
format to download GitHub repository and checkout to specific branch,
however this format is not applicable to docker pull and rest of the
steps. Therefore we set up TAG environment variable in %tag% format
which is used in all steps after checking out and is derived from
git tag.

Signed-off-by: Pavel Abramov <[email protected]>
Copy link
Contributor

@eriknordmark eriknordmark left a comment

Choose a reason for hiding this comment

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

LGTM.
Am I correct that the 11.0 branch will use the master assets.yml based on
uses: lf-edge/eve/.github/workflows/assets.yml@master
So no backport is needed to 11.0?

@uncleDecart
Copy link
Member Author

Yes, it'll use master version

@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cce7bc3) 20.51% compared to head (048cce0) 20.51%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3529   +/-   ##
=======================================
  Coverage   20.51%   20.51%           
=======================================
  Files         208      208           
  Lines       45381    45381           
=======================================
+ Hits         9309     9310    +1     
  Misses      35389    35389           
+ Partials      683      682    -1     

see 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@eriknordmark eriknordmark merged commit e7be046 into lf-edge:master Oct 26, 2023
20 of 29 checks passed
uncleDecart added a commit to uncleDecart/eve that referenced this pull request Oct 26, 2023
Following lf-edge#3529 this commit fixes publishing step. TAG variable should not
be quoted. We remove tag environment variable and use TAG since it's already
present.

Signed-off-by: Pavel Abramov <[email protected]>
eriknordmark pushed a commit that referenced this pull request Oct 26, 2023
Following #3529 this commit fixes publishing step. TAG variable should not
be quoted. We remove tag environment variable and use TAG since it's already
present.

Signed-off-by: Pavel Abramov <[email protected]>
uncleDecart added a commit to uncleDecart/eve that referenced this pull request Oct 26, 2023
Following lf-edge#3529 this commit fixes publishing step. TAG variable should not
be quoted. We remove tag environment variable and use TAG since it's already
present.

Signed-off-by: Pavel Abramov <[email protected]>
eriknordmark pushed a commit that referenced this pull request Oct 27, 2023
Following #3529 this commit fixes publishing step. TAG variable should not
be quoted. We remove tag environment variable and use TAG since it's already
present.

Signed-off-by: Pavel Abramov <[email protected]>
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.

2 participants