View Issue Details

IDProjectCategoryView StatusLast Update
0006728Talerdeployment and operationspublic2021-03-03 20:12
ReporterFlorian Dold Assigned ToFlorian Dold  
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Versiongit (master) 
Target Version0.9 
Summary0006728: set up wallet CI pipeline for WebExtension build
DescriptionThe Mozilla reviewers consistently had some issues building the wallet.

To make it easier to show how to reproduce the build, we should set up a (gitlab.com) CI pipeline where a Docker container builds the WebExtension .zip
TagsNo tags attached.

Activities

sebasjm

2021-01-31 00:02

developer   ~0017472

I managed to configure the gitlab repository to publish the webextension, you can check and download from here
https://gitlab.com/sebasjm/wallet-core/-/packages/1078595

I when further and made some changes into the project to publish the npm packages, check here
https://gitlab.com/sebasjm/wallet-core/-/packages
In order to do that, all the packages.json needs to have a scope. It should be @gnu-taler but I used @sebasjm for this repo. 
More information here:
https://docs.gitlab.com/ee/user/packages/npm_registry/#authenticate-to-the-package-registry

sebasjm

2021-02-01 22:01

developer   ~0017486

I've pushed all the changes, into wallet-core main branch.
I have been testing with dev/sebasjm/ci-npm-publish so I expect everything to work smoothly.

Right now packages are in gitlab free repository, to access them a setup is needed.
```
npm config set @gnu-taler:registry https://gitlab.com/api/v4/packages/npm/
```
and then
```
npx @gnu-taler/taler-wallet-cli
```
should work.


I we want to publish the npm packages into npm registry we should create an account, create an api token and make the proper changes into the CI.

Issue History

Date Modified Username Field Change
2021-01-30 11:30 Florian Dold New Issue
2021-01-30 23:55 Christian Grothoff Severity minor => feature
2021-01-31 00:02 sebasjm Note Added: 0017472
2021-02-01 22:01 sebasjm Note Added: 0017486
2021-02-03 23:39 Christian Grothoff Assigned To => sebasjm
2021-02-03 23:39 Christian Grothoff Status new => assigned
2021-02-03 23:39 Christian Grothoff Category other => deployment and operations
2021-02-03 23:39 Christian Grothoff Product Version => git (master)
2021-02-03 23:39 Christian Grothoff Target Version => 0.9
2021-03-03 20:12 sebasjm Assigned To sebasjm => Florian Dold
2021-03-03 20:12 sebasjm Status assigned => resolved
2021-03-03 20:12 sebasjm Resolution open => fixed