File tree Expand file tree Collapse file tree 5 files changed +26
-12
lines changed Expand file tree Collapse file tree 5 files changed +26
-12
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,21 @@ ARG vdk_base_python_image
5
5
6
6
FROM $vdk_base_python_image
7
7
8
+ # Install bash
9
+ RUN apt-get update && apt-get install -y bash && echo "Bash installed successfully" || echo "Bash installation failed"
10
+
8
11
WORKDIR /vdk
9
12
10
- ENV VDK_VERSION $vdk_version
13
+ ENV VDK_VERSION $vdk_versiongit
11
14
12
15
# Install VDK
13
16
ARG vdk_version
14
17
ARG vdk_package
15
18
ARG pip_extra_index_url
16
19
RUN pip install --extra-index-url $pip_extra_index_url $vdk_package==$vdk_version
20
+
21
+ # Set default shell to bash
22
+ SHELL ["/bin/bash", "-c"]
23
+
24
+ # Default command
25
+ CMD ["/bin/bash"]
Original file line number Diff line number Diff line change @@ -41,11 +41,12 @@ echo "{\"auths\":{\"$VDK_DOCKER_REGISTRY_URL\":{\"username\":\"$VDK_DOCKER_REGIS
41
41
42
42
SCRIPT_DIR=$( dirname " $0 " )
43
43
DOCKERFILE_PATH=" $SCRIPT_DIR /Dockerfile-vdk-base"
44
- /kaniko/executor --force --single-snapshot \
44
+ /kaniko/executor --force \
45
45
--dockerfile=" ${DOCKERFILE_PATH} " \
46
46
--destination=" ${DOCKER_REGISTRY_IMAGE} :${VDK_VERSION} " \
47
47
--destination=" ${DOCKER_REGISTRY_IMAGE} :${BUILD_TYPE} " \
48
48
--build-arg=vdk_package=" ${VDK_PACKAGE} " \
49
49
--build-arg=vdk_version=" ${VDK_VERSION} " \
50
50
--build-arg=pip_extra_index_url=" ${PIP_EXTRA_INDEX_URL} " \
51
- --build-arg=vdk_base_python_image=" ${VDK_BASE_PYTHON_IMAGE} "
51
+ --build-arg=vdk_base_python_image=" ${VDK_BASE_PYTHON_IMAGE} " \
52
+ --cache=false
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ def set_properties_factory_method(
68
68
"""
69
69
Register properties implementation backend.
70
70
Properties API enable keeping state of a data job.
71
- Default implementation is in-memory so it's strongly recommended to install vdk-properties plugin
71
+ Default implementation is in-memory, so it's strongly recommended to install vdk-properties plugin
72
72
which provides API based properties implementation
73
73
74
74
IPropertiesServiceClient is used as provides logic of how properties are persisted
Original file line number Diff line number Diff line change 21
21
retry : !reference [.retry, retry_options]
22
22
rules : # we want to trigger build jobs if there are changes to this plugin,
23
23
# but not if there are changes to other plugins or the main directory
24
- - if : ' $CI_COMMIT_BRANCH == "main" || $CI_PIPELINE_SOURCE == "external_pull_request_event" '
24
+ - if : ' $CI_COMMIT_BRANCH == "main"'
25
25
changes :
26
26
- " projects/vdk-plugins/$PLUGIN_NAME/**/*"
27
27
artifacts :
38
38
USE_VDKCORE_DEV_VERSION : " yes"
39
39
extends : .build-plugin-dind
40
40
rules :
41
- - if : ' $CI_COMMIT_BRANCH == "main" || $CI_PIPELINE_SOURCE == "external_pull_request_event" '
41
+ - if : ' $CI_COMMIT_BRANCH == "main"'
42
42
changes :
43
43
- " projects/vdk-core/*"
44
44
- " projects/vdk-core/src/**/*"
74
74
- if : ' $CI_COMMIT_BRANCH == "main"'
75
75
changes :
76
76
- " projects/vdk-plugins/$PLUGIN_NAME/**/*"
77
+ # - if: '$CI_PIPELINE_SOURCE == "external_pull_request_event"'
77
78
78
79
79
80
.release-vdk-image :
102
103
- if : ' $CI_COMMIT_BRANCH == "main"'
103
104
changes :
104
105
- " projects/vdk-plugins/$PLUGIN_NAME/**/*"
106
+ # - if: '$CI_PIPELINE_SOURCE == "external_pull_request_event"'
Original file line number Diff line number Diff line change @@ -87,16 +87,18 @@ release-quickstart-vdk:
87
87
variables :
88
88
PLUGIN_NAME : quickstart-vdk
89
89
rules :
90
- - if : ' $CI_COMMIT_BRANCH == "main"'
91
- changes : *test_quickstart_vdk_locations
90
+ # - if: '$CI_COMMIT_BRANCH == "main"'
91
+ # changes: *test_quickstart_vdk_locations
92
+ - if : ' $CI_PIPELINE_SOURCE == "external_pull_request_event"'
92
93
extends : .release-plugin
93
94
94
95
release-vdk-image-quickstart-vdk :
95
96
variables :
96
97
PLUGIN_NAME : quickstart-vdk
97
98
extends : .release-vdk-image
98
99
rules :
99
- - if : ' $CI_COMMIT_BRANCH == "main"'
100
- changes : *test_quickstart_vdk_locations
101
- - if : ' $CI_PIPELINE_SOURCE == "schedule"'
102
- when : never
100
+ # - if: '$CI_COMMIT_BRANCH == "main"'
101
+ # changes: *test_quickstart_vdk_locations
102
+ # - if: '$CI_PIPELINE_SOURCE == "schedule"'
103
+ # when: never
104
+ - if : ' $CI_PIPELINE_SOURCE == "external_pull_request_event"'
You can’t perform that action at this time.
0 commit comments