Add upload to datastore for sampledata (#2384)
* Add upload to datastore for sampledata * Updated SKIP_AUTO_DELETE_TILL format to 4 digit year
This commit is contained in:
Родитель
fbb0cd9cae
Коммит
cfd459666c
|
@ -142,6 +142,7 @@ jobs:
|
|||
name=sys.argv[3],
|
||||
auth=cli_auth)
|
||||
datastore = ws.datastores["workspaceblobstore"]
|
||||
Dataset.File.upload_directory("example-data", (datastore, "example-data"))
|
||||
dataset = Dataset.File.from_files(path=[(datastore, "example-data")])
|
||||
dataset.register(ws, "sampledata")
|
||||
' "$SUBSCRIPTION_ID" "$RESOURCE_GROUP_NAME" "$WORKSPACE_NAME"
|
||||
|
|
|
@ -13,7 +13,7 @@ SCRIPT_DIR="$( cd "$( dirname "${SCRIPT_PATH}" )" && pwd )"
|
|||
|
||||
EPOCH_START="$( date -u +%s )" # e.g. 1661361223
|
||||
|
||||
declare -A SKIP_AUTO_DELETE_TILL=$(date -d "+31 days" +'%y-%m-%d')
|
||||
declare -A SKIP_AUTO_DELETE_TILL=$(date -d "+31 days" +'%Y-%m-%d')
|
||||
declare -a DELETE_AFTER=("31.00:00:00")
|
||||
|
||||
COMMON_TAGS=(
|
||||
|
|
Загрузка…
Ссылка в новой задаче