You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 6, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: lib/jobs/create.js
+22-1Lines changed: 22 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ const chalk = require('chalk');
30
30
* @param {string} [params.projectId] - The poject id of an existing project for this job. Note: if projectId is specified, the project parameter cannot be specified.
31
31
* @param {string} [params.command] - An optional command to run within the workspace or container.
32
32
* @param {string} [params.workspace] - An optional path to a workspace, or link to a git repository to upload and merge with the container. If a zip file name is provided it is uploaded instead. If no workspace is provided the current directory is zipped up and transferred. If the workspace is 'none', no workspace is merged and the container is run as-is. To download a git repository provide an https repository link and optionally prefix it with 'git+', e.g. 'https://github.com/MyProjects/MyRepo.git'. If the 'git+' prefix is not specified, it is added at the time of download to the job runner machine. S3 links are also supported using the schema 's3://bucketname/objectname'.
33
+
* @param {string} [params.ignoreFiles] - An optional reference to files that should be excluded from workspace upload. Files/folders to be ignored.
33
34
* @param {string} [params.codeCommit] - An optional reference to git commit hash if local workspace is a git repository. Found at runtime.
34
35
* @param {string} [params.dataset] - An optional reference to a dataset to be merged with the container.
35
36
* @param {string} [params.registryUsername] - An optional username for accessing an image hosted on a private container registry. Note: you must specify this option every time a private image is specified for the container.
@@ -411,13 +412,33 @@ function create(params, cb) {
411
412
throwerr;
412
413
}
413
414
});
415
+
416
+
// exclude user supplied --ignoreFiles as well: folders or files
0 commit comments