mirror of
https://github.com/siderolabs/extensions.git
synced 2026-05-04 19:56:38 +02:00
chore: redo dependencies as SVG
Use SVG output instead of PNG. Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
This commit is contained in:
parent
ef73a85d36
commit
ffcd027e34
24
Makefile
24
Makefile
@ -1,6 +1,6 @@
|
||||
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
|
||||
#
|
||||
# Generated on 2025-09-03T12:28:03Z by kres 784fa1f.
|
||||
# Generated on 2025-09-04T16:43:47Z by kres 784fa1f-dirty.
|
||||
|
||||
# common variables
|
||||
|
||||
@ -25,7 +25,7 @@ SOURCE_DATE_EPOCH := $(shell git log $(INITIAL_COMMIT_SHA) --pretty=%ct)
|
||||
|
||||
# sync bldr image with pkgfile
|
||||
|
||||
BLDR_RELEASE := v0.5.2
|
||||
BLDR_RELEASE := v0.5.3
|
||||
BLDR_IMAGE := ghcr.io/siderolabs/bldr:$(BLDR_RELEASE)
|
||||
BLDR := docker run --rm --user $(shell id -u):$(shell id -g) --volume $(PWD):/src --entrypoint=/bldr $(BLDR_IMAGE) --root=/src
|
||||
|
||||
@ -36,16 +36,17 @@ PLATFORM ?= linux/amd64,linux/arm64
|
||||
PROGRESS ?= auto
|
||||
PUSH ?= false
|
||||
CI_ARGS ?=
|
||||
BUILD_ARGS = --build-arg=SOURCE_DATE_EPOCH=$(SOURCE_DATE_EPOCH)
|
||||
BUILD_ARGS += --build-arg=TAG="$(TAG)"
|
||||
BUILD_ARGS += --build-arg=PKGS="$(PKGS)"
|
||||
BUILD_ARGS += --build-arg=PKGS_PREFIX="$(PKGS_PREFIX)"
|
||||
BUILD_ARGS += --build-arg=TOOLS="$(TOOLS)"
|
||||
BUILD_ARGS += --build-arg=TOOLS_PREFIX="$(TOOLS_PREFIX)"
|
||||
COMMON_ARGS = --file=Pkgfile
|
||||
COMMON_ARGS += --provenance=false
|
||||
COMMON_ARGS += --progress=$(PROGRESS)
|
||||
COMMON_ARGS += --platform=$(PLATFORM)
|
||||
COMMON_ARGS += --build-arg=SOURCE_DATE_EPOCH=$(SOURCE_DATE_EPOCH)
|
||||
COMMON_ARGS += --build-arg=TAG="$(TAG)"
|
||||
COMMON_ARGS += --build-arg=PKGS="$(PKGS)"
|
||||
COMMON_ARGS += --build-arg=PKGS_PREFIX="$(PKGS_PREFIX)"
|
||||
COMMON_ARGS += --build-arg=TOOLS="$(TOOLS)"
|
||||
COMMON_ARGS += --build-arg=TOOLS_PREFIX="$(TOOLS_PREFIX)"
|
||||
COMMON_ARGS += $(BUILD_ARGS)
|
||||
|
||||
# extra variables
|
||||
|
||||
@ -214,9 +215,10 @@ $(ARTIFACTS)/bldr: $(ARTIFACTS) ## Downloads bldr binary.
|
||||
@curl -sSL https://github.com/siderolabs/bldr/releases/download/$(BLDR_RELEASE)/bldr-$(OPERATING_SYSTEM)-$(GOARCH) -o $(ARTIFACTS)/bldr
|
||||
@chmod +x $(ARTIFACTS)/bldr
|
||||
|
||||
.PHONY: deps.png
|
||||
deps.png: ## Generates a dependency graph of the Pkgfile.
|
||||
@$(BLDR) graph | dot -Tpng -o deps.png
|
||||
.PHONY: deps.svg
|
||||
deps.svg: ## Generates a dependency graph of the Pkgfile.
|
||||
@rm -f deps.png
|
||||
@$(BLDR) graph $(BUILD_ARGS) | dot -Tsvg -o deps.svg
|
||||
|
||||
.PHONY: extensions
|
||||
extensions: internal/extensions/descriptions.yaml
|
||||
|
||||
2
Pkgfile
2
Pkgfile
@ -1,4 +1,4 @@
|
||||
# syntax = ghcr.io/siderolabs/bldr:v0.5.2
|
||||
# syntax = ghcr.io/siderolabs/bldr:v0.5.3
|
||||
|
||||
format: v1alpha2
|
||||
|
||||
|
||||
@ -261,4 +261,4 @@ Any paths in the `rootfs` should be contained within the following hierarchies:
|
||||
|
||||
## Dependency Diagram
|
||||
|
||||

|
||||

|
||||
|
||||
2238
deps.svg
Normal file
2238
deps.svg
Normal file
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 121 KiB |
1
internal/grype-scan/vars.yaml
Normal file
1
internal/grype-scan/vars.yaml
Normal file
@ -0,0 +1 @@
|
||||
GRAPH_IGNORE: true
|
||||
1
reproducibility/vars.yaml
Normal file
1
reproducibility/vars.yaml
Normal file
@ -0,0 +1 @@
|
||||
GRAPH_IGNORE: true
|
||||
Loading…
x
Reference in New Issue
Block a user