Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Implement new automatic snapshot feature #2403

Draft
wants to merge 5 commits into
base: b6.3
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .copr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,11 @@ iml-srpm: iml-deps substs
iml-gui-srpm:
mkdir -p ${TMPDIR}/_topdir/{SOURCES,SPECS}

ifeq (,$(shell which yarn))
curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo
curl --silent --location https://rpm.nodesource.com/setup_12.x | bash -
yum install -y yarn
endif

cd iml-gui; \
yarn install; \
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions device-scanner/iml-device-scanner.spec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Requires: socat
device-scanner-daemon builds an in-memory representation of
devices using udev, zed and findmnt.

%global debug_package %{nil}

%prep
%setup -c

Expand Down
10 changes: 6 additions & 4 deletions docker/Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
override SHELL = bash
override .SHELLFLAGS = -eux -o pipefail -c

COMPOSE_IMAGES := $(shell docker-compose config 2>/dev/null | awk '{if ($$1 == "image:") print $$2;}')

.PHONY: clean build save
.PHONY: clean build save

clean:
docker system prune -f --all --volumes
rm -rf iml-images.tar.gz
rm -rf iml-images.tgz

build: clean
DOCKER_CLI_EXPERIMENTAL=enabled docker buildx bake -f compose-deps.hcl
DOCKER_CLI_EXPERIMENTAL=enabled docker buildx bake -f docker-compose.yml
COMPOSE_DOCKER_CLI_BUILD=1 docker-compose pull postgres update-handler

save: build
docker save -o iml-images.tar $(COMPOSE_IMAGES)
gzip -9 < iml-images.tar > iml-images.tgz
docker save $(COMPOSE_IMAGES) | gzip -9 > iml-images.tgz
Loading