diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 86e893d2..9716b97d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -96,7 +96,7 @@ unit-tests: stage: package-build timeout: 2h 30m script: - - ./scripts/release.sh ${DIST}-${ARCH} + - ./scripts/build-packages.sh ${DIST}-${ARCH} artifacts: name: ${ARTIFACTS_NAME} diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 33d48894..ff070c62 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -13,7 +13,7 @@ The `nvidia-container-toolkit` resides in this repo directly. In oder to build the packages, the following command is executed ```sh -./scripts/build-all-components.sh TARGET +./scripts/build-packages.sh TARGET ``` where `TARGET` is a make target that is valid for each of the sub-components. @@ -21,6 +21,8 @@ These include: * `ubuntu18.04-amd64` * `centos8-x86_64` +If no `TARGET` is specified, all valid release targets are built. + The packages are generated in the `dist` folder. ## Testing local changes diff --git a/scripts/release.sh b/scripts/build-packages.sh similarity index 100% rename from scripts/release.sh rename to scripts/build-packages.sh diff --git a/test/release/Makefile b/test/release/Makefile index 3436bf69..37cbee25 100644 --- a/test/release/Makefile +++ b/test/release/Makefile @@ -56,4 +56,4 @@ $(RUN_TARGETS): run-%: image-% # Ensure that the local package root exists $(RELEASE_TARGETS): release-%: $(LOCAL_PACKAGE_ROOT)/$(*)/$(ARCH) - $(PROJECT_ROOT)/scripts/release.sh $(*)-$(ARCH) \ No newline at end of file + $(PROJECT_ROOT)/scripts/build-packages.sh $(*)-$(ARCH)