Skip to content

Keep versioned GitHub releases#1575

Merged
simonbaird merged 4 commits into
conforma:mainfrom
simonbaird:keep-github-releases
May 1, 2024
Merged

Keep versioned GitHub releases#1575
simonbaird merged 4 commits into
conforma:mainfrom
simonbaird:keep-github-releases

Conversation

@simonbaird

Copy link
Copy Markdown
Member

The idea is to make it easier for someone to use a known version of EC for the sake of stability.

Ref: EC-602

@codecov

codecov Bot commented Apr 30, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.39%. Comparing base (7913d4e) to head (915295d).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1575      +/-   ##
==========================================
+ Coverage   80.70%   87.39%   +6.69%     
==========================================
  Files          65       76      +11     
  Lines        4794     5134     +340     
==========================================
+ Hits         3869     4487     +618     
+ Misses        925      647     -278     
Flag Coverage Δ
acceptance 73.07% <ø> (?)
generative 80.70% <ø> (ø)
integration 80.70% <ø> (ø)
unit 80.70% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 43 files with indirect coverage changes

@simonbaird simonbaird force-pushed the keep-github-releases branch from 87aacaf to 7dd9a70 Compare April 30, 2024 19:47
@simonbaird

Copy link
Copy Markdown
Member Author

I'll probably merge once it goes green.

@simonbaird simonbaird force-pushed the keep-github-releases branch from 7dd9a70 to 118ce9d Compare April 30, 2024 19:53
@simonbaird

Copy link
Copy Markdown
Member Author

Looks like the acceptance failure is a timeout (maybe) related to docker.io/wiremock, and the EC failure is due to a known issue, maybe fixed by .

@simonbaird

Copy link
Copy Markdown
Member Author

Hold up, I found this: suite.go:532: updating local metadata and targets: error updating to TUF remote mirror: tuf: failed to decode root.json: expired at 2024-04-30 19:59:40 +0000 UTC

So maybe we have a expiration date to bump.

@simonbaird simonbaird marked this pull request as draft April 30, 2024 21:44
simonbaird added 4 commits May 1, 2024 10:23
This makes debugging a little easier because you can see what the
output value is when looking at the workflow logs in GitHub.

Ref: https://issues.redhat.com/browse/EC-602
This text is visible in at
https://github.com/enterprise-contract/ec-cli/releases and I think
it looks better with a period at the end.

(We might set a release description for the versioned releases in
future, but for now we're keeping it simple.)

Ref: https://issues.redhat.com/browse/EC-602
See relevant docs at
https://github.com/softprops/action-gh-release?tab=readme-ov-file#-customizing

It's necessary to remove the "prerelease" option since a prerelease
build can't be designated as the latest.

(I was hoping to prevent the rolling release from being pushed down
the page every time a new release is created, but it looks like
that's still happening. It seems reasonable to designate the rolling
release as the latest, so let's keep this change anyhow.)

Ref: https://issues.redhat.com/browse/EC-602
@simonbaird simonbaird force-pushed the keep-github-releases branch from 6c62da2 to 915295d Compare May 1, 2024 14:25
@simonbaird

Copy link
Copy Markdown
Member Author

Rebased on the tuf root/signed image refresh in #1576 which should get the tests passing.

@simonbaird simonbaird marked this pull request as ready for review May 1, 2024 14:25
@simonbaird

Copy link
Copy Markdown
Member Author

Acceptance test failed, not sure why. Re-running.

@simonbaird

Copy link
Copy Markdown
Member Author

Konflux EC check failure is a known issue. Everything else is green. Let's merge.

@simonbaird simonbaird merged commit 003ad7f into conforma:main May 1, 2024
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