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

Save the penguins; run fewer tests in CI #849

Merged
merged 7 commits into from
Oct 24, 2023

Conversation

carmenbianca
Copy link
Member

The biggest change here is that we will no longer be pushing to the dev tag on Docker.

@carmenbianca
Copy link
Member Author

Maybe we should also stop building 3 Docker images, and just publish a single image. Probably Debian? Not sure.

People can build their own 'extra' image in any case.

@mxmehl
Copy link
Member

mxmehl commented Oct 24, 2023

Maybe we should also stop building 3 Docker images, and just publish a single image. Probably Debian? Not sure.

People can build their own 'extra' image in any case.

OK, I see the point of not creating a Docker image for every dev, especially in all three versions. Let's drop that.

Regarding extra, I'd be fine with dropping it as well, but some people may rely on it. I wonder whether an additional image per release (not commit) makes a huge difference.

Regarding alpine vs. Debian, I strongly suggest to stick with alpine as default and still offer Debian as alternative. If we're speaking about penguins, considering that fsfe/reuse has been downloaded more than 1 million times, the lower traffic makes a larger difference than building one more image per release. Debian on the other hand is also important as it's better in terms of license compliance, and some orgs prefer that.

@carmenbianca
Copy link
Member Author

@mxmehl full ack, let's do that!

README.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Member

@mxmehl mxmehl left a comment

Choose a reason for hiding this comment

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

Thank you!

@carmenbianca
Copy link
Member Author

I had another look at #238. Getting rid of -extra would (still) basically break CircleCI, which is stupid.

I'm going to make the decision to rope openssh-client into the base Alpine image. Being able to git clone is a fairly basic functionality that should be available. The difference in size isn't that big:

$ podman image ls fsfe/reuse
REPOSITORY            TAG            IMAGE ID      CREATED       SIZE
docker.io/fsfe/reuse  latest-debian  439efbe73d17  3 months ago  340 MB
docker.io/fsfe/reuse  latest-extra   ba02bf7cfdbd  3 months ago  114 MB
docker.io/fsfe/reuse  latest         7cc624f34f51  3 months ago  110 MB

(4MB with the latest 2.1 release)

Let's save the planet and assume that if both 3.8 and 3.12 are
supported, all the versions in between will also work.

Signed-off-by: Carmen Bianca BAKKER <carmenbianca@fsfe.org>
Not necessary. We already test against multiple OSes elsewhere.

Signed-off-by: Carmen Bianca BAKKER <carmenbianca@fsfe.org>
Signed-off-by: Carmen Bianca BAKKER <carmenbianca@fsfe.org>
People can build their own, and they shouldn't depend on our main branch
anyway.

Signed-off-by: Carmen Bianca BAKKER <carmenbianca@fsfe.org>
Signed-off-by: Carmen Bianca BAKKER <carmenbianca@fsfe.org>
Signed-off-by: Carmen Bianca BAKKER <carmenbianca@fsfe.org>
Signed-off-by: Carmen Bianca BAKKER <carmenbianca@fsfe.org>
@carmenbianca carmenbianca merged commit 6c3de58 into fsfe:main Oct 24, 2023
13 of 14 checks passed
@mxmehl
Copy link
Member

mxmehl commented Oct 25, 2023

Sounds fair, thank you for taking an "extra" look ;)

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