Open danielrbradley opened 1 week ago
This seems to only be a problem in CI. I get a lot more detailed logs when running the same command locally:
../upgrade-provider/bin/upgrade-provider --kind=all pulumi/pulumi-pagerduty --target-version 3.17.2
--- Set Up Environment ---
- GOWORK=off
- PULUMI_MISSING_DOCS_ERROR=true
- PULUMI_EXTRA_MAPPING_ERROR=true
--- done ---
--- Discover Provider ---
- Ensure Upstream Repo
- Expected Location: /Users/vvm/code/pulumi-pagerduty
- GetCwd: /Users/vvm/code/pulumi-pagerduty
- Repo Exists
- Stat
- Validate Repository
- git: /usr/bin/git status --short
- Pull Default Branch
- git: /usr/bin/git ls-remote --heads origin
- Find default Branch: master
- git: /usr/bin/git fetch
- git: /usr/bin/git checkout master
- git: /usr/bin/git pull origin
- Get Repo Kind
- /Users/vvm/code/pulumi-pagerduty/provider/go.mod: 13912 bytes read
- Stat
- Stat
- Get UpstreamOrg from module version
- Plan Provider Upgrade: 3.17.0 -> 3.17.2
- Get Expected Target
- From Issues
- gh: /opt/homebrew/bin/gh issue list --state=open --author=pulumi-bot --repo=pulumi/pulumi-pagerduty --limit=100 --json=title,number
- Set Upstream From Patched
- git: /usr/bin/git ls-tree master upstream --object-only
- git: /usr/bin/git submodule init
- git: /usr/bin/git config --get submodule.upstream.url
- git: /usr/bin/git ls-remote --tags https://github.com/PagerDuty/terraform-provider-pagerduty.git
--- done ---
--- Plan Upgrade ---
- Planning Bridge Upgrade: Up to date at v3.95.0
- git refs of
- git: /usr/bin/git ls-remote --tags https://github.com/pulumi/pulumi-terraform-bridge.git
- Check if we should release a maintenance patch: Last provider release date: 2024-11-07T19:57:01Z
- gh: /opt/homebrew/bin/gh repo view pulumi/pulumi-pagerduty --json=latestRelease
--- done ---
--- Planning Java Gen Version Update ---
- Fetching latest Java Gen
- Latest Release Version: of pulumi/pulumi-java: 0.17.0
- gh: /opt/homebrew/bin/gh repo view pulumi/pulumi-java --json=latestRelease
- Stat
- .pulumi-java-gen.version: 6 bytes read
- Up to date at: 0.17.0
--- done ---
--- Setup working branch ---
- Working Branch Name: upgrade-terraform-provider-pagerduty-to-v3.17.2
- GetEnv: CI=
- Ensure Branch
- git: /usr/bin/git branch
- already exists: true
- git: /usr/bin/git checkout upgrade-terraform-provider-pagerduty-to-v3.17.2
- Has Remote Branch: yes "Upgrade terraform-provider-pagerduty to v3.17.2"
- gh: /opt/homebrew/bin/gh pr list --json=title,headRefName
--- done ---
---- Update Repository ----
- Update TF Provider
- update patched provider
- ✓ /usr/bin/git submodule update --force --init: done
- ✓ /usr/bin/git fetch --tags: done
- ✓ /usr/bin/git reset HEAD --hard: done
- ✓ /usr/bin/git checkout tags/v3.17.2: done
- ✓ /usr/bin/git add upstream: done
- ✓ /usr/bin/make upstream: done
--- shim ---
- git refs of
- git: /usr/bin/git ls-remote --tags https://github.com/PagerDuty/terraform-provider-pagerduty
--- done ---
- ✓ Lookup Tag SHA: e664d695232ed385e0907cf1e2693c01fb54dd38
--- Tfgen & Build SDKs ---
- go: /opt/homebrew/bin/go mod tidy
- go: /opt/homebrew/bin/go mod tidy
- go: /opt/homebrew/bin/go mod tidy
- pulumi: /opt/homebrew/bin/pulumi plugin rm --all --yes
- make: /usr/bin/make tfgen
- git: /usr/bin/git add --all
- git commit: make tfgen: nothing to commit
- git: /usr/bin/git status --porcelain=1
- make: /usr/bin/make build_sdks
- git: /usr/bin/git add --all
- git commit: make build_sdks: nothing to commit
- git: /usr/bin/git status --porcelain=1
- Inform Github
- git: /usr/bin/git push --set-upstream origin upgrade-terraform-provider-pagerduty-to-v3.17.2 --force
- gh: /opt/homebrew/bin/gh pr edit upgrade-terraform-provider-pagerduty-to-v3.17.2 --title Upgrade terraform-provider-pagerduty to v3.17.2 --body This PR was generated via `$ upgrade-provider --kind=all pulumi/pulumi-pagerduty --target-version 3.17.2`.
---
- Upgrading terraform-provider-pagerduty from 3.17.0 to 3.17.2.
Fixes #663
Fixes #656
- Assign Issues
- gh: /opt/homebrew/bin/gh issue edit 663 --add-assignee @me
- gh: /opt/homebrew/bin/gh issue edit 656 --add-assignee @me
--- done ---
versus https://github.com/pulumi/pulumi-pagerduty/actions/runs/11771378736/job/32785208483
Run upgrade-provider "pulumi/pulumi-pagerduty" --kind="all" --target-version="3.17.1"
---- Update Repository ----
- Update TF Provider
- update patched provider
/usr/bin/git submodule update --force --init: done
/usr/bin/git fetch --tags: done
/usr/bin/git reset HEAD --hard: done
./upstream.sh checkout: done
./upstream.sh rebase -o refs/tags/v3.17.1: done
./upstream.sh check_in: done
Lookup Tag SHA: 7b98b31d6a71ba8c18aa4[23](https://github.com/pulumi/pulumi-pagerduty/actions/runs/11771378736/job/32785208483#step:8:24)83d06abedc1905601
It would be helpful for debugging when something does not happen as expected in CI (or locally) to be able to see each command that was executed, and possibly see its output.
Given this tool is structured around command execution, it would be good to leverage that for visibility of progress and intermediate results.