We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9906ee9 commit b9fa19bCopy full SHA for b9fa19b
ads/jobs/builders/runtimes/artifact.py
@@ -183,11 +183,6 @@ def build(self):
183
if os.path.isdir(source):
184
basename = os.path.basename(str(source).rstrip("/"))
185
source = str(source).rstrip("/")
186
- # Runtime must have entrypoint if the source is a directory
187
- if self.runtime and not self.runtime.entrypoint:
188
- raise ValueError(
189
- "Please specify entrypoint when script source is a directory."
190
- )
191
output = os.path.join(self.temp_dir.name, basename)
192
shutil.make_archive(
193
output, "zip", os.path.dirname(source), base_dir=basename
0 commit comments