Skip to content

Remove direct pkg/model dependency and consolidate CI#20

Open
JeroenSoeters wants to merge 2 commits into
mainfrom
fix/remove-model-dependency
Open

Remove direct pkg/model dependency and consolidate CI#20
JeroenSoeters wants to merge 2 commits into
mainfrom
fix/remove-model-dependency

Conversation

@JeroenSoeters

Copy link
Copy Markdown
Contributor

Summary

  • Remove dead code that was the only direct consumer of pkg/model:
    • Remove deprecated FromTarget from config.go
    • Delete unused pkg/descriptors package (loader, generated Go types, PKL files — ~700 lines)
  • Add proper LabelConfig with $.DisplayName as default query and $.Name overrides for Identity, ContainerEngine::Cluster/NodePool, and ObjectStorage resources
  • pkg/model is now an indirect dependency
  • Consolidate CI: merge build/lint/pkl-validate/verify-schema into single checks job
  • Add test-integration job to CI and nightly workflows (OCI credentials still TODO)
  • Add notify-fixed job to nightly
  • Add -timeout 30m to Makefile test-integration target

Remove dead code that was the only direct consumer of pkg/model:
- Remove deprecated FromTarget from config.go
- Delete unused pkg/descriptors package (loader, gen, pkl)
- Add proper LabelConfig with DisplayName/Name queries

pkg/model is now an indirect dependency.
Merge build/lint/pkl-validate/verify-schema into single checks job.
Add test-integration job to CI and nightly workflows.
Add notify-fixed job to nightly. Add -timeout 30m to Makefile.

@browdues browdues left a comment

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.

One easy fix - can we return workflow dispatch

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