Update a SAS Container Runtime published image

post/update
Internal-Use Only

Updates the SAS Container Runtime binary files in a published image.

Request Samples

1

Response Samples

1{
2 "command": "Update",
3 "log": "[0m[0000] Resolved base name cr.myserver.com/viya-4-x64_oci_linux_2-docker-testready/sas-decisions-runtime-components:1.10.8-20220625.1656140924715 to base \n[0m[0000] Resolved base name registry.myserver.com/scr-pipeline-apps/autopurchasedec1_1:3 to modelsource \n[0m[0000] Retrieving image manifest cr.myserver.com/viya-4-x64_oci_linux_2-docker-testready/sas-decisions-runtime-components:1.10.8-20220625.1656140924715 \n[0m[0000] Retrieving image cr.myserver.com/viya-4-x64_oci_linux_2-docker-testready/sas-decisions-runtime-components:1.10.8-20220625.1656140924715 from registry cr.myserver.com \n[0m[0001] Retrieving image manifest registry.myserver.com/scr-pipeline-apps/autopurchasedec1_1:3 \n[0m[0001] Retrieving image registry.myserver.com/scr-pipeline-apps/autopurchasedec1_1:3 from registry registry.myserver.com \n[0m[0001] Retrieving image manifest cr.myserver.com/viya-4-x64_oci_linux_2-docker-testready/sas-decisions-runtime-base:1.28.8-20220625.1656140894246 \n[0m[0001] Retrieving image cr.myserver.com/viya-4-x64_oci_linux_2-docker-testready/sas-decisions-runtime-base:1.28.8-20220625.1656140894246 from registry cr.myserver.com \n[0m[0002] Built cross stage deps: map[0:[/oracle] 1:[/modules]] \n[0m[0002] Retrieving image manifest cr.myserver.com/viya-4-x64_oci_linux_2-docker-testready/sas-decisions-runtime-components:1.10.8-20220625.1656140924715 \n[0m[0002] Returning cached image manifest \n[0m[0002] Executing 0 build triggers \n[0m[0013] Saving file oracle for later use \n[0m[0014] Deleting filesystem... \n[0m[0015] Retrieving image manifest registry.myserver.com/scr-pipeline-apps/autopurchasedec1_1:3 \n[0m[0015] Returning cached image manifest \n[0m[0015] Executing 0 build triggers \n[0m[0030] Saving file modules for later use \n[0m[0030] Deleting filesystem... \n[0m[0031] Retrieving image manifest cr.myserver.com/viya-4-x64_oci_linux_2-docker-testready/sas-decisions-runtime-base:1.28.8-20220625.1656140894246 \n[0m[0031] Returning cached image manifest \n[0m[0031] Executing 0 build triggers \n[0m[0031] Unpacking rootfs as cmd COPY --from=modelSource --chown=sas:sas /modules /modules requires it. \n[0m[0044] LABEL model container image \n[0m[0044] Applying label model=container image \n[0m[0044] ENV SAS_SCR_APP_PATH=autopurchasedec1_1 \n[0m[0044] COPY --from=modelSource --chown=sas:sas /modules /modules \n[0m[0044] Taking snapshot of files... \n[0m[0044] COPY --from=base /oracle / \n[0m[0044] Taking snapshot of files... \n[0m[0049] ENV ORACLE_HOME=/usr/lib/oracle/19.13/client64 ORAENV_ASK=NO SASORA=V9 TWO_TASK=ORACLE_SID \n[0m[0049] ENV LD_LIBRARY_PATH=/opt/scr/viya/home/SASFoundation/utilities/bin:/opt/scr/viya/home/SASFoundation/sasexe:/usr/lib64:/usr/lib/oracle/19.13/client64/lib \n[0m[0049] Pushing image to registry.myserver.com/scr-pipeline-apps/autopurchasedec1_1:1.5 \n[0m[0055] Pushed registry.myserver.com/scr-pipeline-apps/autopurchasedec1_1@sha256:a8f1844417f082d88fed31000e8252d4174aa5916d54a6016c462b30111948c2 \n",
4 "status": "Success"
5}

Request Body

updateReq

The parameters for the update request.

NameTypeRequiredDescription
publishDestination
string
false

The publish destination of the SAS Container Runtime image.

publishTag
string
false

The publish tag (revision) to assign to the updated SAS Container Runtime image.

Responses

StatusMeaningDescription
201CreatedThe SAS Container Runtime binary files were updated in the image.HeadersSchema
400Bad RequestThe request was invalid. The image was not updated.Schema