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

Appimage v1.10.0 rc3 #6492

Merged
merged 10 commits into from
Jun 22, 2021
Merged

Appimage v1.10.0 rc3 #6492

merged 10 commits into from
Jun 22, 2021

Conversation

coryschwartz
Copy link

This back-ports the appimage build to v1.10.0

Same AppImageBuilder.yaml as what is found on the master branch. The difference is the way static file embeds work.

On the master branch we ended up swapping to go 1.16 to use static file embeds. v1.10.0 doesn't have go 1.16 yet, so I'm using go rice embed.

This comment states the problem: #6208 (comment)

There will be a massive go file generated for the embedded files. You can get rid of it using make clean. In the future this isn't a problem; hopefully it isn't too much of an issue for people on this branch.

a circleci test run without the version and tag filter is here. Looks like it builds successfully.

https://app.circleci.com/pipelines/github/filecoin-project/lotus/15011/workflows/62210486-95f4-48ff-a0ab-92b65d1c4b52/jobs/172819

@jennijuju
Copy link
Member

jennijuju commented Jun 15, 2021

Thanks @coryschwartz! however, it has conflict and lint is unhappy

@coryschwartz coryschwartz changed the base branch from master to release/v1.10.0 June 15, 2021 21:22
@coryschwartz
Copy link
Author

Thanks @coryschwartz! however, it has conflict and lint is unhappy

This should only be merged to v1.10, not master, that's why there were conflicts. I changed the base to resolve the conflicts.

Looks like the linter used up too much memory!

@jennijuju jennijuju requested review from jennijuju and removed request for jennijuju June 15, 2021 22:36
@coryschwartz
Copy link
Author

Edited so go-rice only uses go-embed mode when building the appimage.

Just a reminder, that this is implemented differently on master. On master, the embeds use the embed feature of go 1.16.

Base automatically changed from release/v1.10.0 to master June 21, 2021 15:19
@arajasek arajasek changed the base branch from master to release/v1.10.0 June 21, 2021 22:45
@arajasek arajasek merged commit 9e4875f into release/v1.10.0 Jun 22, 2021
@arajasek arajasek deleted the appimage-v1.10.0-rc3 branch June 22, 2021 19:51
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.

4 participants