Skip to content

make: add release-sources #10295

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

Merged
merged 3 commits into from
Feb 16, 2020
Merged

Conversation

sapk
Copy link
Member

@sapk sapk commented Feb 16, 2020

Release an archive with build context (with vendors for node).

It add a make step release-sources to make release and compress build context to /dist/release which is checksum by release-check and publish by drone s3 plugin.

Fix #10253

@sapk sapk added the topic/distribution This PR changes something about the packaging of Gitea label Feb 16, 2020
@sapk sapk modified the milestones: 1.12.0, 1.11.1 Feb 16, 2020
@lafriks lafriks modified the milestones: 1.11.1, 1.x.x, 1.12.0 Feb 16, 2020
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Feb 16, 2020
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Feb 16, 2020
@zeripath
Copy link
Contributor

@sapk I can't update this branch to merge it.

@sapk sapk added the backport/done All backports for this PR have been created label Feb 16, 2020
@sapk
Copy link
Member Author

sapk commented Feb 16, 2020

This should aslo package pre-build /public folder removing the need for node to build from this archive.

@codecov-io
Copy link

Codecov Report

Merging #10295 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #10295      +/-   ##
==========================================
- Coverage   43.73%   43.71%   -0.03%     
==========================================
  Files         585      585              
  Lines       81017    81017              
==========================================
- Hits        35434    35413      -21     
- Misses      41201    41216      +15     
- Partials     4382     4388       +6
Impacted Files Coverage Δ
modules/indexer/stats/queue.go 62.5% <0%> (-18.75%) ⬇️
modules/indexer/stats/db.go 40.62% <0%> (-18.75%) ⬇️
modules/git/utils.go 65.67% <0%> (-4.48%) ⬇️
modules/process/manager.go 74.69% <0%> (-3.62%) ⬇️
services/pull/patch.go 62.89% <0%> (-3.15%) ⬇️
modules/git/repo.go 46.78% <0%> (-2.3%) ⬇️
services/pull/check.go 36.58% <0%> (-1.83%) ⬇️
modules/log/event.go 64.61% <0%> (-1.03%) ⬇️
models/error.go 30.4% <0%> (-0.55%) ⬇️
models/user.go 49.54% <0%> (ø) ⬆️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3465ada...5c80108. Read the comment docs.

@techknowlogick techknowlogick merged commit 9bada62 into go-gitea:master Feb 16, 2020
@sapk sapk deleted the vendor-distrib branch February 16, 2020 18:13
techknowlogick pushed a commit that referenced this pull request Feb 16, 2020
* make: add release-sources

* make: release-sources exclude .git and make_evidence

* fix: skip exclude MAKE_EVIDENCE_DIR not present in 1.11
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/distribution This PR changes something about the packaging of Gitea
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build setup of 1.11.0, use of npm
7 participants