Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make: Refactor flavor BASEOS_ vars to DISTRO vars
It isn't very straightforward for a user that the BASEOS_REPO and BASEOS_TAG specified in the flavor spec (`<ceph version>[point release],<baseos repo>, <baseos tag>`) refer to the ceph-container source directories. Fix this by changing BASEOS_REPO to DISTRO and BASEOS_TAG to DISTRO_VERSION in the makefile. We still need BASEOS_REPO and BASEOS_TAG, because we are planning to make these overrideable. Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
- Loading branch information
Showing
11 changed files
with
77 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
CEPH_VERSION: __ENV_[CEPH_VERSION]__ | ||
CEPH_POINT_RELEASE: __ENV_[CEPH_POINT_RELEASE]__ | ||
DISTRO: __ENV_[DISTRO]__ | ||
DISTRO_VERSION: __ENV_[DISTRO_VERSION]__ | ||
HOST_ARCH: __ENV_[HOST_ARCH]__ | ||
BASEOS_REGISTRY: __ENV_[BASEOS_REGISTRY]__ | ||
BASEOS_REPO: __ENV_[BASEOS_REPO]__ | ||
BASEOS_TAG: __ENV_[BASEOS_TAG]__ | ||
IMAGES_TO_BUILD: __ENV_[IMAGES_TO_BUILD]__ | ||
STAGING_DIR: __ENV_[STAGING_DIR]__ | ||
RELEASE: __ENV_[RELEASE]__ | ||
DAEMON_BASE_IMAGE: __ENV_[DAEMON_BASE_IMAGE]__ | ||
DAEMON_IMAGE: __ENV_[DAEMON_IMAGE]__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
CEPH_VERSION: luminous | ||
CEPH_POINT_RELEASE: -12.2.1-0 | ||
DISTRO: ubuntu | ||
DISTRO_VERSION: 16.04 | ||
HOST_ARCH: x86_64 | ||
BASEOS_REGISTRY: _ | ||
BASEOS_REPO: ubuntu.repo | ||
BASEOS_TAG: ubuntu.tag | ||
IMAGES_TO_BUILD: daemon-base daemon | ||
STAGING_DIR: tests/stage-test/staging/luminous-12.2.1-0-ubuntu.repo-ubuntu.tag-x86_64 | ||
RELEASE: test-release | ||
DAEMON_BASE_IMAGE: test-reg/daemon-base:test-release-1 | ||
DAEMON_IMAGE: test-reg/daemon:test-release-1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
CEPH_VERSION: luminous | ||
CEPH_POINT_RELEASE: -12.2.1-0 | ||
DISTRO: ubuntu | ||
DISTRO_VERSION: 16.04 | ||
HOST_ARCH: x86_64 | ||
BASEOS_REGISTRY: _ | ||
BASEOS_REPO: ubuntu.repo | ||
BASEOS_TAG: ubuntu.tag | ||
IMAGES_TO_BUILD: daemon-base daemon | ||
STAGING_DIR: tests/stage-test/staging/luminous-12.2.1-0-ubuntu.repo-ubuntu.tag-x86_64 | ||
RELEASE: test-release | ||
DAEMON_BASE_IMAGE: test-reg/daemon-base:test-release-1 | ||
DAEMON_IMAGE: test-reg/daemon:test-release-1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters