upload artifact of wasm binary #571

Merged
Plume_migration_agent merged 1 commits from wasm-artifact into master 5 years ago
Owner

fix #570

fix #570
igalic (Migrated from github.com) reviewed 5 years ago
igalic (Migrated from github.com) left a comment

👀

👀
@ -218,1 +218,4 @@
destination: plume.tar.gz
- store_artifacts:
path: wasm.tar.gz
destination: wasm.tar.gz
igalic (Migrated from github.com) commented 5 years ago

and as such, I'd just call it static.tar.gz

(should this have a version number)

and as such, I'd just call it static.tar.gz (should this have a version number)
@ -4,2 +4,3 @@
strip -s bin/*
tar -cvzf plume.tar.gz bin/ static/ migrations/$FEATURES
tar -cvzf plume.tar.gz bin/ static/
tar -cvzf wasm.tar.gz static/plume-front.{js,wasm}
igalic (Migrated from github.com) commented 5 years ago

this one should be with migrations/$FEATURES, and without static/

this one should be with `migrations/$FEATURES`, and without `static/`
@ -4,2 +4,3 @@
strip -s bin/*
tar -cvzf plume.tar.gz bin/ static/ migrations/$FEATURES
tar -cvzf plume.tar.gz bin/ static/
tar -cvzf wasm.tar.gz static/plume-front.{js,wasm}
igalic (Migrated from github.com) commented 5 years ago

This one, should contain all of static/ — it's entirely architecture independent!

This one, should contain all of `static/` — it's entirely architecture independent!
trinity-1686a reviewed 5 years ago
@ -4,2 +4,3 @@
strip -s bin/*
tar -cvzf plume.tar.gz bin/ static/ migrations/$FEATURES
tar -cvzf plume.tar.gz bin/ static/
tar -cvzf wasm.tar.gz static/plume-front.{js,wasm}
Poster
Owner

migrations don't require to be shipped as they are integrated into plm, and I think it should be with static/ so that for x86_64 users, there is only a single archive to download, un-tgz, and run

migrations don't require to be shipped as they are integrated into `plm`, and I think it should be with `static/` so that for x86_64 users, there is only a single archive to download, un-tgz, and run
codecov[bot] commented 5 years ago (Migrated from github.com)

Codecov Report

Merging #571 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #571   +/-   ##
=======================================
  Coverage   35.06%   35.06%           
=======================================
  Files          67       67           
  Lines        7851     7851           
  Branches     1886     1886           
=======================================
  Hits         2753     2753           
  Misses       4336     4336           
  Partials      762      762
# [Codecov](https://codecov.io/gh/Plume-org/Plume/pull/571?src=pr&el=h1) Report > Merging [#571](https://codecov.io/gh/Plume-org/Plume/pull/571?src=pr&el=desc) into [master](https://codecov.io/gh/Plume-org/Plume/commit/33619abdfbe1845f56d283265bae2e3e68ad0485?src=pr&el=desc) will **not change** coverage. > The diff coverage is `n/a`. ```diff @@ Coverage Diff @@ ## master #571 +/- ## ======================================= Coverage 35.06% 35.06% ======================================= Files 67 67 Lines 7851 7851 Branches 1886 1886 ======================================= Hits 2753 2753 Misses 4336 4336 Partials 762 762 ```
trinity-1686a reviewed 5 years ago
@ -4,2 +4,3 @@
strip -s bin/*
tar -cvzf plume.tar.gz bin/ static/ migrations/$FEATURES
tar -cvzf plume.tar.gz bin/ static/
tar -cvzf wasm.tar.gz static/plume-front.{js,wasm}
Poster
Owner

I expected it to be an alternative step to all cargo web things in here, in which case it doesn't require the whole static/ dir as it is git cloned. What were your expectations?

I expected it to be an alternative step to all `cargo web` things in [here](https://docs.joinplu.me/installation/with/source-code), in which case it doesn't require the whole `static/` dir as it is `git clone`d. What were your expectations?
igalic (Migrated from github.com) reviewed 5 years ago
@ -4,2 +4,3 @@
strip -s bin/*
tar -cvzf plume.tar.gz bin/ static/ migrations/$FEATURES
tar -cvzf plume.tar.gz bin/ static/
tar -cvzf wasm.tar.gz static/plume-front.{js,wasm}
igalic (Migrated from github.com) commented 5 years ago

you are right.

you are right.
igalic (Migrated from github.com) approved these changes 5 years ago
igalic (Migrated from github.com) left a comment

i thought about this, and come to the conclusion, that you're right
👍

i thought about this, and come to the conclusion, that you're right 👍

Reviewers

The pull request has been merged as 90f6ef0380.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b wasm-artifact master
git pull origin wasm-artifact

Step 2:

Merge the changes and update on Forgejo.
git checkout master
git merge --no-ff wasm-artifact
git push origin master
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Plume/Plume#571
Loading…
There is no content yet.