-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 16977-block-stream-bucket-uploader-metrics
- Loading branch information
Showing
243 changed files
with
10,476 additions
and
6,833 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -191,11 +191,11 @@ jobs: | |
|
||
- name: Gradle Update Version (As Specified) | ||
if: ${{ inputs.version-policy == 'specified' && !cancelled() && !failure() }} | ||
run: ./gradlew versionAsSpecified -PnewVersion=${{ inputs.new-version }} --scan | ||
run: ./gradlew versionAsSpecified -PnewVersion=${{ inputs.new-version }} | ||
|
||
- name: Gradle Update Version (Branch Commit) | ||
if: ${{ inputs.version-policy != 'specified' && !cancelled() && !failure() }} | ||
run: ./gradlew versionAsPrefixedCommit -PcommitPrefix=${{ steps.parameters.outputs.commit-prefix }} --scan | ||
run: ./gradlew versionAsPrefixedCommit -PcommitPrefix=${{ steps.parameters.outputs.commit-prefix }} | ||
|
||
- name: Compute Final Effective Version | ||
id: effective-version | ||
|
@@ -309,10 +309,10 @@ jobs: | |
|
||
- name: Gradle Assemble | ||
id: gradle-build | ||
run: ./gradlew assemble --scan | ||
run: ./gradlew assemble | ||
|
||
- name: Gradle Version Summary | ||
run: ./gradlew githubVersionSummary --scan | ||
run: ./gradlew githubVersionSummary | ||
|
||
- name: Stage Artifact Build Folder | ||
id: artifact-staging | ||
|
@@ -396,28 +396,28 @@ jobs: | |
uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7 | ||
if: ${{ inputs.dry-run-enabled != true && !cancelled() && !failure() }} | ||
with: | ||
token_format: 'access_token' | ||
token_format: "access_token" | ||
workload_identity_provider: "projects/235822363393/locations/global/workloadIdentityPools/hedera-builds-pool/providers/hedera-builds-gh-actions" | ||
service_account: "[email protected]" | ||
|
||
- name: Set Image Registry | ||
id: set-registry | ||
run: | | ||
DOCKER_REGISTRY="gcr.io" | ||
[[ "${{ inputs.version-policy }}" == "branch-commit" ]] && DOCKER_REGISTRY="us-docker.pkg.dev" | ||
echo "docker-registry=${DOCKER_REGISTRY}" >>"${GITHUB_OUTPUT}" | ||
DOCKER_TAG_BASE="gcr.io/hedera-registry" | ||
if [[ "${{ inputs.version-policy }}" == "branch-commit" && "${{ inputs.dry-run-enabled }}" != true ]]; then | ||
DOCKER_TAG_BASE="us-docker.pkg.dev/swirlds-registry/local-node" | ||
elif [[ "${{ inputs.dry-run-enabled }}" == true ]]; then | ||
DOCKER_TAG_BASE="localhost:5000" | ||
fi | ||
DOCKER_REGISTRY="gcr.io" | ||
[[ "${{ inputs.version-policy }}" == "branch-commit" ]] && DOCKER_REGISTRY="us-docker.pkg.dev" | ||
echo "docker-registry=${DOCKER_REGISTRY}" >>"${GITHUB_OUTPUT}" | ||
DOCKER_TAG_BASE="gcr.io/hedera-registry" | ||
if [[ "${{ inputs.version-policy }}" == "branch-commit" && "${{ inputs.dry-run-enabled }}" != true ]]; then | ||
DOCKER_TAG_BASE="us-docker.pkg.dev/swirlds-registry/local-node" | ||
elif [[ "${{ inputs.dry-run-enabled }}" == true ]]; then | ||
DOCKER_TAG_BASE="localhost:5000" | ||
fi | ||
echo "docker-tag-base=${DOCKER_TAG_BASE}" >>"${GITHUB_OUTPUT}" | ||
echo "docker-tag-base=${DOCKER_TAG_BASE}" >>"${GITHUB_OUTPUT}" | ||
- name: Setup QEmu Support | ||
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0 | ||
uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3.0 | ||
|
||
- name: Setup Docker Buildx Support | ||
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8.0 | ||
|
@@ -474,8 +474,8 @@ jobs: | |
push: true | ||
platforms: linux/amd64,linux/arm64 | ||
build-args: | | ||
IMAGE_TAG=${{ needs.validate.outputs.version }} | ||
IMAGE_PREFIX=${{ steps.set-registry.outputs.docker-tag-base }}/ | ||
IMAGE_TAG=${{ needs.validate.outputs.version }} | ||
IMAGE_PREFIX=${{ steps.set-registry.outputs.docker-tag-base }}/ | ||
context: hedera-node/infrastructure/docker/containers/local-node/main-network-node | ||
tags: ${{ steps.set-registry.outputs.docker-tag-base }}/main-network-node:${{ needs.validate.outputs.version }} | ||
|
||
|
@@ -570,7 +570,7 @@ jobs: | |
id: google-auth | ||
uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7 | ||
with: | ||
token_format: 'access_token' | ||
token_format: "access_token" | ||
workload_identity_provider: "projects/235822363393/locations/global/workloadIdentityPools/hedera-builds-pool/providers/hedera-builds-gh-actions" | ||
service_account: "[email protected]" | ||
|
||
|
@@ -658,7 +658,7 @@ jobs: | |
fi | ||
- name: Upload Manifests | ||
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 | ||
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 | ||
if: ${{ (steps.gcp.outcome == 'success' || steps.jfrog.outcome == 'success') && !cancelled() && always() }} | ||
with: | ||
name: Production Image Manifests | ||
|
@@ -732,10 +732,10 @@ jobs: | |
key: node-build-version-${{ needs.validate.outputs.version }}-${{ github.sha }} | ||
|
||
- name: Gradle Assemble | ||
run: ./gradlew assemble --scan | ||
run: ./gradlew assemble | ||
|
||
- name: Gradle Version Summary | ||
run: ./gradlew githubVersionSummary --scan | ||
run: ./gradlew githubVersionSummary | ||
|
||
- name: Stage SDK Release Archives | ||
working-directory: platform-sdk | ||
|
@@ -814,14 +814,14 @@ jobs: | |
env: | ||
NEXUS_USERNAME: ${{ secrets.sdk-ossrh-username }} | ||
NEXUS_PASSWORD: ${{ secrets.sdk-ossrh-password }} | ||
run: ./gradlew release${{ inputs.release-profile }} -PpublishingPackageGroup=com.swirlds -Ps01SonatypeHost=true -PpublishSigningEnabled=true --scan --no-configuration-cache | ||
run: ./gradlew release${{ inputs.release-profile }} -PpublishingPackageGroup=com.swirlds -Ps01SonatypeHost=true -PpublishSigningEnabled=true --no-configuration-cache | ||
|
||
- name: Gradle Publish Services to ${{ inputs.version-policy == 'specified' && 'Maven Central' || 'Google Artifact Registry' }} (${{ inputs.release-profile }}) | ||
if: ${{ inputs.dry-run-enabled != true && inputs.release-profile != 'none' && !cancelled() && !failure() }} | ||
env: | ||
NEXUS_USERNAME: ${{ secrets.svcs-ossrh-username }} | ||
NEXUS_PASSWORD: ${{ secrets.svcs-ossrh-password }} | ||
run: ./gradlew release${{ inputs.release-profile }} -PpublishingPackageGroup=com.hedera.hashgraph -PpublishSigningEnabled=true --scan --no-configuration-cache | ||
run: ./gradlew release${{ inputs.release-profile }} -PpublishingPackageGroup=com.hedera.hashgraph -PpublishSigningEnabled=true --no-configuration-cache | ||
|
||
- name: Upload SDK Release Archives | ||
if: ${{ inputs.dry-run-enabled != true && inputs.version-policy == 'specified' && !cancelled() && !failure() }} | ||
|
Oops, something went wrong.