Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bump release to 0.1.0 #202

Merged
merged 4 commits into from
Jun 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/release-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

env:
OWNER: hashgraph
PACKAGE_NAME: hedera-json-rpc-relay
REGISTRY: ghcr.io

jobs:
Expand Down Expand Up @@ -41,12 +42,15 @@ jobs:
push: true
tags: ${{ env.REGISTRY }}/${{ github.repository }}:${{env.TAG}}

- name: Install packages
run: npm ci

- name: Produce artifact
run: tar -czf hedera-json-rpc-relay.tgz -C ./packages .
run: tar -czf ${{ env.PACKAGE_NAME }}.tgz -C ./packages .

- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: ${{ env.MODULE }}
name: ${{ env.PACKAGE_NAME }}
path: ./*.tgz
if-no-files-found: error
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.7"
services:
relay:
container_name: hedera-jspn-rpc-relay
image: "ghcr.io/hashgraph/hedera-json-rpc-relay:0.1.0-rc1"
image: "ghcr.io/hashgraph/hedera-json-rpc-relay:0.1.0"
restart: "unless-stopped"
ports:
- 7546:7546
Expand Down
4 changes: 2 additions & 2 deletions helm-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ apiVersion: v2
name: hedera-json-rpc-relay
description: Helm chart deployment of the hashgraph/hedera-json-rpc-relay
type: application
version: 0.1.0-rc1
appVersion: "0.1.0-rc1"
version: 0.1.0
appVersion: "0.1.0"
home: https://github.com/hashgraph/hedera-json-rpc-relay
2 changes: 1 addition & 1 deletion helm-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ image:
repository: ghcr.io/hashgraph/hedera-json-rpc-relay
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: 0.1.0-rc1
tag: 0.1.0

imagePullSecrets: []
nameOverride: ""
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
]
},
"scripts": {
"acceptancetest": "ts-mocha ./packages/server/tests/acceptance.spec.ts",
"acceptancetest": "ts-mocha ./packages/server/tests/acceptance.spec.ts --exit",
"build": "npx lerna run build",
"build-and-test": "npx lerna run build && npx lerna run test",
"build:docker": "docker build . -t ${npm_package_name}",
Expand Down
2 changes: 1 addition & 1 deletion packages/relay/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hashgraph/json-rpc-relay",
"version": "0.1.0-rc1",
"version": "0.1.0",
"description": "Hedera Hashgraph implementation of Ethereum JSON RPC APIs. Utilises both the Hedera Consensus Nodes and the Mirror Nodes for transaction management and information retrieval",
"types": "dist/index.d.ts",
"main": "dist/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hashgraph/json-rpc-server",
"version": "0.1.0-rc1",
"version": "0.1.0",
"description": "Hedera Hashgraph Ethereum JSON RPC server. Accepts requests for Ethereum JSON RPC 2.0 APIs",
"main": "dist/index.js",
"keywords": [],
Expand Down Expand Up @@ -39,7 +39,7 @@
"build": "pnpm clean && pnpm compile",
"clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo",
"compile": "tsc -b tsconfig.json",
"acceptancetest": "ts-mocha ./tests/acceptance.spec.ts",
"acceptancetest": "ts-mocha ./tests/acceptance.spec.ts --exit",
"start": "node dist/index.js",
"test": "nyc ts-mocha --recursive ./tests/server.spec.ts"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/server/tests/acceptance.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ describe('RPC Server Integration Tests', async function () {

if (useLocalNode === 'true') {
// set env variables for docker images until local-node is updated
process.env['NETWORK_NODE_IMAGE_TAG'] = '0.26.2-patch.3';
process.env['HAVEGED_IMAGE_TAG'] = '0.25.4';
process.env['MIRROR_IMAGE_TAG'] = '0.57.2';
process.env['NETWORK_NODE_IMAGE_TAG'] = '0.26.2';
process.env['HAVEGED_IMAGE_TAG'] = '0.26.2';
process.env['MIRROR_IMAGE_TAG'] = '0.58.0';
logger.trace(`Docker container versions, services: ${process.env['NETWORK_NODE_IMAGE_TAG']}, mirror: ${process.env['MIRROR_IMAGE_TAG']}`);

// start local-node
Expand Down