Skip to content

Commit 1613f35

Browse files
authored
Merge pull request #419 from elezar/rename-build-deployments
Rename build folder deployments
2 parents bdfa525 + 5800e55 commit 1613f35

File tree

11 files changed

+8
-8
lines changed

11 files changed

+8
-8
lines changed

.common-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ trigger-pipeline:
144144
- docker login -u "${CI_REGISTRY_USER}" -p "${CI_REGISTRY_PASSWORD}" "${CI_REGISTRY}"
145145
- docker pull "${IMAGE_NAME}:${VERSION}-${DIST}"
146146
script:
147-
- make -f build/container/Makefile test-${DIST}
147+
- make -f deployments/container/Makefile test-${DIST}
148148

149149
# Define the test targets
150150
test-packaging:
@@ -194,7 +194,7 @@ test-packaging:
194194

195195
# Since OUT_IMAGE_NAME and OUT_IMAGE_VERSION are set, this will push the CI image to the
196196
# Target
197-
- make -f build/container/Makefile push-${DIST}
197+
- make -f deployments/container/Makefile push-${DIST}
198198

199199
# Define a staging release step that pushes an image to an internal "staging" repository
200200
# This is triggered for all pipelines (i.e. not only tags) to test the pipeline steps

.github/workflows/image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,4 @@ jobs:
135135
VERSION: ${COMMIT_SHORT_SHA}
136136
run: |
137137
echo "${VERSION}"
138-
make -f build/container/Makefile build-${{ matrix.dist }}
138+
make -f deployments/container/Makefile build-${{ matrix.dist }}

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ package-ubuntu18.04-ppc64le:
126126
- 'echo "Logging in to CI registry ${CI_REGISTRY}"'
127127
- docker login -u "${CI_REGISTRY_USER}" -p "${CI_REGISTRY_PASSWORD}" "${CI_REGISTRY}"
128128
script:
129-
- make -f build/container/Makefile build-${DIST}
129+
- make -f deployments/container/Makefile build-${DIST}
130130

131131
image-ubi8:
132132
extends:

.nvidia-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ variables:
6767
regctl manifest get ${IN_REGISTRY}/${IN_IMAGE_NAME}:${IN_VERSION}-${DIST} --list > /dev/null && echo "${IN_REGISTRY}/${IN_IMAGE_NAME}:${IN_VERSION}-${DIST}" || ( echo "${IN_REGISTRY}/${IN_IMAGE_NAME}:${IN_VERSION}-${DIST} does not exist" && sleep infinity )
6868
script:
6969
- regctl registry login "${OUT_REGISTRY}" -u "${OUT_REGISTRY_USER}" -p "${OUT_REGISTRY_TOKEN}"
70-
- make -f build/container/Makefile IMAGE=${IN_REGISTRY}/${IN_IMAGE_NAME}:${IN_VERSION}-${DIST} OUT_IMAGE=${OUT_IMAGE_NAME}:${CI_COMMIT_SHORT_SHA}-${DIST} push-${DIST}
70+
- make -f deployments/container/Makefile IMAGE=${IN_REGISTRY}/${IN_IMAGE_NAME}:${IN_VERSION}-${DIST} OUT_IMAGE=${OUT_IMAGE_NAME}:${CI_COMMIT_SHORT_SHA}-${DIST} push-${DIST}
7171

7272
image-ubi8:
7373
extends:
File renamed without changes.
File renamed without changes.
File renamed without changes.

build/container/Makefile renamed to deployments/container/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ TEST_TARGETS := $(patsubst %,test-%,$(DISTRIBUTIONS))
5656
.PHONY: $(DISTRIBUTIONS) $(PUSH_TARGETS) $(BUILD_TARGETS) $(TEST_TARGETS)
5757

5858
ifneq ($(BUILD_MULTI_ARCH_IMAGES),true)
59-
include $(CURDIR)/build/container/native-only.mk
59+
include $(CURDIR)/deployments/container/native-only.mk
6060
else
61-
include $(CURDIR)/build/container/multi-arch.mk
61+
include $(CURDIR)/deployments/container/multi-arch.mk
6262
endif
6363

6464
# For the default push target we also push a short tag equal to the version.
@@ -84,7 +84,7 @@ push-short:
8484

8585

8686
build-%: DIST = $(*)
87-
build-%: DOCKERFILE = $(CURDIR)/build/container/Dockerfile.$(DOCKERFILE_SUFFIX)
87+
build-%: DOCKERFILE = $(CURDIR)/deployments/container/Dockerfile.$(DOCKERFILE_SUFFIX)
8888

8989
ARTIFACTS_ROOT ?= $(shell realpath --relative-to=$(CURDIR) $(DIST_DIR))
9090

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)