Skip to content

Commit

Permalink
NPM fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TsvetanG authored and yzhivkov committed Sep 11, 2024
1 parent 3710075 commit 30e52c4
Show file tree
Hide file tree
Showing 8 changed files with 241 additions and 15,280 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: Docker

on:
push:
branches:
- main
workflow_dispatch:
tags:
- '*'

jobs:
docker:
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ The properly configured JSON file should be accessible to the console at the fol
You may consult the official HashiCorp Vault documentation for detailed instructions on how to create and configure a HashiCorp Vault secrets engine, user, and respective authentication method and access policy.


You can transition from an operational Fabric Operations Console browser store wallet to the HashiCorp Vault wallet by first performing a bulk export of your existing identities. Be sure to complete this export before activating the HashiCorp Vault wallet in your console. Once the export is finished and the console is set up with the new wallet, you can then bulk import the identities into it. This process will ensure that the imported identities are stored in the new wallet. Similarly, the same method can be applied when moving from the HashiCorp Vault wallet to a local browser store-based wallet.


# Developing Fabric Operations Console
This repository is managed using [Lerna](https://github.com/lerna/lerna).

Expand Down
6 changes: 3 additions & 3 deletions docker/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ docker build \
--build-arg CONSOLE_TAG=${GIT_TAG} \
--pull -f ${SRC_DIR}/console/Dockerfile ${SRC_DIR}/../packages/.

docker tag ${IMAGE_BUILD_NAME} ghcr.io/senofi/fabric-console:latest
docker tag ${IMAGE_BUILD_NAME} ghcr.io/hyperledger-labs/fabric-console:latest
if [[ -n $GIT_TAG ]]; then
echo "Creating tagged image $GIT_TAG:"
docker tag ${IMAGE_BUILD_NAME} ghcr.io/senofi/fabric-console:${GIT_TAG}
echo "Creating tagged image $GIT_TAG:"
docker tag ${IMAGE_BUILD_NAME} ghcr.io/hyperledger-labs/fabric-console:${GIT_TAG}
fi
2 changes: 1 addition & 1 deletion docker/docker-compose-console.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ networks:
services:
fabric-console:
container_name: fabric-console
image: ghcr.io/senofi/fabric-console:latest
image: ghcr.io/hyperledger-labs/fabric-console:latest
ports:
- "3000:3000"
volumes:
Expand Down
6 changes: 3 additions & 3 deletions docker/publish_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ echo "Found tag $GIT_TAG"
# Push the images
echo "Pushing 'latest' image:"
echo ${GITHUB_TOKEN} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
docker push ghcr.io/senofi/fabric-console:latest
docker push ghcr.io/hyperledger-labs/fabric-console:latest

# -n means if GIT_TAG's length is greater than 0
if [[ -n $GIT_TAG ]]; then
echo "Pushing tagged image $GIT_TAG:"
docker push ghcr.io/senofi/fabric-console:${GIT_TAG}
echo "Pushing tagged image $GIT_TAG:"
docker push ghcr.io/hyperledger-labs/fabric-console:${GIT_TAG}
fi
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ remote_theme: pmarsceill/just-the-docs
title: Fabric Operations Console
aux_links:
"Fabric Operations Console":
- "//github.com/senofi/fabric-operations-console"
- "//github.com/hyperledger-labs/fabric-operations-console"

# Back to top link
back_to_top: true
Expand Down
Loading

0 comments on commit 30e52c4

Please sign in to comment.