Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/mariodietner/loki
Browse files Browse the repository at this point in the history
  • Loading branch information
mariodietnercodit committed Dec 28, 2023
2 parents c974474 + f39bf7f commit 17a3489
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 60 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ BUILD_IMAGE_VERSION ?= 0.31.2
# Docker image info
IMAGE_PREFIX ?= grafana

BUILD_IMAGE_PREFIX ?= grafana

IMAGE_TAG ?= $(shell ./tools/image-tag)

# Version info for binaries
Expand Down Expand Up @@ -102,7 +104,7 @@ RM := --rm
TTY := --tty

DOCKER_BUILDKIT ?= 1
BUILD_IMAGE = BUILD_IMAGE=$(IMAGE_PREFIX)/loki-build-image:$(BUILD_IMAGE_VERSION)
BUILD_IMAGE = BUILD_IMAGE=$(BUILD_IMAGE_PREFIX)/loki-build-image:$(BUILD_IMAGE_VERSION)
PUSH_OCI=docker push
TAG_OCI=docker tag
ifeq ($(CI), true)
Expand Down Expand Up @@ -425,7 +427,7 @@ PLUGIN_ARCH ?=
define build-rootfs
rm -rf clients/cmd/docker-driver/rootfs || true
mkdir clients/cmd/docker-driver/rootfs
docker build -t rootfsimage -f clients/cmd/docker-driver/Dockerfile .
docker build --build-arg $(BUILD_IMAGE) -t rootfsimage -f clients/cmd/docker-driver/Dockerfile .

ID=$$(docker create rootfsimage true) && \
(docker export $$ID | tar -x -C clients/cmd/docker-driver/rootfs) && \
Expand Down Expand Up @@ -836,6 +838,7 @@ dev-k3d-down:
.PHONY: trivy
trivy: loki-image
trivy i $(IMAGE_PREFIX)/loki:$(IMAGE_TAG)
trivy fs go.mod

# Synk is also used to scan for vulnerabilities, and detects things that trivy might miss
.PHONY: snyk
Expand Down
33 changes: 0 additions & 33 deletions operator/hack/deploy-azure-storage-secret.sh

This file was deleted.

23 changes: 0 additions & 23 deletions operator/hack/deploy-gcp-storage-secret.sh

This file was deleted.

4 changes: 2 additions & 2 deletions operator/hack/lokistack_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ spec:
size: 1x.demo
storage:
schemas:
- version: v12
effectiveDate: 2022-06-01
- version: v13
effectiveDate: 2023-10-15
secret:
name: test
type: s3
Expand Down

0 comments on commit 17a3489

Please sign in to comment.