Skip to content

Commit

Permalink
Merge branch 'main' into 3142-fix-configservice-get-type-warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Ibrahim Bello <94493245+belloibrahv@users.noreply.github.com>
  • Loading branch information
belloibrahv authored Jan 27, 2025
2 parents 37d0844 + fe6c0cf commit 97ebbfb
Show file tree
Hide file tree
Showing 109 changed files with 19,313 additions and 7,521 deletions.
10 changes: 5 additions & 5 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@
# NOTE: Must be placed last to ensure enforcement over all other rules

# Protection Rules for Github Configuration Files and Actions Workflows
/.github/ @hashgraph/devops-ci @hashgraph/devops-ci-committers @hashgraph/release-engineering @hashgraph/release-engineering-managers
/.github/workflows/ @hashgraph/devops-ci @hashgraph/devops-ci-committers @hashgraph/release-engineering @hashgraph/release-engineering-managers @hashgraph/hedera-smart-contracts @hashgraph/hedera-smart-contracts-product
/.github/ @hashgraph/platform-ci @hashgraph/platform-ci-committers @hashgraph/release-engineering @hashgraph/release-engineering-managers
/.github/workflows/ @hashgraph/platform-ci @hashgraph/platform-ci-committers @hashgraph/release-engineering-managers @hashgraph/hedera-smart-contracts-managers

# Self-protection for root CODEOWNERS files (this file should not exist and should definitely require approval)
/CODEOWNERS @hashgraph/release-engineering-managers

# Protect the repository root files
/README.md @Nana-EC @hashgraph/release-engineering-managers @hashgraph/devops-ci @hashgraph/hedera-smart-contracts @hashgraph/hedera-smart-contracts-product
/README.md @Nana-EC @hashgraph/release-engineering-managers @hashgraph/platform-ci @hashgraph/hedera-smart-contracts @hashgraph/hedera-smart-contracts-product
**/LICENSE @hashgraph/release-engineering-managers @hashgraph/hedera-smart-contracts-managers

# Git Ignore definitions
**/.gitignore @Nana-EC @hashgraph/release-engineering @hashgraph/release-engineering-managers @hashgraph/devops-ci @hashgraph/hedera-smart-contracts @hashgraph/hedera-smart-contracts-product
**/.gitignore.* @Nana-EC @hashgraph/release-engineering @hashgraph/release-engineering-managers @hashgraph/devops-ci @hashgraph/hedera-smart-contracts @hashgraph/hedera-smart-contracts-product
**/.gitignore @Nana-EC @hashgraph/release-engineering @hashgraph/release-engineering-managers @hashgraph/platform-ci @hashgraph/hedera-smart-contracts @hashgraph/hedera-smart-contracts-product
**/.gitignore.* @Nana-EC @hashgraph/release-engineering @hashgraph/release-engineering-managers @hashgraph/platform-ci @hashgraph/hedera-smart-contracts @hashgraph/hedera-smart-contracts-product
26 changes: 15 additions & 11 deletions .github/workflows/acceptance-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,19 @@ on:
description: 'Codecov upload token'
required: true


env:
OPERATOR_ID_MAIN: ${{ inputs.operator_id }}

jobs:
acceptance-workflow:
runs-on: smart-contracts-linux-large
timeout-minutes: 50
permissions:
contents: read
checks: write
env:
OPERATOR_ID_MAIN: ${{ inputs.operator_id }}
steps:
- name: Set env variables
run: |
if [ -n "${{ inputs.operator_id }}" ]; then
echo "OPERATOR_ID_MAIN=${{ inputs.operator_id }}" >> $GITHUB_ENV
fi
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
Expand Down Expand Up @@ -97,26 +96,31 @@ jobs:
with:
max_attempts: ${{ inputs.maxAttempts }}
timeout_minutes: 30
command: npm run acceptancetest:${{ inputs.testfilter }}
command: |
if [[ -n "$OPERATOR_KEY" ]] && [[ "$OPERATOR_KEY" != "" ]]; then
echo "Overriding OPERATOR_KEY_MAIN with the secret value"
export OPERATOR_KEY_MAIN="$OPERATOR_KEY"
fi
npm run acceptancetest:${{ inputs.testfilter }}
env:
TEST_WS_SERVER: ${{ inputs.test_ws_server }}
SUBSCRIPTIONS_ENABLED: ${{ inputs.test_ws_server }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_NUMBER: ${{ github.event.number }}
GITHUB_REPOSITORY: ${{ github.repository }}
OPERATOR_KEY_MAIN: ${{ secrets.operator_key }}
OPERATOR_KEY: ${{ secrets.operator_key }}

- name: Upload Heap Snapshots
if: ${{ !cancelled() }}
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: Heap Snapshots
path: "**/*.heapsnapshot"
path: '**/*.heapsnapshot'
if-no-files-found: ignore

- name: Upload Test Results
if: always()
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: Test Results (${{ inputs.testfilter }})
path: test-*.xml
Expand Down
19 changes: 13 additions & 6 deletions .github/workflows/release-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
# create a PR to bump main branch to the next snapshot version
echo "CREATE_PR=true" >> $GITHUB_ENV
echo "PR_TITLE=Bump versions for v$NEXT_VERSION_SNAPSHOT" >> $GITHUB_ENV
echo "PR_TITLE=chore(release): Bump versions for v$NEXT_VERSION_SNAPSHOT" >> $GITHUB_ENV
else
git checkout ${RELEASE_BRANCH}
fi
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1
with:
commit_author: ${{ steps.gpg_importer.outputs.name }} <${{ steps.gpg_importer.outputs.email }}>
commit_message: Bump versions for ${{ env.RELEASE_TAG }}
commit_message: 'chore(release): Bump versions for ${{ env.RELEASE_TAG }}'
commit_options: '--no-verify --signoff'
commit_user_name: ${{ steps.gpg_importer.outputs.name }}
commit_user_email: ${{ steps.gpg_importer.outputs.email }}
Expand All @@ -136,7 +136,7 @@ jobs:
env:
NEXT_VERSION_SNAPSHOT: ${{ needs.branch_bump_tag.outputs.next_version_snapshot }}
RELEASE_BRANCH: ${{ needs.branch_bump_tag.outputs.release_branch }}

PR_TITLE: ${{ needs.branch_bump_tag.outputs.pr_title }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
Expand Down Expand Up @@ -183,12 +183,19 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e # v6.0.5
with:
body: ''
body: |
**Description**:
Bump versions for v${{ env.NEXT_VERSION_SNAPSHOT }}
Automated snapshot version bump for the next development cycle.
**Related issue(s)**:
branch: create-pull-request/${{ env.NEXT_VERSION_SNAPSHOT }}
commit-message: Bump versions for v${{ env.NEXT_VERSION_SNAPSHOT }}
commit-message: ${{ env.PR_TITLE }}
committer: ${{ steps.gpg_importer.outputs.name }} <${{ steps.gpg_importer.outputs.email }}>
author: ${{ steps.gpg_importer.outputs.name }} <${{ steps.gpg_importer.outputs.email }}>
delete-branch: true
signoff: true
title: ${{ needs.branch_bump_tag.outputs.pr_title }}
title: ${{ env.PR_TITLE }}
labels: 'process'
assignees: 'swirlds-automation'
token: ${{ secrets.GH_ACCESS_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ jobs:

- name: Upload Heap Snapshots
if: ${{ !cancelled() }}
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: Heap Snapshots
path: "**/*.heapsnapshot"
path: '**/*.heapsnapshot'
if-no-files-found: ignore

- name: Upload coverage report
Expand Down
4 changes: 2 additions & 2 deletions charts/hedera-json-rpc-relay-websocket/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: "0.63.0-SNAPSHOT"
appVersion: "0.65.0-SNAPSHOT"
description: Helm chart deployment of the hashgraph/hedera-json-rpc-relay web socket server
home: https://github.com/hashgraph/hedera-json-rpc-relay
icon: https://camo.githubusercontent.com/cca6b767847bb8ca5c7059481ba13a5fc81c5938/68747470733a2f2f7777772e6865646572612e636f6d2f6c6f676f2d6361706974616c2d686261722d776f72646d61726b2e6a7067
Expand All @@ -22,4 +22,4 @@ name: hedera-json-rpc-relay-websocket
sources:
- https://github.com/hashgraph/hedera-json-rpc-relay
type: application
version: 0.63.0-SNAPSHOT
version: 0.65.0-SNAPSHOT
4 changes: 2 additions & 2 deletions charts/hedera-json-rpc-relay/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: "0.63.0-SNAPSHOT"
appVersion: "0.65.0-SNAPSHOT"
description: Helm chart deployment of the hashgraph/hedera-json-rpc-relay
home: https://github.com/hashgraph/hedera-json-rpc-relay
icon: https://camo.githubusercontent.com/cca6b767847bb8ca5c7059481ba13a5fc81c5938/68747470733a2f2f7777772e6865646572612e636f6d2f6c6f676f2d6361706974616c2d686261722d776f72646d61726b2e6a7067
Expand All @@ -21,4 +21,4 @@ name: hedera-json-rpc-relay
sources:
- https://github.com/hashgraph/hedera-json-rpc-relay
type: application
version: 0.63.0-SNAPSHOT
version: 0.65.0-SNAPSHOT
1 change: 0 additions & 1 deletion charts/hedera-json-rpc-relay/environments/minikube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ config:
rolling_restart:
enabled: true
schedule: "0 0 * * *"

2 changes: 1 addition & 1 deletion charts/hedera-json-rpc-relay/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ stringData:
OPERATOR_ID_MAIN: {{ .Values.config.OPERATOR_ID_MAIN | quote }}
OPERATOR_KEY_MAIN: {{ .Values.config.OPERATOR_KEY_MAIN | quote }}
OPERATOR_ID_ETH_SENDRAWTRANSACTION: {{ .Values.config.OPERATOR_ID_ETH_SENDRAWTRANSACTION | default (printf "%q" "") }}
OPERATOR_KEY_ETH_SENDRAWTRANSACTION: {{ .Values.config.OPERATOR_KEY_ETH_SENDRAWTRANSACTION | default (printf "%q" "") }}
OPERATOR_KEY_ETH_SENDRAWTRANSACTION: {{ .Values.config.OPERATOR_KEY_ETH_SENDRAWTRANSACTION | default (printf "%q" "") }}
4 changes: 2 additions & 2 deletions charts/hedera-json-rpc/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: "0.63.0-SNAPSHOT"
appVersion: "0.65.0-SNAPSHOT"
dependencies:
- alias: relay
condition: relay.enabled
Expand Down Expand Up @@ -31,4 +31,4 @@ name: hedera-json-rpc
sources:
- https://github.com/hashgraph/hedera-json-rpc-relay
type: application
version: 0.63.0-SNAPSHOT
version: 0.65.0-SNAPSHOT
Loading

0 comments on commit 97ebbfb

Please sign in to comment.