Skip to content
Snippets Groups Projects
Commit 9d1e4134 authored by Evan Lezar's avatar Evan Lezar
Browse files

Merge branch 'set-version-in-ci' into 'master'

Require that LIB_VERSION be set as make variable

See merge request !33
parents 26293100 b6910716
No related branches found
No related tags found
1 merge request!33Require that LIB_VERSION be set as make variable
Pipeline #420042391 passed
......@@ -5,10 +5,12 @@ stages:
- build-all
variables:
# We specify the TOOLKIT_VERSION and TOOLKIT_TAG variable to allow packages
# We specify the LIB_VERSION, TOOLKIT_VERSION, and TOOLKIT_TAG variable to allow packages
# to be built.
LIB_VERSION: 999.999.999
LIB_TAG: dummy+lib
TOOLKIT_VERSION: 999.999.999
TOOLKIT_TAG: dummy
TOOLKIT_TAG: dummy+toolkit
.build-setup: &build-setup
image: docker:19.03.8
......
......@@ -13,8 +13,15 @@
# limitations under the License.
LIB_NAME := nvidia-docker2
LIB_VERSION := 2.8.0
LIB_TAG ?= rc.1
# Define the package version and tag. Since this package is released as part of
# the NVIDIA Container Toolkit, these versions are specified where they are
# built or when invoking the MAKE command.
LIB_VERSION ?= # Set by CI
LIB_TAG ?= # Set by CI
ifeq ($(strip $(LIB_VERSION)),)
$(error LIB_VERSION must be specified)
endif
# Define the nvidia-container-toolkit version on which the nvidia-docker2
# package depends. It is recommended that the TOOLKIT_TAG and the LIB_TAG match.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment