Skip to content

2026-1-2 Updates#15

Open
ryanmerolle wants to merge 24 commits into
opsmill:mainfrom
ryanmerolle:Ryan-patch
Open

2026-1-2 Updates#15
ryanmerolle wants to merge 24 commits into
opsmill:mainfrom
ryanmerolle:Ryan-patch

Conversation

@ryanmerolle

@ryanmerolle ryanmerolle commented Jan 2, 2026

Copy link
Copy Markdown
  • Bump dependencies & add https to `pyproject.toml
  • Apply end of file fixer & quote linting (quotes)
  • Update copier command in README.md
  • Linting & format of tasks.py
  • Use INFRAHUB_IMAGE_VER env var in docker compose for tasks.py
  • Add yaml language server to infrahub config file
  • Apply listing to Jinja2
  • Add check definitions
  • Add templates to transforms
  • Expand templating to include all .infrahubctl.yaml settings

@ryanmerolle ryanmerolle changed the title Ryan patch 2026-1-2 Updates Jan 2, 2026
Comment thread {% if checks %}checks{% endif %} copy/.gitkeep Outdated
Comment thread .infrahub.yml Outdated
Comment thread tasks.py Outdated
Comment thread .infrahub.yml.jinja
---
# https://docs.infrahub.app/reference/dotinfrahub
schemas: # Schema definitions to load (files or directories)
- schemas

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It appears we generate an schemas/example.yml file. We should update this to include the path to this example.

Suggested change
- schemas
- "schemas/example.yml"

Comment thread .infrahub.yml.jinja

{% if objects %}
objects: # Object definitions to load (files or directories)
- objects

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- objects
- "objects/<file>.yml"

Comment thread infrahubctl.toml.jinja
@@ -0,0 +1,5 @@
server_address="{{ infrahub_server_url }}"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see this rendered and not sure if there is an option/question for this? Maybe just add this to the README.md? I'd rather than enforce this via the config file by default.

Comment thread tasks.py
if version:
compose_url = f"{compose_url}/{version}"
if emma:
compose_url = f"{compose_url}-emma"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the correct format?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants