You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Concept Release (1.0) with versioned images & able out of the box to run demo (#339)
* Update rocket chat
We got our own rocket chat channel! Please join us at
Signed-off-by: bur <[email protected]>
* fix environment
Signed-off-by: lengyijun <[email protected]>
* fix README.md
Signed-off-by: lengyijun <[email protected]>
* Bump acorn from 6.4.0 to 6.4.1 in /demo/client/frontend
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](acornjs/acorn@6.4.0...6.4.1)
Signed-off-by: dependabot[bot] <[email protected]>
* Bump node deps
Update node deps in demo frontend/backend and docker utils
Signed-off-by: bur <[email protected]>
* update CODEOWNERS (#263)
* update list
Signed-off-by: Michael Steiner <[email protected]>
* fixup! update list
Signed-off-by: Michael Steiner <[email protected]>
* disclaimer and explicit list of "official" releases
Signed-off-by: Michael Steiner <[email protected]>
* make avatar download a bit more robust and graceful
Signed-off-by: Michael Steiner <[email protected]>
* Docker dev run mounts FPC from local fs
This mounts the local FPC repository by default into a dev container
when `make run` is called. Before this was optional but turned out that
it should be the default.
Signed-off-by: bur <[email protected]>
* Fix build for concept-release
- move both dev and peer to build from local HEAD commit
- (try to) minimize re-build of images
- add missing dependencies to dev container
Signed-off-by: michael steiner <[email protected]>
* Version docker images
Signed-off-by: michael steiner <[email protected]>
* Make FABRIC_VERSION arg/env in dockerfile consistent with vars used to get docker tag
Signed-off-by: michael steiner <[email protected]>
* More robust and precise handling of docker image cleanup
Signed-off-by: michael steiner <[email protected]>
* A more robust teardown
Signed-off-by: Michael Steiner <[email protected]>
* Make missing device error more explicit and make SGX_MODE=SIM default for build
- note this is already done for a number of scripts and makes it more fail-safe
from usage-perspective (though not from security :-). Also note that cmake still
has a HW default but that will be removed and referring to the config.mk default
in a separate PR)
Signed-off-by: michael steiner <[email protected]>
* Fix path so we can call make also via `make -C utils/docker run`
Signed-off-by: michael steiner <[email protected]>
* Make rm failure abort make (Note rm -f does _not_ file if the files do not exist ..)
Signed-off-by: michael steiner <[email protected]>
* Make docker-based tests run also inside dev(elopment) container
* make sure host network is also available inside
* for volume mounts, make sure the source path maps to a path
understood by docker daemon
Signed-off-by: michael steiner <[email protected]>
* Build/Test only via dev container and not also directly on host
Signed-off-by: michael steiner <[email protected]>
Co-authored-by: bur <[email protected]>
Co-authored-by: lyj <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
+17-5Lines changed: 17 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,16 @@ The system consists of the following components:
97
97
ledger enclave, which crosschecks the decision before it finally commits
98
98
the transaction to the ledger.
99
99
100
+
## Releases
101
+
102
+
-[Concept Release - March 2, 2020](https://github.com/hyperledger-labs/fabric-private-chaincode/tree/concept-release-1.0)
103
+
104
+
*WARNING: This project is in continous development and the `master`
105
+
branch will not always be stable. Unless you want to actively
106
+
contribute to the project itself, we advice you to use one of above releases*
107
+
108
+
109
+
100
110
## Getting started
101
111
102
112
The following steps guide you through the build phase and configuration, for
@@ -197,7 +207,6 @@ A few notes:
197
207
`/dev/isgx` and your PSW daemon listens to `/var/run/aesmd`, then the docker image will be sgx-enabled and your settings from `./config/ias` will be used. You will have to manually set `SGX_MODE=HW` before building anything to use HW mode.
198
208
* if you want additional apt packages in your container image, add to the `<absolute-project-path>/fabric-private-chaincode/config.override.mk` file in the fabric-private-chaincode directory. In that file, define `DOCKER_DEV_IMAGE_APT_ADD__PKGS` with a
199
209
list of packages you want. They will then be automatically added to the docker image
200
-
* docker images do not persist between runs and there are setup files that will be needed in the docker container. Therefore, map the local cloned filesystem as a volume to `/project/src/github.com/hyperledger-labs/fabric-private-chaincode` within the docker container. To achieve this, add `DOCKER_DEV_RUN_OPTS= -v <absolute-project-path>/fabric-private-chaincode:/project/src/github.com/hyperledger-labs/fabric-private-chaincode` to your `<absolute-project-path>/fabric-private-chaincode/config.override.mk`, where <absolute-project-path> is where you have cloned the FPC project on your local machine.
201
210
* due to the way the peer's port for chaincode connection is managed,
202
211
you will be able to run only a single FPC development container on a
203
212
particular host.
@@ -214,6 +223,9 @@ This will open a shell inside the FPC development container, with
214
223
environment variables like GOPATH appropriately defined and all
215
224
dependencies like fabric built, ready to build and run FPC.
216
225
226
+
Note that by default the dev container mounts your local cloned FPC project as a volume to `/project/src/github.com/hyperledger-labs/fabric-private-chaincode` within the docker container.
227
+
This allows you to edit the content of the repository using your favorite editor in your system and the changes inside the docker container. Additionally, you are also not loosing changes inside the container when you reboot or the container gets stopped for other reasons.
228
+
217
229
Optional: to do a clean build do the following within the container
218
230
```
219
231
<docker-root>:project/src/github.com/hyperledger-labs/fabric-private-chaincode# make clean
@@ -377,7 +389,7 @@ The current code should work behind a proxy assuming
377
389
If you run Ubuntu 18.04, make sure you run docker 18.09 or later. Otherwise you will run into problems with DNS resolution inside the container.
378
390
379
391
You will also require a recent version of docker-compose. In particular, the docker-compose from ubuntu 18.04
380
-
(docker-compose 1.17) is _not_ recent enough to understand `~/.docker/config.js` and related proxy options.
392
+
(docker-compose 1.17) is _not_ recent enough to understand `~/.docker/config.json` and related proxy options.
381
393
To upgrade, install a recent version following the instructions from [docker.com](https://docs.docker.com/compose/install/), e.g.,
382
394
for version 1.25.4 execute
383
395
```
@@ -419,10 +431,10 @@ export SGX_MODE=HW
419
431
# The attestation type is ignored when SGX_MODE=SIM is set.
420
432
421
433
# IAS attestation (unlinkable)
422
-
export FPC_ATTESTATION_TYPE = epid_unlinkable
434
+
export FPC_ATTESTATION_TYPE=epid_unlinkable
423
435
424
436
# IAS attestation (linkable)
425
-
export FPC_ATTESTATION_TYPE = epid_linkable
437
+
export FPC_ATTESTATION_TYPE=epid_linkable
426
438
427
439
```
428
440
##### Clang-format
@@ -474,7 +486,7 @@ By running the following command you can generate the documentation.
474
486
## Getting Help
475
487
476
488
Found a bug? Need help to fix an issue? You have a great idea for a new feature? Talk to us! You can reach us on
477
-
[RocketChat](https://chat.hyperledger.org/) in #private-data-objects.
489
+
[RocketChat](https://chat.hyperledger.org/) in #fabric-private-chaincode.
478
490
479
491
We also have a weekly meeting every Tuesday at 3 pm GMT on [Zoom](https://zoom.us/my/hyperledger.community.3). Please
480
492
see the Hyperledger [community calendar](https://wiki.hyperledger.org/display/HYP/Calendar+of+Public+Meetings) for
0 commit comments