spec: rename to image-builder
`image-builder` will be the main entrypoint into the Image Builder stack. We will rename the repositories later on; but let's start referring to it in its new official name. Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
This commit is contained in:
parent
0eb6c5e262
commit
6061960689
4 changed files with 12 additions and 12 deletions
|
|
@ -1,9 +1,9 @@
|
||||||
# https://packit.dev/docs/configuration/
|
# https://packit.dev/docs/configuration/
|
||||||
|
|
||||||
specfile_path: image-builder-cli.spec
|
specfile_path: image-builder.spec
|
||||||
|
|
||||||
files_to_sync:
|
files_to_sync:
|
||||||
- image-builder-cli.spec
|
- image-builder.spec
|
||||||
- .packit.yaml
|
- .packit.yaml
|
||||||
|
|
||||||
copy_upstream_release_description: true
|
copy_upstream_release_description: true
|
||||||
|
|
@ -24,7 +24,7 @@ actions:
|
||||||
upstream_tag_include: 'v\d+'
|
upstream_tag_include: 'v\d+'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# image-builder-cli is not yet in Fedora, so we don't need to update it there
|
# image-builder is not yet in Fedora, so we don't need to update it there
|
||||||
# - job: bodhi_update
|
# - job: bodhi_update
|
||||||
# trigger: commit
|
# trigger: commit
|
||||||
# dist_git_branches:
|
# dist_git_branches:
|
||||||
|
|
@ -58,5 +58,5 @@ jobs:
|
||||||
trigger: commit
|
trigger: commit
|
||||||
branch: main
|
branch: main
|
||||||
owner: "@osbuild" # copr repo namespace
|
owner: "@osbuild" # copr repo namespace
|
||||||
project: image-builder-cli # copr repo name so you can consume the builds
|
project: image-builder # copr repo name so you can consume the builds
|
||||||
targets: *build_targets
|
targets: *build_targets
|
||||||
|
|
|
||||||
12
Makefile
12
Makefile
|
|
@ -49,8 +49,8 @@ GOLANGCI_COMPOSER_IMAGE=composer_golangci
|
||||||
|
|
||||||
VERSION := $(shell ( git describe --tags --abbrev=0 2>/dev/null || echo v1 ) | sed 's|v||')
|
VERSION := $(shell ( git describe --tags --abbrev=0 2>/dev/null || echo v1 ) | sed 's|v||')
|
||||||
COMMIT = $(shell (cd "$(SRCDIR)" && git rev-parse HEAD))
|
COMMIT = $(shell (cd "$(SRCDIR)" && git rev-parse HEAD))
|
||||||
PACKAGE_NAME_VERSION = image-builder-cli-$(VERSION)
|
PACKAGE_NAME_VERSION = image-builder-$(VERSION)
|
||||||
PACKAGE_NAME_COMMIT = image-builder-cli-$(COMMIT)
|
PACKAGE_NAME_COMMIT = image-builder-$(COMMIT)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Generic Targets
|
# Generic Targets
|
||||||
|
|
@ -77,7 +77,7 @@ PACKAGE_NAME_COMMIT = image-builder-cli-$(COMMIT)
|
||||||
help:
|
help:
|
||||||
@echo "make [TARGETS...]"
|
@echo "make [TARGETS...]"
|
||||||
@echo
|
@echo
|
||||||
@echo "This is the maintenance makefile of image-builder-cli. The following"
|
@echo "This is the maintenance makefile of image-builder. The following"
|
||||||
@echo "targets are available:"
|
@echo "targets are available:"
|
||||||
@echo
|
@echo
|
||||||
@echo " help: Print this usage information."
|
@echo " help: Print this usage information."
|
||||||
|
|
@ -114,7 +114,7 @@ clean:
|
||||||
#
|
#
|
||||||
# Building packages
|
# Building packages
|
||||||
#
|
#
|
||||||
# The following rules build image-builder-cli packages from the current HEAD
|
# The following rules build image-builder packages from the current HEAD
|
||||||
# commit, based on the spec file in this directory. The resulting packages
|
# commit, based on the spec file in this directory. The resulting packages
|
||||||
# have the commit hash in their version, so that they don't get overwritten
|
# have the commit hash in their version, so that they don't get overwritten
|
||||||
# when calling `make rpm` again after switching to another branch.
|
# when calling `make rpm` again after switching to another branch.
|
||||||
|
|
@ -123,14 +123,14 @@ clean:
|
||||||
# ./rpmbuild, using rpmbuild's usual directory structure.
|
# ./rpmbuild, using rpmbuild's usual directory structure.
|
||||||
#
|
#
|
||||||
|
|
||||||
RPM_SPECFILE=rpmbuild/SPECS/image-builder-cli.spec
|
RPM_SPECFILE=rpmbuild/SPECS/image-builder.spec
|
||||||
RPM_TARBALL=rpmbuild/SOURCES/$(PACKAGE_NAME_COMMIT).tar.gz
|
RPM_TARBALL=rpmbuild/SOURCES/$(PACKAGE_NAME_COMMIT).tar.gz
|
||||||
RPM_TARBALL_VERSIONED=rpmbuild/SOURCES/$(PACKAGE_NAME_VERSION).tar.gz
|
RPM_TARBALL_VERSIONED=rpmbuild/SOURCES/$(PACKAGE_NAME_VERSION).tar.gz
|
||||||
|
|
||||||
.PHONY: $(RPM_SPECFILE)
|
.PHONY: $(RPM_SPECFILE)
|
||||||
$(RPM_SPECFILE):
|
$(RPM_SPECFILE):
|
||||||
mkdir -p $(CURDIR)/rpmbuild/SPECS
|
mkdir -p $(CURDIR)/rpmbuild/SPECS
|
||||||
git show HEAD:image-builder-cli.spec > $(RPM_SPECFILE)
|
git show HEAD:image-builder.spec > $(RPM_SPECFILE)
|
||||||
go mod vendor
|
go mod vendor
|
||||||
./tools/rpm_spec_add_provides_bundle.sh $(RPM_SPECFILE)
|
./tools/rpm_spec_add_provides_bundle.sh $(RPM_SPECFILE)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ usage, it can also upload images directly to cloud.
|
||||||
It is compatible with composer-cli and cockpit-composer clients.
|
It is compatible with composer-cli and cockpit-composer clients.
|
||||||
}
|
}
|
||||||
|
|
||||||
Name: image-builder-cli
|
Name: image-builder
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: An image building service based on osbuild
|
Summary: An image building service based on osbuild
|
||||||
ExcludeArch: i686 armv7hl
|
ExcludeArch: i686 armv7hl
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
SPEC_FILE=${1:-"image-builder-cli.spec"}
|
SPEC_FILE=${1:-"image-builder.spec"}
|
||||||
|
|
||||||
# Save the list of bundled packages into a file
|
# Save the list of bundled packages into a file
|
||||||
WORKDIR=$(mktemp -d)
|
WORKDIR=$(mktemp -d)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue