Skip to content
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

Setup logging #616

Closed
wants to merge 55 commits into from
Closed

Setup logging #616

wants to merge 55 commits into from

Conversation

sttts
Copy link
Contributor

@sttts sttts commented Sep 6, 2024

Pick of #614.

ezgidemirel and others added 30 commits August 15, 2024 11:43
Fix "xpkg dep" with function dependencies
Signed-off-by: Philippe Scorsolini <[email protected]>
The configuration command is no longer useful and has been stubbed out for a few
releases. Time to remove it entirely.

Signed-off-by: Adam Wolfe Gordon <[email protected]>
Bring private fork up to date with public fork
* fix(xpkg): func xpkg dep for functions

Signed-off-by: Christopher Haar <[email protected]>

* fix(xpkg): func xpkg dep for functions

Signed-off-by: Christopher Haar <[email protected]>

* feat(bump): update native list because of new resource-kinds after bump k8 versions

Signed-off-by: Christopher Haar <[email protected]>

* feat(xpkg): dep tests adoption

Signed-off-by: Christopher Haar <[email protected]>

* fix(xpkg): func xpkg dep for functions

Signed-off-by: Christopher Haar <[email protected]>

---------

Signed-off-by: Christopher Haar <[email protected]>
extend run to include creating a kind cluster and installing uxp (with wait)
add some better error handling to ensure repeated commands are more idempotent
…-with

[devex] Initial `up local start` and `up local stop` subcommands
* feat(xrd): add option to generate xrd from xr or claim

Signed-off-by: Christopher Haar <[email protected]>

* style(json): use k8s YamlToJson instead of own function and switch printer

Signed-off-by: Christopher Haar <[email protected]>

---------

Signed-off-by: Christopher Haar <[email protected]>
Make cli-review-team the default codeowner
haarchri and others added 25 commits August 30, 2024 23:31
- Starting from Spaces v1.17.0, we would like to remove the
  mxp-authz-webhook Chart.

Signed-off-by: Alper Rifat Ulucinar <[email protected]>
fix(configuration): add isCRD as linter for Configurations for cache hit
Happy 2024!

Signed-off-by: Adam Wolfe Gordon <[email protected]>
The Project type holds the metadata and configuration for an Upbound development
project, which can be built by `up build` into a Crossplane configuration.

Signed-off-by: Adam Wolfe Gordon <[email protected]>
The new `up project build` command builds an Upbound project into a Crossplane
package. For now we support only configuration projects, and don't support
embedded functions.
Our development artifacts going forward are projects, which get compiled into
Crossplane packages (configurations, functions, or providers). Rename `up
configuration init` to `up project init` and update it to work on projects
instead of configurations.

Toward upbound#27

Signed-off-by: Adam Wolfe Gordon <[email protected]>
project: Rename `configuration init` to `project init`
When given a directory, go:embed excludes files starting with `.`. We
intentionally include some dotfiles in our build test, so we want those
included. Append `/**` to the embed pattern to capture the dotfiles.

Signed-off-by: Adam Wolfe Gordon <[email protected]>
`up project build` is intended to ignore any YAML files that don't contain an
XRD or composition. We do this by parsing the YAML to get its `apiVersion` and
`kind` and collect only the relevant files into an in-memory filesystem that we
hand off to the package parser (which will choke if it encounters an unexpected
type).

Previously, we were parsing the YAMLs as `unstructured.Unstructured`; this
throws an error if the `kind` field isn't found, defeating the purpose of our
pre-parsing. This wasn't caught by the tests due to the bug fixed in the
previous commit.

Parse into a `TypeMeta` instead, since it holds all the fields we care about
anyway and doesn't care if `kind` is missing. While we're here, add validation
in the tests to ensure we have the right number of resources in the
package (i.e., didn't ignore ones we should include).

Signed-off-by: Adam Wolfe Gordon <[email protected]>
project: Correctly ignore non-KRM YAML files in build
feat(bump): bump actions/upload-artifacts to v4
Signed-off-by: Dr. Stefan Schimanski <[email protected]>
Signed-off-by: Dr. Stefan Schimanski <[email protected]>
@sttts sttts closed this Sep 6, 2024
@sttts sttts deleted the sttts-logging-2 branch September 6, 2024 12:23
@sttts sttts restored the sttts-logging-2 branch September 6, 2024 12:25
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.