Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.

Commit 2629310

Browse files
author
Evan Lezar
committed
Merge branch 'post-2.7.0-release' into 'master'
Bump post 2.7.0 release See merge request nvidia/container-toolkit/nvidia-docker!32
2 parents fd3233a + 9606322 commit 2629310

File tree

8 files changed

+61
-34
lines changed

8 files changed

+61
-34
lines changed

.gitlab-ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ stages:
44
- build-one
55
- build-all
66

7+
variables:
8+
# We specify the TOOLKIT_VERSION and TOOLKIT_TAG variable to allow packages
9+
# to be built.
10+
TOOLKIT_VERSION: 999.999.999
11+
TOOLKIT_TAG: dummy
12+
713
.build-setup: &build-setup
814
image: docker:19.03.8
915

Makefile

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,21 @@
1313
# limitations under the License.
1414

1515
LIB_NAME := nvidia-docker2
16-
LIB_VERSION := 2.7.0
17-
LIB_TAG ?=
16+
LIB_VERSION := 2.8.0
17+
LIB_TAG ?= rc.1
1818

19-
TOOLKIT_VERSION ?= 1.6.0
20-
TOOLKIT_TAG ?=
19+
# Define the nvidia-container-toolkit version on which the nvidia-docker2
20+
# package depends. It is recommended that the TOOLKIT_TAG and the LIB_TAG match.
21+
TOOLKIT_VERSION ?= # Set by CI
22+
TOOLKIT_TAG ?= # Set by CI
23+
24+
ifeq ($(strip $(TOOLKIT_VERSION)),)
25+
$(error TOOLKIT_VERSION must be specified)
26+
endif
27+
28+
ifneq ($(TOOLKIT_TAG),$(LIB_TAG))
29+
$(warning TOOLKIT_TAG=$(TOOLKIT_TAG) and LIB_TAG=$(LIB_TAG) do not match)
30+
endif
2131

2232
# By default run all native docker-based targets
2333
docker-native:

debian/changelog.old

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Note: as of 2.7.0-1 this file is no longer updated, with a changelog
2+
# entry for a given release generated as part of the packaging step.
3+
14
nvidia-docker2 (2.7.0-1) UNRELEASED; urgency=medium
25

36
* Promote 2.7.0~rc.3-1 to 2.7.0-1

docker/Dockerfile.amazonlinux

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ RUN sed -i "s;@VERSION@;${PKG_VERS};" $DIST_DIR/nvidia-docker
3333

3434
CMD rpmbuild --clean -bb \
3535
-D "_topdir $PWD" \
36+
-D "release_date $(date +'%a %b %d %Y')" \
3637
-D "version $VERSION" \
3738
-D "release $RELEASE" \
3839
-D "docker_version $DOCKER_VERSION" \

docker/Dockerfile.centos

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ RUN sed -i "s;@VERSION@;${PKG_VERS};" $DIST_DIR/nvidia-docker
3333

3434
CMD rpmbuild --clean -bb \
3535
-D "_topdir $PWD" \
36+
-D "release_date $(date +'%a %b %d %Y')" \
3637
-D "version $VERSION" \
3738
-D "release $RELEASE" \
3839
-D "docker_version $DOCKER_VERSION" \

docker/Dockerfile.opensuse-leap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ RUN sed -i "s;@VERSION@;${PKG_VERS};" $DIST_DIR/nvidia-docker
3333

3434
CMD rpmbuild --clean -bb \
3535
-D "_topdir $PWD" \
36+
-D "release_date $(date +'%a %b %d %Y')" \
3637
-D "version $VERSION" \
3738
-D "release $RELEASE" \
3839
-D "docker_version $DOCKER_VERSION" \

rpm/SPECS/nvidia-docker2.spec

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -37,34 +37,8 @@ install -m 644 -t %{buildroot}/etc/docker daemon.json
3737
%config /etc/docker/daemon.json
3838

3939
%changelog
40-
* Wed Nov 17 2021 NVIDIA CORPORATION <[email protected]> 3.6.0-1
41-
- Promote 2.7.0-0.1.rc.3 to 2.7.0-1
42-
43-
* Mon Nov 08 2021 NVIDIA CORPORATION <[email protected]> 2.7.0-0.1.rc.3
44-
45-
* Thu Nov 04 2021 NVIDIA CORPORATION <[email protected]> 2.7.0-0.1.rc.2
40+
# As of 2.7.0-1 we generate the release information automatically
41+
* %{release_date} NVIDIA CORPORATION <[email protected]> %{version}-%{release}
42+
- As of 2.7.0-1 the package changelog is generated automatically. This means that releases since 2.7.0-1 all contain this same changelog entry updated for the version being released.
4643
- Bump nvidia-container-toolkit dependency to %{toolkit_version}
47-
- Allow the toolkit version to be specified as a variable
48-
49-
* Mon Sep 06 2021 NVIDIA CORPORATION <[email protected]> 2.7.0-0.1.rc.1
50-
- Add AARCH64 package for Amazon Linux 2
51-
- [BUILD] Allow for TAG to be specified in Makfile to match other projects
52-
- Replace nvidia-container-runtime dependence with nvidia-container-toolit > 1.5.1
53-
54-
* Thu Apr 29 2021 NVIDIA CORPORATION <[email protected]> 2.6.0-1
55-
- Add dependence on nvidia-container-runtime >= 3.5.0
56-
- Add Jenkinsfile for building packages
57-
58-
* Wed Sep 16 2020 NVIDIA CORPORATION <[email protected]> 2.5.0-1
59-
- Bump version to v2.5.0
60-
- Add dependence on nvidia-container-runtime >= 3.4.0
61-
- Update readme to point to the official documentatio
62-
- Add %config directive to daemon.json for RPM installations
63-
64-
* Wed Jul 08 2020 NVIDIA CORPORATION <[email protected]> 2.4.0-1
65-
- 09a01276 Update package license to match source license
66-
- b9c70155 Update dependence on nvidia-container-runtime to 3.3.0
67-
68-
* Fri May 15 2020 NVIDIA CORPORATION <[email protected]> 2.3.0-1
69-
- 0d3b049a Update build system to support multi-arch builds
70-
- 8557216d Require new MIG changes
44+
- Docker dependency to %{docker_version}

rpm/changelog.old

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
* Wed Nov 17 2021 NVIDIA CORPORATION <[email protected]> 2.7.0-1
2+
- Promote 2.7.0-0.1.rc.3 to 2.7.0-1
3+
4+
* Mon Nov 08 2021 NVIDIA CORPORATION <[email protected]> 2.7.0-0.1.rc.3
5+
6+
* Thu Nov 04 2021 NVIDIA CORPORATION <[email protected]> 2.7.0-0.1.rc.2
7+
- Bump nvidia-container-toolkit dependency to %{toolkit_version}
8+
- Allow the toolkit version to be specified as a variable
9+
10+
* Mon Sep 06 2021 NVIDIA CORPORATION <[email protected]> 2.7.0-0.1.rc.1
11+
- Add AARCH64 package for Amazon Linux 2
12+
- [BUILD] Allow for TAG to be specified in Makfile to match other projects
13+
- Replace nvidia-container-runtime dependence with nvidia-container-toolit > 1.5.1
14+
15+
* Thu Apr 29 2021 NVIDIA CORPORATION <[email protected]> 2.6.0-1
16+
- Add dependence on nvidia-container-runtime >= 3.5.0
17+
- Add Jenkinsfile for building packages
18+
19+
* Wed Sep 16 2020 NVIDIA CORPORATION <[email protected]> 2.5.0-1
20+
- Bump version to v2.5.0
21+
- Add dependence on nvidia-container-runtime >= 3.4.0
22+
- Update readme to point to the official documentatio
23+
- Add %config directive to daemon.json for RPM installations
24+
25+
* Wed Jul 08 2020 NVIDIA CORPORATION <[email protected]> 2.4.0-1
26+
- 09a01276 Update package license to match source license
27+
- b9c70155 Update dependence on nvidia-container-runtime to 3.3.0
28+
29+
* Fri May 15 2020 NVIDIA CORPORATION <[email protected]> 2.3.0-1
30+
- 0d3b049a Update build system to support multi-arch builds
31+
- 8557216d Require new MIG changes

0 commit comments

Comments
 (0)