Skip to content

Merge stable into develop #382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,10 @@ jobs:
secrets: inherit
with:
version: ${{ github.ref_name }}

repository-dispatch:
needs: check_release
uses: ./.github/workflows/repository-dispatch.yml
secrets: inherit
with:
version: ${{ needs.check_release.outputs.version }}
53 changes: 53 additions & 0 deletions .github/workflows/repository-dispatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
# yamllint disable rule:truthy rule:line-length
name: Trigger Infrahub SDK update in other repositories

on:
workflow_dispatch:
inputs:
runs-on:
description: "The OS to run the job on"
required: false
default: "ubuntu-22.04"
type: string
version:
type: string
required: false
description: The string to extract semver from.
default: ''
workflow_call:
inputs:
runs-on:
description: "The OS to run the job on"
required: false
default: "ubuntu-22.04"
type: string
version:
type: string
required: false
description: The string to extract semver from.
default: ''

jobs:
repository-dispatch:
runs-on: ubuntu-22.04
strategy:
matrix:
# Either a literal path, or the name of a secret...
repo:
- "opsmill/infrahub-demo-dc-fabric"
- "INFRAHUB_CUSTOMER1_REPOSITORY"

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.GH_UPDATE_PACKAGE_OTTO }}
# if matrix.repo contains a slash, use it literally; otherwise look up the secret named by matrix.repo
repository: ${{ contains(matrix.repo, '/') && matrix.repo || secrets[matrix.repo] }}
event-type: trigger-infrahub-sdk-python-update
client-payload: |
{"version":"${{ inputs.version }}"}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang

<!-- towncrier release notes start -->

## [1.11.1](https://github.com/opsmill/infrahub-sdk-python/tree/v1.11.1) - 2025-04-28

### Changed

- Set the HFID on related nodes for cardinality many relationships, and add HFID support to the RelationshipManager `add`, `extend` and `remove` methods.

## [1.11.0](https://github.com/opsmill/infrahub-sdk-python/tree/v1.11.0) - 2025-04-17

### Deprecated
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "infrahub-sdk"
version = "1.11.0"
version = "1.11.1"
description = "Python Client to interact with Infrahub"
authors = ["OpsMill <info@opsmill.com>"]
readme = "README.md"
Expand Down