Skip to content

Instantly share code, notes, and snippets.

@olblak
Created April 27, 2024 18:38
Show Gist options
  • Save olblak/324b8fe7bea099cfe9a91bc1d09716d0 to your computer and use it in GitHub Desktop.
Save olblak/324b8fe7bea099cfe9a91bc1d09716d0 to your computer and use it in GitHub Desktop.
updatecli compose diff --file update-compose.yaml
## Show a diff
export UPDATECLI_GITHUB_TOKEN=<insert GitHub PAT>
export UPDATECLI_GITHUB_ACTOR=<insert GitHub handle>
## Show diff
updatecli compose diff --file update-compose.yaml
## Show pipeline
updatecli compose show --file update-compose.yaml
## Apply pipeline
updatecli compose apply --file update-compose.yaml
scms:
default:
owner: pulumiverse
repository: pulumi-talos
branch: main
user: updatecli
email: bot@example.com
policies:
- name: Bump pulumi sdk and pkg to align with https://github.com/pulumi/pulumi-terraform-bridge
policy: ghcr.io/updatecli/policies/pulumi:0.1.0
values:
- updatecli/values.d/talos.yaml
@olblak
Copy link
Author

olblak commented Apr 27, 2024

Example of a pipeline execution

+++++++++++
+ PREPARE +
+++++++++++

Loading Pipeline "updatecli.d/pulumi-pkg.yaml"
WARNING: Updatecli binary version is unset. This means you are using a development version that ignores manifest version constraint.
Loading Pipeline "updatecli.d/pulumi-sdk.yaml"

SCM repository retrieved: 1


++++++++++++++++++
+ AUTO DISCOVERY +
++++++++++++++++++



++++++++++++
+ PIPELINE +
++++++++++++



##############################################
# DEPS: BUMP GITHUB.COM/PULUMI/PULUMI/PKG/V3 #
##############################################


SOURCES
=======

bridge
------
✔ version v3.73.0 found for GO module "github.com/pulumi/pulumi-terraform-bridge/v3"


CHANGELOG:
----------
Changelog retrieved from:
	https://github.com/pulumi/pulumi-terraform-bridge/releases/tag/v3.73.0
## What's Changed

* PF pre configure callback failures by @VenelinMartinov in https://github.com/pulumi/pulumi-terraform-bridge/pull/1654
* Integrate with PlanResourceChange and ApplyResourceChange by @t0yv0 in https://github.com/pulumi/pulumi-terraform-bridge/pull/1614
* [PF] Call `Read` after `ImportState` when importing a resource by @iwahbe in https://github.com/pulumi/pulumi-terraform-bridge/pull/1659
* Elide Hashicorp from docs by @iwahbe in https://github.com/pulumi/pulumi-terraform-bridge/pull/1661
* Get extra nested docs from schema map by @guineveresaenger in https://github.com/pulumi/pulumi-terraform-bridge/pull/1650

### Dependencies

**NOTE**: upgrading to this version requires an update to the replace directive for the terraform-plugin-sdk fork:

replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240129205329-74776a5cd5f9


* Automated Pulumi/Pulumi upgrade by @pulumi-bot in https://github.com/pulumi/pulumi-terraform-bridge/pull/1664


**Full Changelog**: https://github.com/pulumi/pulumi-terraform-bridge/compare/v3.72.0...v3.73.0

pulumi/pkg
----------
✔ version v3.104.2 found for GO module "github.com/pulumi/pulumi/pkg/v3"


CHANGELOG:
----------
Changelog retrieved from:
	https://github.com/pulumi/pulumi/releases/tag/v3.104.2
## 3.104.2 (2024-02-01)


### Bug Fixes

- [backend/diy] Upgrade gocloud.dev and fix an issue with azurekeyvault keys.
  [#15334](https://github.com/pulumi/pulumi/pull/15334)


CONDITIONS:
===========

pulumi/pkg
----------
✔ Module "github.com/pulumi/pulumi/pkg/v3" found


TARGETS
========

pulumi/pkg
----------

**Dry Run enabled**

✔ - go.mod already has Module "github.com/pulumi/pulumi/pkg/v3" set to version "v3.104.2"


#########################
# DEFAULT PIPELINE NAME #
#########################


SOURCES
=======

bridge
------
✔ version v3.73.0 found for GO module "github.com/pulumi/pulumi-terraform-bridge/v3"


CHANGELOG:
----------
Changelog retrieved from:
	https://github.com/pulumi/pulumi-terraform-bridge/releases/tag/v3.73.0
## What's Changed

* PF pre configure callback failures by @VenelinMartinov in https://github.com/pulumi/pulumi-terraform-bridge/pull/1654
* Integrate with PlanResourceChange and ApplyResourceChange by @t0yv0 in https://github.com/pulumi/pulumi-terraform-bridge/pull/1614
* [PF] Call `Read` after `ImportState` when importing a resource by @iwahbe in https://github.com/pulumi/pulumi-terraform-bridge/pull/1659
* Elide Hashicorp from docs by @iwahbe in https://github.com/pulumi/pulumi-terraform-bridge/pull/1661
* Get extra nested docs from schema map by @guineveresaenger in https://github.com/pulumi/pulumi-terraform-bridge/pull/1650

### Dependencies

**NOTE**: upgrading to this version requires an update to the replace directive for the terraform-plugin-sdk fork:

replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240129205329-74776a5cd5f9


* Automated Pulumi/Pulumi upgrade by @pulumi-bot in https://github.com/pulumi/pulumi-terraform-bridge/pull/1664


**Full Changelog**: https://github.com/pulumi/pulumi-terraform-bridge/compare/v3.72.0...v3.73.0

pulumi/sdk
----------
✔ version v3.104.2 found for GO module "github.com/pulumi/pulumi/sdk/v3"


CHANGELOG:
----------
Changelog retrieved from:
	https://github.com/pulumi/pulumi/releases/tag/v3.104.2
## 3.104.2 (2024-02-01)


### Bug Fixes

- [backend/diy] Upgrade gocloud.dev and fix an issue with azurekeyvault keys.
  [#15334](https://github.com/pulumi/pulumi/pull/15334)


CONDITIONS:
===========

pulumi/sdk
----------
ERROR: GO module "github.com/pulumi/pulumi/sdk/v3" not found in "/tmp/updatecli/github/pulumiverse/pulumi-talos/provider/go.mod"
ERROR: module path "github.com/pulumi/pulumi/sdk/v3" not found


TARGETS
========

pulumi/sdk
----------
Conditions [pulumi/sdk] not met. Skipping execution of the target["pulumi/sdk"]


ACTIONS
========


deps: bump github.com/pulumi/pulumi/pkg/v3 - default
----------------------------------------------------

No additional step needed

Default pipeline name - default
-------------------------------

No additional step needed

=============================

REPORTS:



✔ deps: bump github.com/pulumi/pulumi/pkg/v3:
	Source:
		✔ [bridge] 
		✔ [pulumi/pkg] Get github.com/pulumi/pulumi/pkg/v3 version used by github.com/pulumi/pulumi-terraform-bridge/v3 v3.73.0
	Condition:
		✔ [pulumi/pkg] is github.com/pulumi/pulumi/pkg/v3 is defined
	Target:
		✔ [pulumi/pkg] deps: bump github.com/pulumi/pulumi/pkg/v3 to v3.104.2


✔ Default pipeline name:
	Source:
		✔ [bridge] 
		✔ [pulumi/sdk] Get github.com/pulumi/pulumi/sdk/v3 version used by github.com/pulumi/pulumi-terraform-bridge/v3 v3.73.0
	Condition:
		✗ [pulumi/sdk] is github.com/pulumi/pulumi/sdk/v3 defined
	Target:
		- [pulumi/sdk] deps: bump github.com/pulumi/pulumi/sdk/v3 to v3.104.2


Run Summary
===========
Pipeline(s) run:
  * Changed:	0
  * Failed:	0
  * Skipped:	0
  * Succeeded:	2
  * Total:	2

@olblak
Copy link
Author

olblak commented Apr 27, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment