Skip to content

Commit 4b63374

Browse files
authored
Merge branch 'master' into v7-resolve-conflicts
2 parents 4f0030e + e8d3875 commit 4b63374

File tree

6 files changed

+79
-8
lines changed

6 files changed

+79
-8
lines changed

.github/workflows/main-post-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ jobs:
6464
COVERAGE_OUTPUT_DIR: ${{ runner.temp }}/cov
6565
- name: Summarize Provider Coverage Results
6666
run: cat ${{ env.COVERAGE_OUTPUT_DIR }}/shortSummary.txt
67+
env:
68+
COVERAGE_OUTPUT_DIR: ${{ runner.temp }}/cov
6769
- name: Upload coverage data to S3
6870
run: >-
6971
summaryName="${PROVIDER}_summary_$(date +"%Y-%m-%d_%H-%M-%S").json"

.github/workflows/upgrade-java.yml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
2+
3+
name: Upgrade Java
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
version:
8+
description: |
9+
The version of pulumi/pulumi-java to upgrade to, without the 'v' prefix
10+
required: true
11+
type: string
12+
upgradeProviderVersion:
13+
description: |
14+
Version of upgrade-provider to use. This must be a valid git reference in the pulumi/upgrade-provider repo. Defaults to "main"
15+
16+
See https://go.dev/ref/mod#versions for valid versions. E.g. "v0.1.0", "main", "da25dec".
17+
default: main
18+
type: string
19+
20+
permissions:
21+
contents: write
22+
issues: write
23+
pull-requests: write
24+
25+
env:
26+
27+
# upgrade-provider calls into gh CLI tool to open PRs that uses GH_TOKEN env var, which is not obivous.
28+
# setting this correctly makes sure the PR has the correct owner and permissions work as expected.
29+
GH_TOKEN: ${{ secrets.PULUMI_PROVIDER_AUTOMATION_TOKEN || secrets.PULUMI_BOT_TOKEN || secrets.GITHUB_TOKEN }}
30+
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
33+
jobs:
34+
upgrade_java:
35+
name: upgrade-java
36+
runs-on: ubuntu-latest
37+
steps:
38+
39+
- name: Checkout Repo
40+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
41+
with:
42+
# Persist credentials so upgrade-provider can push a new branch.
43+
persist-credentials: true
44+
45+
- name: Setup tools
46+
uses: ./.github/actions/setup-tools
47+
with:
48+
tools: pulumictl, pulumicli, go
49+
50+
- name: Install upgrade-provider
51+
run: go install github.com/pulumi/upgrade-provider@${{ inputs.upgradeProviderVersion || 'main' }}
52+
shell: bash
53+
54+
- name: "Set up git identity"
55+
run: |
56+
git config --global user.name '[email protected]'
57+
git config --global user.email '[email protected]'
58+
shell: bash
59+
60+
- name: Upgrade Java
61+
shell: bash
62+
id: upgrade_provider
63+
env:
64+
V: ${{inputs.version}}
65+
REPO: ${{github.repository}}
66+
GH_TOKEN: ${{env.GH_TOKEN}}
67+
run: |
68+
upgrade-provider "$REPO" --kind=java --java-version="$V"

.pulumi-java-gen.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.13.0
1+
1.16.0

provider/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ replace github.com/hashicorp/terraform-plugin-log => github.com/gdavison/terrafo
3232
replace (
3333
github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20250530111747-935112552988
3434
github.com/hashicorp/terraform-provider-aws => ../upstream
35-
github.com/hashicorp/vault => github.com/hashicorp/vault v1.19.3
35+
github.com/hashicorp/vault => github.com/hashicorp/vault v1.20.0
3636
)
3737

3838
require (

sdk/java/build.gradle

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/nodejs/ecr/lifecyclePolicyDocument.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)