Skip to content

Commit

Permalink
Develop (#895)
Browse files Browse the repository at this point in the history
* Bump typescript from 4.5.5 to 4.6.3 in /mrv-sender

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.5 to 4.6.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v4.5.5...v4.6.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump typescript from 4.6.2 to 4.6.3 in /message-broker

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.2 to 4.6.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v4.6.2...v4.6.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* Bump express from 4.17.2 to 4.17.3 in /mrv-sender

Bumps [express](https://github.com/expressjs/express) from 4.17.2 to 4.17.3.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.17.2...4.17.3)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump express from 4.17.2 to 4.17.3 in /api-docs

Bumps [express](https://github.com/expressjs/express) from 4.17.2 to 4.17.3.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.17.2...4.17.3)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump axios from 0.25.0 to 0.26.1 in /mrv-sender

Bumps [axios](https://github.com/axios/axios) from 0.25.0 to 0.26.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](axios/axios@v0.25.0...v0.26.1)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump axios from 0.25.0 to 0.26.1 in /ipfs-client

Bumps [axios](https://github.com/axios/axios) from 0.25.0 to 0.26.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](axios/axios@v0.25.0...v0.26.1)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump sinon from 12.0.1 to 13.0.1 in /api-gateway

Bumps [sinon](https://github.com/sinonjs/sinon) from 12.0.1 to 13.0.1.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](sinonjs/sinon@v12.0.1...v13.0.1)

---
updated-dependencies:
- dependency-name: sinon
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump axios from 0.25.0 to 0.26.1 in /vc-modules

Bumps [axios](https://github.com/axios/axios) from 0.25.0 to 0.26.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](axios/axios@v0.25.0...v0.26.1)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @types/node from 17.0.21 to 17.0.23 in /vc-modules

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.21 to 17.0.23.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update

* GitBook: [#29] Removed Filters in InterfaceDocumentsSourceBlock,Field data in DocumentsSourceAddOn

* fix merge

* fix merge

* fix merge

* GitBook: [#30] Added Bind Group Property in InterfaceDocumentSource

* fix block updates

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix

* fix unit tests

* fix docker build

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix ci

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* GitBook: [#31] Bind Group, User Property, reassigningBlock, Versioning and Demo groups

* Update RELEASE-MANAGEMENT-PLAN.md

* GitBook: [#32] Create Sensor Image missing in Main

* added serivces status UI support

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* fix ws in docker, fix logger status, added reflect metadata to interfaces

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* GitBook: [#33] Added Deprecated to /schemas API

* remove methods

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* update documentation

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* update schemes

* fix datepicker height, disabling accidental closing of dialogs

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* GitBook: [#34] Installation file updated for manual building

* Update README.md

* GitBook: [#36] Adding VC-modules in Installation

* GitBook: [#35] Added Verra Redd Demo

* update create adn import schemes

* added policy user roles information

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* fix action errors with policies and tokens

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* change display policies in tokens

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* update import schema

* fix update blocks

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* Added Troubleshoot section to ReadMe file

* GitBook: [#37] Added Troubleshoot section in Installation file

* fix

* update user

* Bump mathjs from 10.4.0 to 10.4.2 in /ipfs-client

Bumps [mathjs](https://github.com/josdejong/mathjs) from 10.4.0 to 10.4.2.
- [Release notes](https://github.com/josdejong/mathjs/releases)
- [Changelog](https://github.com/josdejong/mathjs/blob/develop/HISTORY.md)
- [Commits](josdejong/mathjs@v10.4.0...v10.4.2)

---
updated-dependencies:
- dependency-name: mathjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix policies column width in tokens

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* change save token to create new token while importing

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* fix export policy file

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* update dynamic topic

* GitBook: [#38] Changing Block names in Policy WorkFlows

* GitBook: [#39] Changing the MRV URL in Step 16 of Demo Usage Guide

* optimaize imports

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* update topic

* GitBook: [#40] Resolving Images in Policy Workflows

* GitBook: [#41] Updating Image URLs for Demo Usage Guide

* Updated BlockType

* GitBook: [#43] Made changes in Policy Workflow

* fix required schema type fields

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* pagination

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* update vp block

* fix policy calculate block

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* update hedera sdk version

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* fix

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix

* fix linting

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix

* rename block in irec policy

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* update status

* GitBook: [#44] DocumentsSourceAddOnBlock to be changed to DocumentsSourceAddOn

* GitBook: [#45] iREC Demo Guide Added

* add topic utils

* config docker

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix

* separate tokens for users

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* remove pagination config

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* add relationships

* fix typos in iRec policy 2

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* update reassigning block
update relationships in vc

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* fix

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* Topic mapping (#715)

* update schemes

* update create adn import schemes

* update import schema

* fix

* update user

* fix policies column width in tokens

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* update dynamic topic

* optimaize imports

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* update topic

* pagination

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* update vp block

* fix

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix

* fix linting

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix

* update status

* add topic utils

* config docker

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix

* separate tokens for users

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* remove pagination config

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* add relationships

* update reassigning block
update relationships in vc

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* fix

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

Co-authored-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>
Co-authored-by: artembuslaev <buslaew.ar@mail.ru>
Co-authored-by: simvalery <valeriy.simonov@envisionblockchain.com>

* GitBook: [#46] Updated iREC Policy timestamp, Resolved Image URLs for Demo using APIs

* fix api for policy roles

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* update api

* fix typos in irec policies

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* update api

* remove SCHEMA_TOPIC_ID

* remove vc-modules section

* update api

* rename documentSourceAddonBlocks in REDD policy

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* GitBook: [#47] Changing the Timestamp of Verra Redd, iREC, new IREC

* update api

* GitBook: [#48] Changes in APIs

* fix

* fix

* fix request block ref

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* GitBook: [#49] Blocks Updation after Topic Implementation

* GitBook: [#50] Changing Timestamp of Verra Redd

* fix swagger.yaml

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* GitBook: [#51] Remove VC-Modules, Updated sendToGuardian Block

* fix policy schema

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix swagger.yaml

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix swagger.yaml

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* Update swagger.yaml

* upgrade version

* temp

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* GitBook: [#52] Minor fixes in iREC Policy

* Revert "upgrade version"

This reverts commit c5f67fb.

* fix package-lock.json

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* add topic owner config

* add topic owner config

* update demo

* fix

* GitBook: [#53] Adding TopicOwner Property to sendToGuardian Block

* fix infinity loading in import dialogs

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* fix policy message

* hedera modules unit tests

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* change response status codes in post policy and schema methods

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* remove comments, fix tests

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* added drag n drop for import policies and schemas

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* added placeholder for root authority input

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* aggregation workflow

* update ui

* api tests

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* GitBook: [#54] Changes in Verra and iREC demo

* add cron config

* update

* fix

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* test fix

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* test fix

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* update

* update tz

* Cumulative Dimension

* update

* fix

* GitBook: [#55] Adding API Workflow for new iREC Demo

* added copy blocks, added states

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* change text align in service status component

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* fix copy paste blocks

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* update timer block

* update

* fix

* GitBook: [#56] Correcting errors of API workflow

* new block

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* refactor

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix ui issues

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix ui issues

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* add switch block

* fix

* fix

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* fix

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* fix lint

Signed-off-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>

* added users to demo admin panel

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* GitBook: [#57] Added External API, Added Sample MRV data

* fix

* fix

* fix

* fix

* feat: replacing fastMQ with Nats MQ

Signed-off-by: Truong Nguyen <samuraitruong@hotmail.com>

* displaying available nested blocks

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* added allowed children to action block

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* fix

* GitBook: [#58] Corrected Block Properties of all Blocks

* GitBook: [#59] Added URLs and Ports in Installation file

* GitBook: [#60] Updated Implementation Diagram

* update README.md

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* update README.md

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* GitBook: [#61] Corrected URLs and Ports

* GitBook: [#62] Updating Prerequisites

* GitBook: [#64] Updated Frameworks/Libraries

* fix view some fields in VC

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* Feature/publish docker images (#868)

publish docker images

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* added env balance variables (#864)

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* fix

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* GitBook: [#63] Updating API Workflow of new IREC Demo

* GitBook: [#65] Updating API Workflow of IREC 2

* GitBook: [#66] Updating the API

* GitBook: [#67] No subject

* Feature/publish docker images (#873)

add frontend image

* fix

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* GitBook: [#69] No subject

* GitBook: [#70] Adding more APIs to iREC 2

* update token creation and importing

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* fixed returns tokens while creation

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* GitBook: [#73] No subject

* GitBook: [#74] Adding Switch Block

* GitBook: [#75] Redoing API Workflow of iREC 2 Demo

* fix merge

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* up version

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: brandisio <andrey@brozhko.org>
Co-authored-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>
Co-authored-by: prernaa.agarwal <prernaa.agarwal@envisionblockchain.com>
Co-authored-by: Stepan Kirjakov <84465157+Stepan-Kirjakov@users.noreply.github.com>
Co-authored-by: AnVaBr <32775532+anvabr@users.noreply.github.com>
Co-authored-by: artembuslaev <buslaew.ar@mail.ru>
Co-authored-by: artembuslaev <68849616+artembuslaev@users.noreply.github.com>
Co-authored-by: prernaadev01 <79293833+prernaadev01@users.noreply.github.com>
Co-authored-by: Truong Nguyen <samuraitruong@hotmail.com>
  • Loading branch information
11 people committed May 18, 2022
1 parent e9e803c commit 0c340b8
Show file tree
Hide file tree
Showing 291 changed files with 24,536 additions and 8,929 deletions.
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# guardian service
OPERATOR_ID="..."
OPERATOR_KEY="..."
SCHEMA_TOPIC_ID="..."

# IPFSS
NFT_API_KEY="..."
114 changes: 54 additions & 60 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,62 +1,56 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/api-docs"
schedule:
interval: weekly
open-pull-requests-limit: 5
target-branch: "develop"
- package-ecosystem: npm
directory: "/api-gateway"
schedule:
interval: weekly
open-pull-requests-limit: 5
target-branch: "develop"
- package-ecosystem: npm
directory: "/frontend"
schedule:
interval: weekly
open-pull-requests-limit: 5
target-branch: "develop"
- package-ecosystem: npm
directory: "/guardian-services"
schedule:
interval: weekly
open-pull-requests-limit: 5
target-branch: "develop"
- package-ecosystem: npm
directory: "/interfaces"
schedule:
interval: weekly
open-pull-requests-limit: 5
target-branch: "develop"
- package-ecosystem: npm
directory: "/ipfs-client"
schedule:
interval: weekly
open-pull-requests-limit: 5
target-branch: "develop"
- package-ecosystem: npm
directory: "/logger-helper"
schedule:
interval: weekly
open-pull-requests-limit: 5
target-branch: "develop"
- package-ecosystem: npm
directory: "/logger-service"
schedule:
interval: weekly
open-pull-requests-limit: 5
target-branch: "develop"
- package-ecosystem: npm
directory: "/message-broker"
schedule:
interval: weekly
open-pull-requests-limit: 5
target-branch: "develop"
- package-ecosystem: npm
directory: "/mrv-sender"
schedule:
interval: weekly
open-pull-requests-limit: 5
target-branch: "develop"
- package-ecosystem: npm
directory: "/api-docs"
schedule:
interval: weekly
open-pull-requests-limit: 5
target-branch: "develop"
- package-ecosystem: npm
directory: "/api-gateway"
schedule:
interval: weekly
open-pull-requests-limit: 5
target-branch: "develop"
- package-ecosystem: npm
directory: "/frontend"
schedule:
interval: weekly
open-pull-requests-limit: 5
target-branch: "develop"
- package-ecosystem: npm
directory: "/guardian-services"
schedule:
interval: weekly
open-pull-requests-limit: 5
target-branch: "develop"
- package-ecosystem: npm
directory: "/interfaces"
schedule:
interval: weekly
open-pull-requests-limit: 5
target-branch: "develop"
- package-ecosystem: npm
directory: "/ipfs-client"
schedule:
interval: weekly
open-pull-requests-limit: 5
target-branch: "develop"
- package-ecosystem: npm
directory: "/logger-helper"
schedule:
interval: weekly
open-pull-requests-limit: 5
target-branch: "develop"
- package-ecosystem: npm
directory: "/logger-service"
schedule:
interval: weekly
open-pull-requests-limit: 5
target-branch: "develop"
- package-ecosystem: npm
directory: "/mrv-sender"
schedule:
interval: weekly
open-pull-requests-limit: 5
target-branch: "develop"
6 changes: 3 additions & 3 deletions .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x ]
mongodb-version: [ 4.4 ]
node-version: [16.x]
mongodb-version: [4.4]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -23,7 +23,7 @@ jobs:
npm install
npm run build
popd
pushd vc-modules
pushd common
npm install
npm run build
popd
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x ]
node-version: [16.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -18,6 +18,10 @@ jobs:
npm install
npm run build
popd
pushd common
npm install
npm run build
popd
pushd logger-helper
npm install
npm run build
Expand All @@ -38,10 +42,6 @@ jobs:
npm install
npm run build
popd
pushd message-broker
npm install
npm run build
popd
pushd api-gateway
npm install
npm run build
Expand Down
101 changes: 101 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
name: Publish Images
on:
release:
types: [published]

jobs:
docker:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v2
- name: get-npm-version

id: package-version
uses: martinbeentjes/npm-get-version-action@main
with:
path: guardian-service

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- id: 'auth'
name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v0'
with:
workload_identity_provider: 'projects/101730247931/locations/global/workloadIdentityPools/hedera-registry-pool/providers/hedera-registry-gh-actions'
service_account: 'guardian-publisher@hedera-registry.iam.gserviceaccount.com'
token_format: 'access_token'

- uses: 'docker/login-action@v1'
with:
registry: 'gcr.io' # or REGION-docker.pkg.dev
username: 'oauth2accesstoken'
password: '${{ steps.auth.outputs.access_token }}'

- name: logger-service
uses: docker/build-push-action@v2
with:
context: .
file: ./logger-service/Dockerfile
push: true
tags: 'gcr.io/hedera-registry/logger-service:${{ steps.package-version.outputs.current-version}} , gcr.io/hedera-registry/logger-service:latest'

- name: auth-service
uses: docker/build-push-action@v2
with:
context: .
file: ./auth-service/Dockerfile
push: true
tags: 'gcr.io/hedera-registry/auth-service:${{ steps.package-version.outputs.current-version}}, gcr.io/hedera-registry/auth-service:latest'

- name: api-gateway
uses: docker/build-push-action@v2
with:
context: .
file: ./api-gateway/Dockerfile
push: true
tags: 'gcr.io/hedera-registry/api-gateway:${{ steps.package-version.outputs.current-version}} , gcr.io/hedera-registry/api-gateway:latest'

- name: guardian-service
uses: docker/build-push-action@v2
with:
context: .
file: ./guardian-service/Dockerfile
push: true
tags: 'gcr.io/hedera-registry/guardian-service:${{ steps.package-version.outputs.current-version}} , gcr.io/hedera-registry/guardian-service:latest'

- name: ipfs-client
uses: docker/build-push-action@v2
with:
context: .
file: ./ipfs-client/Dockerfile
push: true
tags: 'gcr.io/hedera-registry/ipfs-client:${{ steps.package-version.outputs.current-version}} , gcr.io/hedera-registry/ipfs-client:latest'

- name: topic-viewer
uses: docker/build-push-action@v2
with:
context: .
file: ./topic-viewer/Dockerfile
push: true
tags: 'gcr.io/hedera-registry/topic-viewer:${{ steps.package-version.outputs.current-version}} , gcr.io/hedera-registry/topic-viewer:latest'

- name: api-docs
uses: docker/build-push-action@v2
with:
context: .
file: ./api-docs/Dockerfile
push: true
tags: 'gcr.io/hedera-registry/api-docs:${{ steps.package-version.outputs.current-version}} , gcr.io/hedera-registry/api-docs:latest'

- name: web-proxy
uses: docker/build-push-action@v2
with:
context: .
file: ./web-proxy/Dockerfile.ci
push: true
tags: 'gcr.io/hedera-registry/frontend:${{ steps.package-version.outputs.current-version}} , gcr.io/hedera-registry/frontend:latest'
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ logger-service/node_modules/
logger-service/dist/
logger-helper/node_modules/
logger-helper/dist/
message-broker/node_modules/
ui-service/node_modules/
ui-service/dist/
mrv-sender/node_modules/
mrv-sender/dist/
message-broker/dist/
.vscode/
vc/node_modules/
vc/dist/
Expand All @@ -31,3 +29,5 @@ ui-service/.vs/
/guardian-service/config.json
/threads-test/node_modules/
api-docs/dist/
.env
tsconfig.tsbuildinfo
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:16
WORKDIR /app
EXPOSE 3000
EXPOSE 3001
EXPOSE 3002
EXPOSE 3003
EXPOSE 3004
EXPOSE 3005
EXPOSE 3006
EXPOSE 4200
RUN npm install -g nodemon
RUN npm install -g ts-node
CMD ["node", "dev.js"]
Loading

0 comments on commit 0c340b8

Please sign in to comment.