Skip to content

Commit 1af5f85

Browse files
authored
chore(release): add gcp-kms flag to default release workflow (#10346)
add gcp kms flag to workflow
1 parent 8690fef commit 1af5f85

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ jobs:
159159
run: |
160160
set -eo pipefail
161161
flags=(--target $TARGET --profile $PROFILE --bins
162-
--no-default-features --features aws-kms,cli,asm-keccak)
162+
--no-default-features --features aws-kms,gcp-kms,cli,asm-keccak)
163163
164164
# `jemalloc` is not fully supported on MSVC or aarch64 Linux.
165165
if [[ "$TARGET" != *msvc* && "$TARGET" != "aarch64-unknown-linux-gnu" ]]; then
@@ -293,7 +293,7 @@ jobs:
293293
issue:
294294
name: Open an issue
295295
runs-on: ubuntu-latest
296-
needs: [ prepare, release-docker, release, cleanup ]
296+
needs: [prepare, release-docker, release, cleanup]
297297
if: failure()
298298
steps:
299299
- uses: actions/checkout@v4

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ COPY . .
1919
RUN git update-index --force-write-index
2020

2121
RUN --mount=type=cache,target=/root/.cargo/registry --mount=type=cache,target=/root/.cargo/git --mount=type=cache,target=/opt/foundry/target \
22-
source $HOME/.profile && cargo build --release --features cast/aws-kms,forge/aws-kms \
22+
source $HOME/.profile && cargo build --release --features cast/aws-kms,cast/gcp-kms,forge/aws-kms,forge/gcp-kms \
2323
&& mkdir out \
2424
&& mv target/release/forge out/forge \
2525
&& mv target/release/cast out/cast \

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ CARGO_TARGET_DIR ?= target
1313
# List of features to use when building. Can be overridden via the environment.
1414
# No jemalloc on Windows
1515
ifeq ($(OS),Windows_NT)
16-
FEATURES ?= aws-kms cli asm-keccak
16+
FEATURES ?= aws-kms gcp-kms cli asm-keccak
1717
else
18-
FEATURES ?= jemalloc aws-kms cli asm-keccak
18+
FEATURES ?= jemalloc aws-kms gcp-kms cli asm-keccak
1919
endif
2020

2121
##@ Help
@@ -44,13 +44,13 @@ build-%:
4444

4545
.PHONY: docker-build-push
4646
docker-build-push: docker-build-prepare ## Build and push a cross-arch Docker image tagged with DOCKER_IMAGE_NAME.
47-
FEATURES="jemalloc aws-kms cli asm-keccak" $(MAKE) build-x86_64-unknown-linux-gnu
47+
FEATURES="jemalloc aws-kms gcp-kms cli asm-keccak" $(MAKE) build-x86_64-unknown-linux-gnu
4848
mkdir -p $(BIN_DIR)/amd64
4949
for bin in anvil cast chisel forge; do \
5050
cp $(CARGO_TARGET_DIR)/x86_64-unknown-linux-gnu/$(PROFILE)/$$bin $(BIN_DIR)/amd64/; \
5151
done
5252

53-
FEATURES="aws-kms cli asm-keccak" $(MAKE) build-aarch64-unknown-linux-gnu
53+
FEATURES="aws-kms gcp-kms cli asm-keccak" $(MAKE) build-aarch64-unknown-linux-gnu
5454
mkdir -p $(BIN_DIR)/arm64
5555
for bin in anvil cast chisel forge; do \
5656
cp $(CARGO_TARGET_DIR)/aarch64-unknown-linux-gnu/$(PROFILE)/$$bin $(BIN_DIR)/arm64/; \

crates/forge/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,5 @@ default = ["jemalloc"]
118118
asm-keccak = ["alloy-primitives/asm-keccak"]
119119
jemalloc = ["dep:tikv-jemallocator"]
120120
aws-kms = ["foundry-wallets/aws-kms"]
121+
gcp-kms = ["foundry-wallets/gcp-kms"]
121122
isolate-by-default = ["foundry-config/isolate-by-default"]

0 commit comments

Comments
 (0)