Skip to content

Commit

Permalink
Merge branch 'develop' into 16749-update-workflow-to-function-with-ma…
Browse files Browse the repository at this point in the history
…jor-slack-version-roll
  • Loading branch information
PavelSBorisov authored Dec 4, 2024
2 parents 72bd4ff + 65b085a commit f2d746b
Show file tree
Hide file tree
Showing 81 changed files with 2,122 additions and 584 deletions.
19 changes: 11 additions & 8 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
##### Example apps ######
#########################
# Platform-Base Example app
/example-apps/**/module-info.java @hashgraph/platform-base @hashgraph/devops-ci
/example-apps/**/module-info.java @hashgraph/platform-base
/example-apps/swirlds-platform-base-example/ @hashgraph/platform-base


Expand All @@ -25,7 +25,6 @@

# Hedera Node Root Protections
/hedera-node/ @hashgraph/hedera-services
/hedera-node/README.md @hashgraph/hedera-services @hashgraph/devops-ci @hashgraph/release-engineering-managers

# Hedera Node Deployments - Configuration & Grafana Dashboards
/hedera-node/configuration/** @rbair23 @dalvizu @poulok @netopyr @Nana-EC @SimiHunjan @steven-sheehy @nathanklick
Expand All @@ -48,7 +47,6 @@
/hedera-node/hedera-util*/ @hashgraph/hedera-services
/hedera-node/hedera-staking*/ @hashgraph/hedera-services
/hedera-node/test-clients/ @hashgraph/hedera-services @hashgraph/hedera-smart-contracts-core
/hedera-node/**/module-info.java @hashgraph/hedera-services @hashgraph/devops-ci

###############################
##### Hedera Cryptography #####
Expand All @@ -61,7 +59,7 @@

# Platform SDK Root Protections
/platform-sdk/ @hashgraph/platform-hashgraph @hashgraph/platform-data @hashgraph/platform-base @hashgraph/platform-architects
/platform-sdk/README.md @hashgraph/platform-hashgraph @hashgraph/devops-ci @hashgraph/release-engineering-managers
/platform-sdk/README.md @hashgraph/platform-hashgraph

# Platform SDK Modules
/platform-sdk/platform-apps/ @hashgraph/platform-hashgraph
Expand All @@ -81,7 +79,12 @@
/platform-sdk/swirlds-unit-tests/core/ @hashgraph/platform-hashgraph @hashgraph/platform-base
/platform-sdk/swirlds-unit-tests/structures/ @hashgraph/platform-data @hashgraph/platform-architects @hashgraph/platform-base
/platform-sdk/swirlds-virtualmap/ @hashgraph/platform-data @hashgraph/platform-architects
/platform-sdk/**/module-info.java @hashgraph/platform-hashgraph @hashgraph/platform-base @hashgraph/devops-ci @hashgraph/release-engineering-managers
/platform-sdk/**/module-info.java @hashgraph/platform-hashgraph @hashgraph/platform-base

####################
##### HAPI ######
####################
/hapi/ @hashgraph/platform-hashgraph @hashgraph/platform-base @hashgraph/platform-architects @hashgraph/hedera-services @hashgraph/hedera-smart-contracts-core

# Documentation
/platform-sdk/docs/platformWiki.md @hashgraph/platform-hashgraph @hashgraph/platform-data @hashgraph/platform-base
Expand Down Expand Up @@ -120,15 +123,15 @@ gradlew.bat @hashgraph/devops-ci @hashgr
/CODEOWNERS @hashgraph/release-engineering-managers

# Protect the repository root files
/README.md @hashgraph/devops-ci @hashgraph/release-engineering-managers
/README.md @hashgraph/devops-ci @hashgraph/release-engineering-managers @hashgraph/platform-base @hashgraph/hedera-services @hashgraph/platform-hashgraph
**/LICENSE @hashgraph/release-engineering-managers

# CodeCov configuration
**/codecov.yml @hashgraph/devops-ci @hashgraph/release-engineering-managers

# Git Ignore definitions
**/.gitignore @hashgraph/devops-ci @hashgraph/release-engineering-managers
**/.gitignore.* @hashgraph/devops-ci @hashgraph/release-engineering-managers
**/.gitignore @hashgraph/devops-ci @hashgraph/release-engineering-managers @hashgraph/platform-base @hashgraph/hedera-services @hashgraph/platform-hashgraph
**/.gitignore.* @hashgraph/devops-ci @hashgraph/release-engineering-managers @hashgraph/platform-base @hashgraph/hedera-services @hashgraph/platform-hashgraph

# Legacy CircleCI configuration
.circleci.settings.xml @hashgraph/devops-ci @hashgraph/release-engineering-managers
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flow-node-performance-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
service_account: "hedera-artifact-builds@devops-1-254919.iam.gserviceaccount.com"

- name: Setup Google Cloud SDK
uses: google-github-actions/setup-gcloud@98ddc00a17442e89a24bbf282954a3b65ce6d200 # v2.1.0
uses: google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2

- name: Verify Workflow Parameters
id: parameters
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/node-zxc-build-release-artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ jobs:
service_account: "hedera-artifact-builds@devops-1-254919.iam.gserviceaccount.com"

- name: Setup Google Cloud SDK
uses: google-github-actions/setup-gcloud@98ddc00a17442e89a24bbf282954a3b65ce6d200 # v2.1.0
uses: google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2
if: ${{ inputs.dry-run-enabled != true && !cancelled() && !failure() }}

- name: Setup Java
Expand Down Expand Up @@ -453,23 +453,23 @@ jobs:
cp -rvf ~/artifact-build/* hedera-node/infrastructure/docker/containers/local-node/main-network-node/sdk/
- name: Build Haveged Image
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0
with:
push: true
platforms: linux/amd64,linux/arm64
context: hedera-node/infrastructure/docker/containers/local-node/network-node-haveged
tags: ${{ steps.set-registry.outputs.docker-tag-base }}/network-node-haveged:${{ needs.validate.outputs.version }}

- name: Build Base Image
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0
with:
push: true
platforms: linux/amd64,linux/arm64
context: hedera-node/infrastructure/docker/containers/local-node/network-node-base
tags: ${{ steps.set-registry.outputs.docker-tag-base }}/network-node-base:${{ needs.validate.outputs.version }}

- name: Build Network Node Image
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0
with:
push: true
platforms: linux/amd64,linux/arm64
Expand Down Expand Up @@ -575,7 +575,7 @@ jobs:
service_account: "swirlds-automation@hedera-registry.iam.gserviceaccount.com"

- name: Setup JFrog CLI
uses: jfrog/setup-jfrog-cli@18e785fb220d332edbf01964f853ff0fcaa22220 # v4.4.2
uses: jfrog/setup-jfrog-cli@e7cc33a01bc1b1df406bac8a1c4a409a34bdca0a # v4.4.3
env:
JF_URL: ${{ secrets.jf-url }}
JF_ACCESS_TOKEN: ${{ secrets.jf-access-token }}
Expand Down Expand Up @@ -710,7 +710,7 @@ jobs:
service_account: "artifact-deployer@swirlds-registry.iam.gserviceaccount.com"

- name: Setup Google Cloud SDK
uses: google-github-actions/setup-gcloud@98ddc00a17442e89a24bbf282954a3b65ce6d200 # v2.1.0
uses: google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2
if: ${{ inputs.dry-run-enabled != true && !cancelled() && !failure() }}

- name: Setup Java
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/node-zxc-compile-application-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ jobs:
) &&
!cancelled()
}}
run: ${CG_EXEC} snyk test --all-sub-projects --severity-threshold=high --policy-path=.snyk --json-file-output=snyk-test.json
run: ${CG_EXEC} snyk test --all-sub-projects --severity-threshold=high --policy-path=.snyk --json-file-output=snyk-test.json --org=hedera-services

- name: Snyk Code
id: snyk-code
Expand All @@ -617,7 +617,7 @@ jobs:
) &&
!cancelled()
}}
run: ${CG_EXEC} snyk code test --severity-threshold=high --json-file-output=snyk-code.json
run: ${CG_EXEC} snyk code test --severity-threshold=high --json-file-output=snyk-code.json --org=hedera-services

- name: Publish Snyk Results
if: >-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/node-zxc-deploy-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
service_account: "hedera-artifact-builds@devops-1-254919.iam.gserviceaccount.com"

- name: Setup Google Cloud SDK
uses: google-github-actions/setup-gcloud@98ddc00a17442e89a24bbf282954a3b65ce6d200 # v2.1.0
uses: google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2
if: ${{ inputs.dry-run-enabled != true && !cancelled() && !failure() }}

- name: Validate Release Artifact Exist
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zxc-jrs-regression.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ jobs:
service_account: 'swirlds-automation@swirlds-regression.iam.gserviceaccount.com'

- name: Setup Google Cloud SDK
uses: google-github-actions/setup-gcloud@98ddc00a17442e89a24bbf282954a3b65ce6d200 # v2.1.0
uses: google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2
with:
install_components: 'alpha'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/zxc-publish-production-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
service_account: "swirlds-automation@hedera-registry.iam.gserviceaccount.com"

- name: Setup JFrog CLI
uses: jfrog/setup-jfrog-cli@18e785fb220d332edbf01964f853ff0fcaa22220 # v4.4.2
uses: jfrog/setup-jfrog-cli@e7cc33a01bc1b1df406bac8a1c4a409a34bdca0a # v4.4.3
if: ${{ inputs.dry-run-enabled != true && inputs.registry-name == 'jfrog' && !cancelled() && !failure() }}
env:
JF_URL: ${{ secrets.jf-url }}
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
cp -rvf ~/artifact-build/* hedera-node/infrastructure/docker/containers/production-next/consensus-node/sdk/
- name: Build Consensus Node Image
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0
env:
SOURCE_DATE_EPOCH: ${{ steps.commit.outputs.source-date }}
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/zxc-verify-docker-build-determinism.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
service_account: "swirlds-automation@hedera-registry.iam.gserviceaccount.com"

- name: Setup Google Cloud SDK
uses: google-github-actions/setup-gcloud@98ddc00a17442e89a24bbf282954a3b65ce6d200 # v2.1.0
uses: google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2

- name: Retrieve Commit Hash
id: commit
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
printf "VERSION=%s\nCOMMIT=%s\nDATE=%s" "$(./gradlew -q showVersion)" "$(git log -1 --format='%H' | cut -c1-8)" "$(date -u)" | tee "${{ github.workspace }}/${{ env.DOCKER_CONTEXT_PATH }}/sdk/VERSION"
- name: Build Docker Image
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0
env:
SOURCE_DATE_EPOCH: ${{ steps.commit.outputs.source-date }}
if: ${{ steps.baseline.outputs.exists == 'false' && !failure() && !cancelled() }}
Expand Down Expand Up @@ -346,7 +346,7 @@ jobs:
service_account: "swirlds-automation@hedera-registry.iam.gserviceaccount.com"

- name: Setup Google Cloud SDK
uses: google-github-actions/setup-gcloud@98ddc00a17442e89a24bbf282954a3b65ce6d200 # v2.1.0
uses: google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2
env:
CLOUDSDK_PYTHON: ${{ format('{0}{1}', env.pythonLocation, runner.os == 'Windows' && '\python.exe' || '/bin/python3') }}

Expand Down Expand Up @@ -444,7 +444,7 @@ jobs:
run: docker info

- name: Build Docker Image
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0
env:
SOURCE_DATE_EPOCH: ${{ needs.generate-baseline.outputs.source-date }}
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/zxc-verify-gradle-build-determinism.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
service_account: "swirlds-automation@hedera-registry.iam.gserviceaccount.com"

- name: Setup Google Cloud SDK
uses: google-github-actions/setup-gcloud@98ddc00a17442e89a24bbf282954a3b65ce6d200 # v2.1.0
uses: google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2

- name: Retrieve Commit Hash
id: commit
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
service_account: "swirlds-automation@hedera-registry.iam.gserviceaccount.com"

- name: Setup Google Cloud SDK
uses: google-github-actions/setup-gcloud@98ddc00a17442e89a24bbf282954a3b65ce6d200 # v2.1.0
uses: google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2
env:
CLOUDSDK_PYTHON: ${{ format('{0}{1}', env.pythonLocation, runner.os == 'Windows' && '\python.exe' || '/bin/python3') }}

Expand Down
18 changes: 18 additions & 0 deletions hapi/hedera-protobufs/block/block_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,18 @@ enum PublishStreamResponseCode {
* block stream data.
*/
STREAM_ITEMS_BEHIND = 5;

/**
* The block node had an internal error and cannot continue processing.<br/>
* The publisher may retry again later.
*/
STREAM_ITEMS_INTERNAL_ERROR = 6;

/**
* The requested stream is not available.<br/>
* The publisher may retry again later.
*/
STREAM_ITEMS_NOT_AVAILABLE = 7;
}

/**
Expand Down Expand Up @@ -656,6 +668,12 @@ enum SubscribeStreamResponseCode {
* `end_block_number` field to a valid end block.
*/
READ_STREAM_INVALID_END_BLOCK_NUMBER = 4;

/**
* The requested stream is not available.<br/>
* The client MAY retry again later.
*/
READ_STREAM_NOT_AVAILABLE = 5;
}

/**
Expand Down
3 changes: 3 additions & 0 deletions hedera-node/configuration/dev/node-admin-keys.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"0": "0aa8e21064c61eab86e2a9c164565b4e7a9a4146106e0a6cd03a8c395a110e92"
}
Loading

0 comments on commit f2d746b

Please sign in to comment.