Skip to content

Commit

Permalink
Update Java Gen to use new Java Version file (#1509)
Browse files Browse the repository at this point in the history
  • Loading branch information
guineveresaenger authored Dec 12, 2023
1 parent 2123cc9 commit 45e6204
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion .ci-mgmt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ plugins:
version: "0.0.1"
team: ecosystem
goBuildParallelism: 2
javaGenVersion: "v0.9.8"
runner:
prerequisites: pulumi-ubuntu-8core
buildSdk: pulumi-ubuntu-8core
Expand Down
1 change: 1 addition & 0 deletions .pulumi-java-gen.version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.9.8
1 change: 0 additions & 1 deletion .upgrade-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ upstream-provider-name: terraform-provider-azurerm
pulumi-infer-version: true
remove-plugins: true
pr-reviewers: iwahbe # Team: pulumi/Providers
javaVersion: "v0.9.8"
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ TFGEN := pulumi-tfgen-$(PACK)
PROVIDER := pulumi-resource-$(PACK)
VERSION := $(shell pulumictl get version)
JAVA_GEN := pulumi-java-gen
JAVA_GEN_VERSION := v0.9.8
TESTPARALLELISM := 10
WORKING_DIR := $(shell pwd)
PULUMI_PROVIDER_BUILD_PARALLELISM ?= -p 2
Expand Down Expand Up @@ -137,8 +136,8 @@ upstream.finalize:
upstream.rebase:
scripts/upstream.sh "$@" start_rebase

bin/pulumi-java-gen:
pulumictl download-binary -n pulumi-language-java -v $(JAVA_GEN_VERSION) -r pulumi/pulumi-java
bin/pulumi-java-gen: .pulumi-java-gen.version
pulumictl download-binary -n pulumi-language-java -v v$(shell cat .pulumi-java-gen.version) -r pulumi/pulumi-java

# To make an immediately observable change to .ci-mgmt.yaml:
#
Expand Down

0 comments on commit 45e6204

Please sign in to comment.