This commit is contained in:
Dave Fellows 2023-04-14 09:48:39 +12:00
Коммит cbd33753af
509 изменённых файлов: 39822 добавлений и 0 удалений

Двоичные данные
.DS_Store поставляемый Normal file

Двоичный файл не отображается.

21
LICENSE Normal file
Просмотреть файл

@ -0,0 +1,21 @@
MIT License
Copyright (c) Microsoft Corporation. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE

14
README.md Normal file
Просмотреть файл

@ -0,0 +1,14 @@
# Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.

41
SECURITY.md Normal file
Просмотреть файл

@ -0,0 +1,41 @@
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.7 BLOCK -->
## Security
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below.
## Reporting Security Issues
**Please do not report security vulnerabilities through public GitHub issues.**
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report).
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc).
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
* Full paths of source file(s) related to the manifestation of the issue
* The location of the affected source code (tag/branch/commit or direct URL)
* Any special configuration required to reproduce the issue
* Step-by-step instructions to reproduce the issue
* Proof-of-concept or exploit code (if possible)
* Impact of the issue, including how an attacker might exploit the issue
This information will help us triage your report more quickly.
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.
## Preferred Languages
We prefer all communications to be in English.
## Policy
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd).
<!-- END MICROSOFT SECURITY.MD BLOCK -->

Двоичные данные
containers/.DS_Store поставляемый Normal file

Двоичный файл не отображается.

Двоичные данные
containers/apps/.DS_Store поставляемый Normal file

Двоичный файл не отображается.

Просмотреть файл

@ -0,0 +1,7 @@
FROM azurebatchrendering/3dsmax:1.1.1809
ARG INSTALLER_SAS
COPY install3dsmax2018.ps1 C:/temp/install3dsmax2018.ps1
RUN powershell -ExecutionPolicy ByPass -noexit C:/temp/install3dsmax2018.ps1 "'%INSTALLER_SAS%'"

Просмотреть файл

@ -0,0 +1,7 @@
FROM azurebatchrendering/3dsmax:1.1.2018-1.1.1809
ARG INSTALLER_SAS
COPY installArnold.ps1 C:/temp/installArnold.ps1
RUN powershell -ExecutionPolicy ByPass -noexit C:/temp/installArnold.ps1 "'%INSTALLER_SAS%'"

Просмотреть файл

@ -0,0 +1,5 @@
{
"containerImage": "azurebatchrendering/windows_3dsmax2018",
"pathToDockerFile": "windows/3dsmax2018",
"installerFileBlob": "windows/Autodesk_3ds_Max_IO_2018_EFGJKPS_Win_part4_64bit.zip"
}

Просмотреть файл

@ -0,0 +1,21 @@
$INSTALLER_SAS = $args[0].trim("'")
echo $INSTALLER_SAS
New-Item 'C:\temp' -type directory
New-Item 'C:\Autodesk' -type directory
New-Item 'C:\temp\log' -type directory
New-Item 'C:\Autodesk\3dsMax2018' -type directory
New-Item 'C:\temp\Max2018ToArnold' -type directory
echo '-------------------------------------------------------------------------------------'
echo '------------------=Download and install Arnold for 3DS Max 2018=---------------------'
echo '-------------------------------------------------------------------------------------'
AzCopy.exe /source:$INSTALLER_SAS /dest:'MAXtoA-1.2.926.2018.exe'
echo 'Download complete'
7z e 'MAXtoA-1.2.926.2018.exe' -o'C:\temp\Max2018ToArnold\'
echo 'Extraction complete'
Start-Process msiexec.exe -ArgumentList @("/I", "C:\temp\Max2018ToArnold\ArnoldPlug.msi", "/passive", "/qn") -Wait
Remove-Item 'C:\temp\Max2018ToArnold' -Force -Recurse
echo 'Finished installing Arnold for 3dsmax2018'

Просмотреть файл

@ -0,0 +1,5 @@
{
"containerImage": "azurebatchrendering/windows_3dsmax2018",
"pathToDockerFile": "windows/3dsmax2018",
"installerFileBlob": "windows/Autodesk_3ds_Max_IO_2018_EFGJKPS_Win_part4_64bit.zip"
}

Просмотреть файл

@ -0,0 +1,26 @@
$INSTALLER_SAS = $args[0].trim("'")
echo $INSTALLER_SAS
New-Item 'C:\temp' -type directory
New-Item 'C:\Autodesk' -type directory
New-Item 'C:\temp\log' -type directory
New-Item 'C:\Autodesk\3dsMax2018' -type directory
[Environment]::SetEnvironmentVariable('3DSMAX_2018','C:\Autodesk\3dsMax2018\', 'Machine')
[Environment]::SetEnvironmentVariable('3DSMAX_2018_EXEC','C:\Autodesk\3dsMax2018\3dsmaxcmdio.exe', 'Machine')
echo '-------------------------------------------------------------------------------------'
echo '------------------------=Download and install 3DS Max 2018=--------------------------'
echo '-------------------------------------------------------------------------------------'
AzCopy.exe /source:$INSTALLER_SAS /dest:Autodesk_3ds_Max_IO_2018_EFGJKPS_Win_part4_64bit.zip
echo 'Download complete'
7za x Autodesk_3ds_Max_IO_2018_EFGJKPS_Win_part4_64bit.zip -o'C:\temp\3dsmax2018\'
echo 'Extraction complete'
cd 'C:\temp\3dsmax2018\Autodesk_3ds_Max_IO_2018_EFGJKPS_Win_part4_64bit'
(Get-Content setup.ini) | ForEach { $_ -replace "PREREQUISITE=IE;", "PREREQUISITE="} | Out-File setup.ini
Start-Process cmd.exe -ArgumentList @("/c","setup.exe", "/t","/c","/w","/q","MAXIO:", "INSTALLDIR=C:\Autodesk\3dsMax2018\", "InstallLevel=5") -wait
Remove-Item 'C:\temp\3dsmax2018' -Force -Recurse
echo 'Finished installing 3dsmax2018'

Двоичные данные
containers/apps/3dsmax/windows1809/2021/Image.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 147 KiB

Просмотреть файл

@ -0,0 +1,2 @@
A part of the manifest needs to be ignored in the XML file for 3DS MAX 2021 (./Autodesk/manifest/app.3dsMax.xml) as “Autodesk Desktop app” interferes with the “–silent” argument, when using PowerShell. That would cause an endless install.

Просмотреть файл

@ -0,0 +1,6 @@
FROM mcr.microsoft.com/windows:1809
COPY installDependencies.ps1 C:/temp/installDependencies.ps1
SHELL ["cmd", "/S", "/C"]
RUN powershell -ExecutionPolicy ByPass -noexit "& ""C:/temp/installDependencies.ps1"""

Просмотреть файл

@ -0,0 +1,5 @@
{
"containerImage": "azurebatchrendering/windows",
"pathToDockerFile": "Windows",
"installerFileBlob": ""
}

Просмотреть файл

@ -0,0 +1,29 @@
cd C:\temp
pwd
wget -O C:\temp\install.ps1 https://chocolatey.org/install.ps1
.\install.ps1
choco install 7zip.portable -y
choco install azcopy -y
choco install vcredist2012 -y
choco install vcredist2015 -y
choco install kb3118401 -y
choco install imagemagick --version 7.0.7.5 -y
choco install dotnetcore -y
choco install azure-cli -y
choco install python2 -y
Get-PackageProvider -Name NuGet -Force
Install-Module PowerShellGet -Force
Install-Module -Name AzureRm -Repository PSGallery -Force
$oldPath=(Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH).Path
$newPath=$oldPath+';C:\Program Files (x86)\Microsoft SDKs\Azure\AzCopy\;C:\ProgramData\chocolatey\lib\7zip.portable\tools\7z-extra\;'
Set-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -name 'PATH' -value $newPath
$env:Path += 'C:\Program Files (x86)\Microsoft SDKs\Azure\AzCopy\'
echo '-------------------------------------------------------------------------------------'
echo '---------------------=Speculative and Execution side-channel fix=-----------------------'
echo '-------------------------------------------------------------------------------------'
reg add 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management' /v FeatureSettingsOverride /t REG_DWORD /d 0 /f
reg add 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management' /v FeatureSettingsOverrideMask /t REG_DWORD /d 3 /f
reg add 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtualization' /v MinVmVersionForCpuBasedMitigations /t REG_SZ /d '1.0' /f
Remove-Item C:\Users\ContainerAdministrator\AppData\Local\Temp -Force -Recurse

Просмотреть файл

@ -0,0 +1,15 @@
ARG PARENT_TAG
ARG ACR_SERVER_REPO
FROM $ACR_SERVER_REPO/blender:$PARENT_TAG
RUN apt-get update && \
apt-get install -y libSDL1.2debian
RUN curl -SL "http://download.blender.org/release/Blender2.68/blender-2.68-linux-glibc211-x86_64.tar.bz2" -o blender.tar.bz2 && \
tar -jxvf blender.tar.bz2 -C /usr/local/bin --strip-components=1 && \
rm blender.tar.bz2
RUN apt-get update && \
apt-get install python-pyasn1 walinuxagent -y && \
apt-get clean

Просмотреть файл

@ -0,0 +1,12 @@
{
"containerImage": "$REPO_BASE/blender:$PARENT_TAG-$VER.268",
"operatingSystem": "ubuntu",
"metadata": {
"os": "Ubuntu 16.04",
"app": "blender",
"appVersion": "2.68",
"renderer": "blender",
"rendererVersion": "2.68",
"imageReferenceId" : "ubuntu-1604lts-container"
}
}

Просмотреть файл

@ -0,0 +1,6 @@
{
"name": "container-blender-ubuntu-268-frames",
"template": "../templates/blender/render-linux-container/job.template.json",
"poolTemplate": "../templates/blender/render-linux-container/pool.template.json",
"expectedOutput": "blender-ubuntu-268-frames_0001.png"
}

Просмотреть файл

@ -0,0 +1,29 @@
{
"jobName":{
"value":"blender-ubuntu-268-frames"
},
"poolId":{
"value":"blender-ubuntu-268-frames"
},
"inputData":{
"value":"rendering"
},
"blendFile":{
"value":"shapes.blend"
},
"frameStart":{
"value":1
},
"frameEnd":{
"value":1
},
"outputs":{
"value":"rendering-output"
},
"dedicatedVmCount":{
"value":"1"
},
"vmSize":{
"value":"Standard_D2_v2"
}
}

Просмотреть файл

@ -0,0 +1 @@
1.0.0.ubuntu-1.0.0.268

Просмотреть файл

@ -0,0 +1,12 @@
ARG PARENT_TAG
ARG ACR_SERVER_REPO
FROM $ACR_SERVER_REPO/blender:$PARENT_TAG
RUN curl -SL "http://download.blender.org/release/Blender2.79/blender-2.79-linux-glibc219-x86_64.tar.bz2" -o blender.tar.bz2 && \
tar -jxvf blender.tar.bz2 -C /usr/local/bin --strip-components=1 && \
rm blender.tar.bz2
RUN apt-get update && \
apt-get install python-pyasn1 walinuxagent -y && \
apt-get clean

Просмотреть файл

@ -0,0 +1,12 @@
{
"containerImage": "$REPO_BASE/blender:$PARENT_TAG-$VER.279",
"operatingSystem": "ubuntu",
"metadata": {
"os": "Ubuntu 16.04",
"app": "blender",
"appVersion": "2.79",
"renderer": "blender",
"rendererVersion": "2.79",
"imageReferenceId" : "ubuntu-1604lts-container"
}
}

Просмотреть файл

@ -0,0 +1,6 @@
{
"name": "container-blender-ubuntu-279-frames",
"template": "../templates/blender/render-linux-container/job.template.json",
"poolTemplate": "../templates/blender/render-linux-container/pool.template.json",
"expectedOutput": "blender-ubuntu-279-frames_0001.png"
}

Просмотреть файл

@ -0,0 +1,29 @@
{
"jobName":{
"value":"blender-ubuntu-279-frames"
},
"poolId":{
"value":"blender-ubuntu-279-frames"
},
"inputData":{
"value":"rendering"
},
"blendFile":{
"value":"shapes.blend"
},
"frameStart":{
"value":1
},
"frameEnd":{
"value":1
},
"outputs":{
"value":"rendering-output"
},
"dedicatedVmCount":{
"value":"1"
},
"vmSize":{
"value":"Standard_D2_v2"
}
}

Просмотреть файл

@ -0,0 +1 @@
1.0.0.ubuntu-1.0.0.279

Просмотреть файл

@ -0,0 +1,12 @@
ARG PARENT_TAG
ARG ACR_SERVER_REPO
FROM $ACR_SERVER_REPO/blender:$PARENT_TAG
RUN curl -SL "http://download.blender.org/release/Blender2.80/blender-2.80-linux-glibc217-x86_64.tar.bz2" -o blender.tar.bz2 && \
tar -jxvf blender.tar.bz2 -C /usr/local/bin --strip-components=1 && \
rm blender.tar.bz2
RUN apt-get update && \
apt-get install python-pyasn1 walinuxagent -y && \
apt-get clean

Просмотреть файл

@ -0,0 +1,12 @@
{
"containerImage": "$REPO_BASE/blender:$PARENT_TAG-$VER.280",
"operatingSystem": "ubuntu",
"metadata": {
"os": "Ubuntu 16.04",
"app": "blender280",
"appVersion": "2.80",
"renderer": "cycles",
"rendererVersion": "2.80",
"imageReferenceId" : "ubuntu-1604lts-container"
}
}

Просмотреть файл

@ -0,0 +1,6 @@
{
"name": "container-blender-ubuntu-280-frames",
"template": "../templates/blender/render-linux-container-280/job.template.json",
"poolTemplate": "../templates/blender/render-linux-container-280/pool.template.json",
"expectedOutput": "blender-ubuntu-280-frames_0001.png"
}

Просмотреть файл

@ -0,0 +1,29 @@
{
"jobName":{
"value":"blender-ubuntu-280-frames"
},
"poolId":{
"value":"blender-ubuntu-280-frames"
},
"inputData":{
"value":"rendering"
},
"blendFile":{
"value":"shapes.blend"
},
"frameStart":{
"value":1
},
"frameEnd":{
"value":1
},
"outputs":{
"value":"rendering-output"
},
"dedicatedVmCount":{
"value":"1"
},
"vmSize":{
"value":"Standard_D2_v2"
}
}

Просмотреть файл

@ -0,0 +1 @@
1.0.0.ubuntu-1.0.0.280

Просмотреть файл

@ -0,0 +1,32 @@
FROM ubuntu:xenial
RUN apt-get update && \
apt-get install -y \
sudo \
curl \
bzip2 \
libfreetype6 \
libgl1-mesa-dev \
libglu1-mesa \
libxi6 \
imagemagick \
wget \
rsync \
libxrender1
RUN curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
RUN wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb && \
sudo dpkg -i packages-microsoft-prod.deb && \
sudo apt-get install -y apt-transport-https && \
sudo apt-get update && \
sudo apt-get install -y dotnet-sdk-2.2
RUN sudo wget -O azcopy.tar.gz https://aka.ms/downloadazcopyprlinux && \
tar -xf azcopy.tar.gz && \
./install.sh && \
rm azcopy.tar.gz
RUN sudo apt-get clean && \
apt-get -y autoremove && \
rm -rf /var/lib/apt/lists/*

Просмотреть файл

@ -0,0 +1,4 @@
{
"containerImage": "$REPO_BASE/blender:$VER.ubuntu",
"operatingSystem": "ubuntu"
}

Просмотреть файл

@ -0,0 +1 @@
1.0.0.ubuntu

Просмотреть файл

@ -0,0 +1,11 @@
ARG PARENT_TAG
ARG ACR_SERVER_REPO
FROM $ACR_SERVER_REPO/maya:$PARENT_TAG
ARG INSTALLER_SAS
COPY installMaya2017.sh /tmp/installMaya2017.sh
COPY maya2017.sh /usr/bin/maya2017.sh
RUN sh /tmp/installMaya2017.sh $INSTALLER_SAS

Просмотреть файл

@ -0,0 +1,11 @@
ARG PARENT_TAG
ARG ACR_SERVER_REPO
FROM $ACR_SERVER_REPO/maya:$PARENT_TAG
ARG INSTALLER_SAS
COPY installArnold.sh /tmp/installArnold.sh
COPY mtoa.mod /usr/autodesk/mayaIO2017/modules/mtoa.mod
RUN sh /tmp/installArnold.sh $INSTALLER_SAS

Просмотреть файл

@ -0,0 +1,13 @@
{
"containerImage": "$REPO_BASE/maya:$PARENT_TAG-$VER.arnold2011",
"installerFileBlob": "Centos/Maya2017/Arnold/MtoA-2.0.1.1-linux-2017.run",
"operatingSystem": "centos",
"metadata": {
"os": "CentOS 75",
"app": "maya",
"appVersion": "2017-Update5",
"renderer": "arnold",
"rendererVersion": "2.0.1.1",
"imageReferenceId" : "centos-75-container"
}
}

Просмотреть файл

@ -0,0 +1,21 @@
#!/bin/sh -x
echo 'INSTALLER_SAS='$1
INSTALLER_SAS=$1
mkdir -m777 /tmp/mtoa
echo '-=Download=-'
azcopy --source $INSTALLER_SAS --destination /tmp/mtoa/MtoA-linux-2017.run
echo '-=Extract and Install=-'
7za x /tmp/mtoa/MtoA-linux-2017.run -o/tmp/mtoa/
7za x /tmp/mtoa/MtoA-linux-2017 -o/tmp/mtoa/MtoA2017
7za x /tmp/mtoa/MtoA2017/package.zip -o/opt/solidangle/mtoa/2017/
cp /opt/solidangle/mtoa/2017/arnoldRenderer.xml /usr/autodesk/mayaIO2017/bin/rendererDesc/
chmod 755 -R /opt/solidangle
rm -rf /tmp/mtoa
echo '-=Install script complete=-'

Просмотреть файл

@ -0,0 +1,6 @@
+ mtoa any /opt/solidangle/mtoa/2017
PATH +:= bin
MAYA_PLUG_IN_PATH +:= plug-ins
MAYA_CUSTOM_TEMPLATE_PATH +:= scripts/mtoa/ui/templates
MAYA_SCRIPT_PATH +:= scripts/mtoa/mel
MAYA_RENDER_DESC_PATH = /opt/solidangle/mtoa/2017

Просмотреть файл

@ -0,0 +1,6 @@
{
"name": "container-maya-centos7-2017u5-arnold2011",
"template": "../templates/maya/render-arnold-linux-container/job.template.json",
"poolTemplate": "../templates/maya/render-arnold-linux-container/pool.template.json",
"expectedOutput": "maya-arnold_0001.exr"
}

Просмотреть файл

@ -0,0 +1,26 @@
{
"jobName":{
"value":"maya-centos7-2017u5-arnold2011"
},
"poolId":{
"value":"maya-centos7-2017u5-arnold2011"
},
"mayaVersion":{
"value":"Maya2017"
},
"inputFilegroup":{
"value":"myfilegroup"
},
"inputData":{
"value":"rendering"
},
"sceneFile":{
"value":"maya-arnold.mb"
},
"additionalflags":{
"value":"-of png"
},
"outputs":{
"value":"rendering-output"
}
}

Просмотреть файл

@ -0,0 +1 @@
1.0.0.centos7-1.0.0.2017u5-1.0.0.arnold2011

Просмотреть файл

@ -0,0 +1,11 @@
ARG PARENT_TAG
ARG ACR_SERVER_REPO
FROM $ACR_SERVER_REPO/maya:$PARENT_TAG
ARG INSTALLER_SAS
COPY installArnold.sh /tmp/installArnold.sh
COPY mtoa.mod /usr/autodesk/mayaIO2017/modules/mtoa.mod
RUN sh /tmp/installArnold.sh $INSTALLER_SAS

Просмотреть файл

@ -0,0 +1,13 @@
{
"containerImage": "$REPO_BASE/maya:$PARENT_TAG-$VER.arnold3101",
"installerFileBlob": "Centos/Maya2017/Arnold/MtoA-3.1.0.1-linux-2017.run",
"operatingSystem": "centos",
"metadata": {
"os": "CentOS 75",
"app": "maya",
"appVersion": "2017-Update5",
"renderer": "arnold",
"rendererVersion": "3.1.0.1",
"imageReferenceId" : "centos-75-container"
}
}

Просмотреть файл

@ -0,0 +1,21 @@
#!/bin/sh -x
echo 'INSTALLER_SAS='$1
INSTALLER_SAS=$1
mkdir -m777 /tmp/mtoa
echo '-=Download=-'
azcopy --source $INSTALLER_SAS --destination /tmp/mtoa/MtoA-linux-2017.run
echo '-=Extract and Install=-'
7za x /tmp/mtoa/MtoA-linux-2017.run -o/tmp/mtoa/
7za x /tmp/mtoa/MtoA-linux-2017 -o/tmp/mtoa/MtoA2017
7za x /tmp/mtoa/MtoA2017/package.zip -o/opt/solidangle/mtoa/2017/
cp /opt/solidangle/mtoa/2017/arnoldRenderer.xml /usr/autodesk/mayaIO2017/bin/rendererDesc/
chmod 755 -R /opt/solidangle
rm -rf /tmp/mtoa
echo '-=Install script complete=-'

Просмотреть файл

@ -0,0 +1,6 @@
+ mtoa any /opt/solidangle/mtoa/2017
PATH +:= bin
MAYA_PLUG_IN_PATH +:= plug-ins
MAYA_CUSTOM_TEMPLATE_PATH +:= scripts/mtoa/ui/templates
MAYA_SCRIPT_PATH +:= scripts/mtoa/mel
MAYA_RENDER_DESC_PATH = /opt/solidangle/mtoa/2017

Просмотреть файл

@ -0,0 +1,6 @@
{
"name": "container-maya-centos7-2017u5-arnold3101",
"template": "../templates/maya/render-arnold-linux-container/job.template.json",
"poolTemplate": "../templates/maya/render-arnold-linux-container/pool.template.json",
"expectedOutput": "maya-arnold_0001.exr"
}

Просмотреть файл

@ -0,0 +1,26 @@
{
"jobName":{
"value":"maya-centos7-2017u5-arnold3101"
},
"poolId":{
"value":"maya-centos7-2017u5-arnold3101"
},
"mayaVersion":{
"value":"Maya2017"
},
"inputFilegroup":{
"value":"myfilegroup"
},
"inputData":{
"value":"rendering"
},
"sceneFile":{
"value":"maya-arnold.mb"
},
"additionalflags":{
"value":"-of png"
},
"outputs":{
"value":"rendering-output"
}
}

Просмотреть файл

@ -0,0 +1 @@
1.0.0.centos7-1.0.0.2017u5-1.0.0.arnold3101

Просмотреть файл

@ -0,0 +1,13 @@
{
"containerImage": "$REPO_BASE/maya:$PARENT_TAG-$VER.2017u5",
"installerFileBlob": "Centos/Maya2017/Autodesk_MayaIO_2017_Update5_Linux_64bit.run",
"operatingSystem": "centos",
"metadata": {
"os": "CentOS 75",
"app": "maya",
"appVersion": "2017-Update5",
"renderer": "mayasw",
"rendererVersion": "2017-Update5",
"imageReferenceId" : "centos-75-container"
}
}

Просмотреть файл

@ -0,0 +1,27 @@
#!/bin/sh -x
echo 'INSTALLER_SAS='$1
INSTALLER_SAS=$1
mkdir -m777 /tmp/maya2017 -p
mkdir -m777 /tmp/maya/Maya2017 -p
echo '-=Download=-'
azcopy --source $INSTALLER_SAS --destination /tmp/maya/Autodesk_MayaIO_2017_Linux_64bit.run
echo '-=Extract and Install=-'
7za e /tmp/maya/Autodesk_MayaIO_2017_Linux_64bit.run -o/tmp/maya/
7za e /tmp/maya/Autodesk_MayaIO_2017_Linux_64bit -o/tmp/maya/Maya2017/
chmod +x /tmp/maya/Maya2017/setup.sh
/tmp/maya/Maya2017/setup.sh 127.0.0.1
cp /usr/bin/maya2017.sh /usr/bin/maya.sh
chmod +x /usr/bin/maya.sh
chmod +x /usr/bin/maya2017.sh
rm -rf /tmp/maya2017
rm -rf /tmp/maya
rm -rf /usr/autodesk/mayaIO
echo '-=Install script complete=-'

Просмотреть файл

@ -0,0 +1,3 @@
#!/bin/bash
/usr/autodesk/mayaIO2017/bin/Render "$@"
exit $?

Просмотреть файл

@ -0,0 +1,6 @@
{
"name": "container-maya-centos7-2017u5",
"template": "../templates/maya/render-default-linux-container/job.template.json",
"poolTemplate": "../templates/maya/render-default-linux-container/pool.template.json",
"expectedOutput": "maya.exr.0001"
}

Просмотреть файл

@ -0,0 +1,26 @@
{
"jobName":{
"value":"maya-centos7-2017u5"
},
"poolId":{
"value":"maya-centos7-2017u5"
},
"mayaVersion":{
"value":"Maya2017"
},
"inputFilegroup":{
"value":"myfilegroup"
},
"inputData":{
"value":"rendering"
},
"sceneFile":{
"value":"maya.mb"
},
"additionalflags":{
"value":"-of png"
},
"outputs":{
"value":"rendering-output"
}
}

Просмотреть файл

@ -0,0 +1 @@
1.0.0.centos7-1.0.0.2017u5

Просмотреть файл

@ -0,0 +1,13 @@
ARG PARENT_TAG
ARG ACR_SERVER_REPO
FROM $ACR_SERVER_REPO/maya:$PARENT_TAG
ARG INSTALLER_SAS
COPY installVRay.sh /tmp/installVRay.sh
COPY vray_config2017.xml /tmp/vray/vray_config2017.xml
COPY VRayForMaya.module /usr/autodesk/mayaIO2017/modules/VRayForMaya.module
COPY vrayRenderer.xml /usr/autodesk/mayaIO2017/bin/rendererDesc/vrayRenderer.xml
RUN sh /tmp/installVRay.sh $INSTALLER_SAS

Просмотреть файл

@ -0,0 +1,13 @@
// Module file for Maya. Helps Maya find resources for VRayForMaya.
+ VRayForMaya2017x64 any /usr/autodesk/mayaIO2017/vray
PATH +:= bin
MAYA_SCRIPT_PATH +:=scripts
MAYA_PLUG_IN_PATH +:=plug-ins
PYTHONPATH +:=scripts
VRAY_FOR_MAYA2017_MAIN_x64 :=
VRAY_FOR_MAYA2017_PLUGINS_x64 := vrayplugins
VRAY_OSL_PATH_MAYA2017_x64 := opensl
XBMLANGPATH +:= icons
VRAY_PATH=/usr/autodesk/mayaIO2017/vray/bin
VRAY_TOOLS_MAYA2017_x64=/usr/ChaosGroup/V-Ray/Maya2017-x64/bin
VRAY_OSL_PATH_MAYA2017_x64=/usr/ChaosGroup/V-Ray/Maya2017-x64/opensl

Просмотреть файл

@ -0,0 +1,13 @@
{
"containerImage": "$REPO_BASE/maya:$PARENT_TAG-$VER.vray36004",
"installerFileBlob": "Centos/Maya2017/Vray/vray4batch_36004_maya2017_linux_x64",
"operatingSystem": "centos",
"metadata": {
"os": "CentOS 75",
"app": "maya",
"appVersion": "2017-Update5",
"renderer": "vray",
"rendererVersion": "36004",
"imageReferenceId" : "centos-75-container"
}
}

Просмотреть файл

@ -0,0 +1,16 @@
#!/bin/sh -x
echo 'INSTALLER_SAS='$1
INSTALLER_SAS=$1
echo '-=Download=-'
echo 'download vray4batch_maya2017_linux_x64'
azcopy --source $INSTALLER_SAS --destination /tmp/vray/vray4batch_maya2017_linux_x64
echo '-=Extract and Install=-'
chmod +x /tmp/vray/vray4batch_maya2017_linux_x64
/tmp/vray/vray4batch_maya2017_linux_x64 -gui=0 -configFile='/tmp/vray/vray_config2017.xml' -ignoreErrors=1
rm -rf /tmp/vray
echo '-=Install script complete=-'

Просмотреть файл

@ -0,0 +1,6 @@
{
"name": "container-maya-centos7-2017u5-vray36004",
"template": "../templates/maya/render-vray-linux-container/job.template.json",
"poolTemplate": "../templates/maya/render-vray-linux-container/pool.template.json",
"expectedOutput": "maya-vray.0001.png"
}

Просмотреть файл

@ -0,0 +1,26 @@
{
"jobName":{
"value":"maya-centos7-2017u5-vray36004"
},
"poolId":{
"value":"maya-centos7-2017u5-vray36004"
},
"mayaVersion":{
"value":"Maya2017"
},
"inputFilegroup":{
"value":"myfilegroup"
},
"inputData":{
"value":"rendering"
},
"sceneFile":{
"value":"maya-vray.mb"
},
"additionalflags":{
"value":"-of png"
},
"outputs":{
"value":"rendering-output"
}
}

Просмотреть файл

@ -0,0 +1 @@
1.0.0.centos7-1.0.0.2017u5-1.0.0.vray36004

Просмотреть файл

@ -0,0 +1,129 @@
<?xml version="1.0"?>
<!DOCTYPE renderer SYSTEM "renderer.dtd">
<!--
Top level tag, mandatory:
<renderer>: "desc" gives a one line description.
Header tags, not mandatory, must be specified only once.
<melheader>: "s" is a mel script executed just after the file is read
<meltrailer>: "s" is a mel script executed after all flags are converted
to mel. Should contain at least the rendering command.
Other tags:
<sep>: "desc" produces a line in the help. Blank if desc is missing.
<attr>: produces a setAttr line.
"n" is the flag name.
"s" the attribute name.
"t" the parameter type, used in help description.
"h" the help description.
<attrString>: produces a setAttr line for a string attribute.
Same parameters as <attr>, but for string attributes.
<mel>: Calls a mel script.
"n" is the flag name.
"p" the number of parameters.
"s" the string defining the action %1 ... %p are replaced with values
read after the flag.
"t" the parameter types, used in help description.
"h" the help description.
-->
<renderer desc="V-Ray for Maya renderer">
<melheader s='string $opt=""; string $rl=""; string $rp=""; float $resize=-1.; vrayRegisterRenderer(); vrayCreateVRaySettingsNode(); select vraySettings;'/>
<meltrailer s='setMayaSoftwareLayers($rl, $rp); setImageSizePercent($resize); mayaBatchRenderProcedure(0, "", "", "vray", $opt);'/>
<sep />
<sep desc='All purpose flags:' />
<mel n="exportFileName" p='1' t='string'
s='setAttr vraySettings.vrscene_on 1; setAttr -type "string" vraySettings.vrscene_filename "%1";' />
<sep desc=' Use this to force exporting to a .vrscene file with the'/>
<sep desc=' given name. Example:'/>
<sep desc=' Render -r vray -exportFileName "c:/1.vrscene"'/>
<sep desc=' -noRender'/>
<sep desc=' filename'/>
<mel n="noRender" p='0' t=''
s='setAttr vraySettings.vrscene_render_on 0;' />
<sep desc=' Use this to disable rendering.'/>
<sep desc=' Usually it is used with -exportFileName to produce a'/>
<sep desc=' .vrscene file. Example:'/>
<sep desc=' Render -r vray -exportFileName "c:/1.vrscene"'/>
<sep desc=' -noRender'/>
<sep desc=' filename'/>
<mel n="exportSeparate" p='0' t=''
s='setAttr vraySettings.misc_separateFiles 1;' />
<sep desc=' Use this to export to separate .vrscene files. Example:'/>
<sep desc=' Render -r vray -exportFileName "c:/1.vrscene"'/>
<sep desc=' -noRender'/>
<sep desc=' -exportSeparate'/>
<sep desc=' filename'/>
<mel n="exportCompressed" p='0' t=''
s='setAttr vraySettings.misc_compressedVrscene 1;' />
<sep desc=' Use this to export to compressed .vrscene file (still'/>
<sep desc=' experimental). Example:'/>
<sep desc=' Render -r vray -exportFileName "c:/1.vrscene"'/>
<sep desc=' -noRender'/>
<sep desc=' -exportCompressed'/>
<sep desc=' filename'/>
<mel n="exportFramesSeparate" p='0' t=''
s='setAttr vraySettings.misc_eachFrameInFile 1;' h="Use this to export each frame to separate file."/>
<mel n="exportSpecific" p='1' t='string' s='$opt+=" -exportSpecific \\\"%1\\\" "' />
<sep desc=' Use this to restrict the exporter to a list of (DAG) nodes. Example:'/>
<sep desc=' Render -r vray -exportSpecific "pSphereShape1 pSphereShape2 pPlane1" filename'/>
<sep/>
<!-- ______________________________________________________________ -->
<sep desc="General purpose flags:"/>
<mel n="rd" p="1" t="path" s='workspace -fr "images" "%1";workspace -fr "depth" "%1";' h="Directory in which to store image file"/>
<mel n="of" p="1" t="string" s='setAttr -type "string" "vraySettings.imageFormatStr" "%1";' h="Output image file format. See the Render Settings window to find available formats"/>
<mel n="im" p="1" t="filename" s='setAttr -type "string" "vraySettings.fileNamePrefix" "%1";' h="Image file output name"/>
<mel n="rep" p="1" t="boolean" s='$opt += " -rep "; $opt+= %1;' h="Replace or not the rendered image if it already exists (-rep true/false) "/>
<sep/>
<!-- ______________________________________________________________ -->
<sep desc="Frame numbering options"/>
<mel n="s" p="1" t="float" s='vrayRemoveOverrideFromAllRenderLayers("defaultRenderGlobals.animation"); setAttr defaultRenderGlobals.animation 1; vrayRemoveOverrideFromAllRenderLayers("defaultRenderGlobals.startFrame"); setAttr defaultRenderGlobals.startFrame %1' h="Starting frame for an animation sequence"/>
<mel n="e" p="1" t="float" s='vrayRemoveOverrideFromAllRenderLayers("defaultRenderGlobals.animation"); setAttr defaultRenderGlobals.animation 1; vrayRemoveOverrideFromAllRenderLayers("defaultRenderGlobals.endFrame"); setAttr defaultRenderGlobals.endFrame %1' h="End frame for an animation sequence"/>
<mel n="b" p="1" t="float" s='setAttr "defaultRenderGlobals.byFrameStep" %1; setAttr "defaultRenderGlobals.animation" true;' h="By frame (or step) for an animation sequence"/>
<mel n="pad" p="1" t="int" s='setAttr "vraySettings.fileNamePadding" %1;' h="Number of digits for the frame number in the output image file name"/>
<sep/>
<!-- ______________________________________________________________ -->
<sep desc="Camera options"/>
<mel n="cam" s='makeCameraRenderable("%1")' p="1" t="name" h="Specify which camera to be rendered"/>
<mel n="iip" s="disableImagePlanes" p="0" t="" h="Ignore image planes when rendering" />
<sep/>
<!-- ______________________________________________________________ -->
<sep desc="Bake rendering"/>
<mel n="bake_node" s='setAttr "vraySettings.bakeRender" 1; select %1;' p="1" t="name" h="Specify object to bake render"/>
<mel n="bake_map" s='setAttr "vraySettings.bakeRender" 1; setAttr -type "string" vraySettings.bakeChannel "%1";' p="1" t="name" h="Which UV set to use"/>
<mel n="bake_padding" s='setAttr "vraySettings.bakeRender" 1; setAttr "vraySettings.bakeDilation" %1;' p="1" t="float" h="Edge padding in pixels"/>
<sep/>
<!-- ______________________________________________________________ -->
<sep desc="Resolution options"/>
<mel n="reg" s="vraySetBatchDoRegion(%1,%2,%3,%4);" t="int int int int" p="4" h="Set sub-region pixel boundary of the final image:\n\tleft, right, bottom, top"/>
<!-- vrayRemoveOverrideFromAllRenderLayers remove all overrides in all layers in the scene, like this user can specify exact width/height in batch mode even when they are overridden -->
<mel n="x" p="1" s='vrayRemoveOverrideFromAllRenderLayers("vraySettings.width");setAttr "vraySettings.width" %1;' t="int" h="Set X resolution of the final image"/>
<mel n="y" p="1" s='vrayRemoveOverrideFromAllRenderLayers("vraySettings.height");setAttr "vraySettings.height" %1;' t="int" h="Set Y resolution of the final image"/>
<mel n="par" p="1" s='vrayRemoveOverrideFromAllRenderLayers("vraySettings.pixelAspect");setAttr "vraySettings.pixelAspect" %1;' t="float" h="Pixel Aspect Ratio for the rendered image"/>
<sep/>
<!-- ______________________________________________________________ -->
<sep desc="System options"/>
<mel n="threads" s='vrayRemoveOverrideFromAllRenderLayers("vraySettings.sys_max_threads");setAttr "vraySettings.sys_max_threads" %1;' p="1" t="int" h="Specify how many render threads to use (0-auto)"/>
<sep/>
<!-- ______________________________________________________________ -->
<sep desc="Render Layers and Passes:"/>
<mel n="rl" s='$rl="%1"' p="1" t="boolean|name(s)" h="Render each render layer separately"/>
<sep/>
<!-- ______________________________________________________________ -->
<sep desc="Mel callbacks"/>
<attrString n="preRender" s="defaultRenderGlobals.preMel" t="string" h="Mel code executed before rendering"/>
<attrString n="postRender" s="defaultRenderGlobals.postMel" t="string" h="Mel code executed after rendering"/>
<attrString n="preLayer" s="defaultRenderGlobals.preRenderLayerMel" t="string" h="Mel code executed before each render layer"/>
<attrString n="postLayer" s="defaultRenderGlobals.postRenderLayerMel" t="string" h="Mel code executed after each render layer"/>
<attrString n="preFrame" s="defaultRenderGlobals.preRenderMel" t="string" h="Mel code executed before each frame"/>
<attrString n="postFrame" s="defaultRenderGlobals.postRenderMel" t="string" h="Mel code executed after each frame"/>
<sep/>
<!-- ______________________________________________________________ -->
<sep desc=" *** Remember to place a space between option flags and their arguments. ***"/>
<sep desc="Any boolean flag will take the following values as TRUE: on, yes, true, or 1."/>
<sep desc="Any boolean flag will take the following values as FALSE: off, no, false, or 0."/>
<sep/>
<sep desc=" Examples:"/>
<sep desc=" render -r vray -cam persp -s 1 -e 10 -x 512 -y 512 scene_x.mb"/>
<sep desc=" render -r vray -cam persp -threads 1 -bake_node pCone1 -bake_map map1 scene_x.mb"/>
</renderer>

Просмотреть файл

@ -0,0 +1,14 @@
<DefValues>
<Value Name="OPEN_CHANGELOG" DataType="value">0</Value>
<Value Name="REVERT_INSTALL" DataType="value">1</Value>
<Value Name="MAYAROOT" DataType="value">/usr/autodesk/mayaIO2017</Value>
<Value Name="MODULEDEST" DataType="value">/usr/autodesk/modules/maya/2017</Value>
<Value Name="STDROOT" DataType="value">/usr/ChaosGroup/V-Ray/Maya2017-x64</Value>
<Value Name="PLUGINS" DataType="value">/usr/autodesk/mayaIO2017/vray</Value>
<Value Name="INSTALL_TYPE" DataType="value">0</Value>
<Value Name="REGISTER_RENDERSLAVE_SERVICE" DataType="value">0</Value>
<Value Name="MAYA_VERSION" DataType="value">2017</Value>
<Value Name="MAYA_MODULES_DIR" DataType="value">2017</Value>
<Value Name="REMOTE_LICENSE" DataType="value">0</Value>
<Value Name="SHOULDUNINSTALL" DataType="value">1</Value>
</DefValues>

Просмотреть файл

@ -0,0 +1,11 @@
ARG PARENT_TAG
ARG ACR_SERVER_REPO
FROM $ACR_SERVER_REPO/maya:$PARENT_TAG
ARG INSTALLER_SAS
COPY installMaya2018.sh /tmp/installMaya2018.sh
COPY maya2018.sh /usr/bin/maya2018.sh
RUN sh /tmp/installMaya2018.sh $INSTALLER_SAS

Просмотреть файл

@ -0,0 +1,11 @@
ARG PARENT_TAG
ARG ACR_SERVER_REPO
FROM $ACR_SERVER_REPO/maya:$PARENT_TAG
ARG INSTALLER_SAS
COPY installArnold.sh /tmp/installArnold.sh
COPY mtoa.mod /usr/autodesk/mayaIO2018/modules/mtoa.mod
RUN sh /tmp/installArnold.sh $INSTALLER_SAS

Просмотреть файл

@ -0,0 +1,13 @@
{
"containerImage": "$REPO_BASE/maya:$PARENT_TAG-$VER.arnold2023",
"installerFileBlob": "Centos/Maya2018/Arnold/MtoA-2.0.2.3-linux-2018.run",
"operatingSystem": "centos",
"metadata": {
"os": "CentOS 75",
"app": "maya",
"appVersion": "2018-Update2",
"renderer": "arnold",
"rendererVersion": "2.0.2.3",
"imageReferenceId" : "centos-75-container"
}
}

Просмотреть файл

@ -0,0 +1,21 @@
#!/bin/sh -x
echo 'INSTALLER_SAS='$1
INSTALLER_SAS=$1
mkdir -m777 /tmp/mtoa
echo '-=Download=-'
azcopy --source $INSTALLER_SAS --destination /tmp/mtoa/MtoA-linux-2018.run
echo '-=Extract and Install=-'
7za x /tmp/mtoa/MtoA-linux-2018.run -o/tmp/mtoa/
7za x /tmp/mtoa/MtoA-linux-2018 -o/tmp/mtoa/MtoA2018
7za x /tmp/mtoa/MtoA2018/package.zip -o/opt/solidangle/mtoa/2018/
cp /opt/solidangle/mtoa/2018/arnoldRenderer.xml /usr/autodesk/mayaIO2018/bin/rendererDesc/
chmod 755 -R /opt/solidangle
rm -rf /tmp/mtoa
echo '-=Install script complete=-'

Просмотреть файл

@ -0,0 +1,6 @@
+ mtoa any /opt/solidangle/mtoa/2018
PATH +:= bin
MAYA_PLUG_IN_PATH +:= plug-ins
MAYA_CUSTOM_TEMPLATE_PATH +:= scripts/mtoa/ui/templates
MAYA_SCRIPT_PATH +:= scripts/mtoa/mel
MAYA_RENDER_DESC_PATH = /opt/solidangle/mtoa/2018

Просмотреть файл

@ -0,0 +1,6 @@
{
"name": "container-maya-centos7-2018u2-arnold2023",
"template": "../templates/maya/render-arnold-linux-container/job.template.json",
"poolTemplate": "../templates/maya/render-arnold-linux-container/pool.template.json",
"expectedOutput": "maya-arnold_0001.exr"
}

Просмотреть файл

@ -0,0 +1,26 @@
{
"jobName":{
"value":"maya-centos7-2018u2-arnold2023"
},
"poolId":{
"value":"maya-centos7-2018u2-arnold2023"
},
"mayaVersion":{
"value":"Maya2018"
},
"inputFilegroup":{
"value":"myfilegroup"
},
"inputData":{
"value":"rendering"
},
"sceneFile":{
"value":"maya-arnold.mb"
},
"additionalflags":{
"value":"-of png"
},
"outputs":{
"value":"rendering-output"
}
}

Просмотреть файл

@ -0,0 +1 @@
1.0.0.centos7-1.0.0.2018u2-1.0.0.arnold2023

Просмотреть файл

@ -0,0 +1,11 @@
ARG PARENT_TAG
ARG ACR_SERVER_REPO
FROM $ACR_SERVER_REPO/maya:$PARENT_TAG
ARG INSTALLER_SAS
COPY installArnold.sh /tmp/installArnold.sh
COPY mtoa.mod /usr/autodesk/mayaIO2018/modules/mtoa.mod
RUN sh /tmp/installArnold.sh $INSTALLER_SAS

Просмотреть файл

@ -0,0 +1,13 @@
{
"containerImage": "$REPO_BASE/maya:$PARENT_TAG-$VER.arnold2103",
"installerFileBlob": "Centos/Maya2018/Arnold/MtoA-2.1.0.3-linux-2018.run",
"operatingSystem": "centos",
"metadata": {
"os": "CentOS 75",
"app": "maya",
"appVersion": "2018-Update2",
"renderer": "arnold",
"rendererVersion": "2.1.0.3",
"imageReferenceId" : "centos-75-container"
}
}

Просмотреть файл

@ -0,0 +1,21 @@
#!/bin/sh -x
echo 'INSTALLER_SAS='$1
INSTALLER_SAS=$1
mkdir -m777 /tmp/mtoa
echo '-=Download=-'
azcopy --source $INSTALLER_SAS --destination /tmp/mtoa/MtoA-linux-2018.run
echo '-=Extract and Install=-'
7za x /tmp/mtoa/MtoA-linux-2018.run -o/tmp/mtoa/
7za x /tmp/mtoa/MtoA-linux-2018 -o/tmp/mtoa/MtoA2018
7za x /tmp/mtoa/MtoA2018/package.zip -o/opt/solidangle/mtoa/2018/
cp /opt/solidangle/mtoa/2018/arnoldRenderer.xml /usr/autodesk/mayaIO2018/bin/rendererDesc/
chmod 755 -R /opt/solidangle
rm -rf /tmp/mtoa
echo '-=Install script complete=-'

Просмотреть файл

@ -0,0 +1,6 @@
+ mtoa any /opt/solidangle/mtoa/2018
PATH +:= bin
MAYA_PLUG_IN_PATH +:= plug-ins
MAYA_CUSTOM_TEMPLATE_PATH +:= scripts/mtoa/ui/templates
MAYA_SCRIPT_PATH +:= scripts/mtoa/mel
MAYA_RENDER_DESC_PATH = /opt/solidangle/mtoa/2018

Просмотреть файл

@ -0,0 +1,6 @@
{
"name": "container-maya-centos7-2018u2-arnold2103",
"template": "../templates/maya/render-arnold-linux-container/job.template.json",
"poolTemplate": "../templates/maya/render-arnold-linux-container/pool.template.json",
"expectedOutput": "maya-arnold_0001.exr"
}

Просмотреть файл

@ -0,0 +1,26 @@
{
"jobName":{
"value":"maya-centos7-2018u2-arnold2103"
},
"poolId":{
"value":"maya-centos7-2018u2-arnold2103"
},
"mayaVersion":{
"value":"Maya2018"
},
"inputFilegroup":{
"value":"myfilegroup"
},
"inputData":{
"value":"rendering"
},
"sceneFile":{
"value":"maya-arnold.mb"
},
"additionalflags":{
"value":"-of png"
},
"outputs":{
"value":"rendering-output"
}
}

Просмотреть файл

@ -0,0 +1 @@
1.0.0.centos7-1.0.0.2018u2-1.0.0.arnold2103

Просмотреть файл

@ -0,0 +1,11 @@
ARG PARENT_TAG
ARG ACR_SERVER_REPO
FROM $ACR_SERVER_REPO/maya:$PARENT_TAG
ARG INSTALLER_SAS
COPY installArnold.sh /tmp/installArnold.sh
COPY mtoa.mod /usr/autodesk/mayaIO2018/modules/mtoa.mod
RUN sh /tmp/installArnold.sh $INSTALLER_SAS

Просмотреть файл

@ -0,0 +1,13 @@
{
"containerImage": "$REPO_BASE/maya:$PARENT_TAG-$VER.arnold3101",
"installerFileBlob": "Centos/Maya2018/Arnold/MtoA-3.1.0.1-linux-2018.run",
"operatingSystem": "centos",
"metadata": {
"os": "CentOS 75",
"app": "maya",
"appVersion": "2018-Update2",
"renderer": "arnold",
"rendererVersion": "3.1.0.1",
"imageReferenceId" : "centos-75-container"
}
}

Просмотреть файл

@ -0,0 +1,21 @@
#!/bin/sh -x
echo 'INSTALLER_SAS='$1
INSTALLER_SAS=$1
mkdir -m777 /tmp/mtoa
echo '-=Download=-'
azcopy --source $INSTALLER_SAS --destination /tmp/mtoa/MtoA-linux-2018.run
echo '-=Extract and Install=-'
7za x /tmp/mtoa/MtoA-linux-2018.run -o/tmp/mtoa/
7za x /tmp/mtoa/MtoA-linux-2018 -o/tmp/mtoa/MtoA2018
7za x /tmp/mtoa/MtoA2018/package.zip -o/opt/solidangle/mtoa/2018/
cp /opt/solidangle/mtoa/2018/arnoldRenderer.xml /usr/autodesk/mayaIO2018/bin/rendererDesc/
chmod 755 -R /opt/solidangle
rm -rf /tmp/mtoa
echo '-=Install script complete=-'

Просмотреть файл

@ -0,0 +1,6 @@
+ mtoa any /opt/solidangle/mtoa/2018
PATH +:= bin
MAYA_PLUG_IN_PATH +:= plug-ins
MAYA_CUSTOM_TEMPLATE_PATH +:= scripts/mtoa/ui/templates
MAYA_SCRIPT_PATH +:= scripts/mtoa/mel
MAYA_RENDER_DESC_PATH = /opt/solidangle/mtoa/2018

Просмотреть файл

@ -0,0 +1,6 @@
{
"name": "container-maya-centos7-2018u2-arnold3101",
"template": "../templates/maya/render-arnold-linux-container/job.template.json",
"poolTemplate": "../templates/maya/render-arnold-linux-container/pool.template.json",
"expectedOutput": "maya-arnold_0001.exr"
}

Просмотреть файл

@ -0,0 +1,26 @@
{
"jobName":{
"value":"maya-centos7-2018u2-arnold3101"
},
"poolId":{
"value":"maya-centos7-2018u2-arnold3101"
},
"mayaVersion":{
"value":"Maya2018"
},
"inputFilegroup":{
"value":"myfilegroup"
},
"inputData":{
"value":"rendering"
},
"sceneFile":{
"value":"maya-arnold.mb"
},
"additionalflags":{
"value":"-of png"
},
"outputs":{
"value":"rendering-output"
}
}

Просмотреть файл

@ -0,0 +1 @@
1.0.0.centos7-1.0.0.2018u2-1.0.0.arnold3101

Просмотреть файл

@ -0,0 +1,13 @@
{
"containerImage": "$REPO_BASE/maya:$PARENT_TAG-$VER.2018u2",
"installerFileBlob": "Centos/Maya2018/Autodesk_MayaIO_2018_2_Update_Linux_64bit.run",
"operatingSystem": "centos",
"metadata": {
"os": "CentOS 75",
"app": "maya",
"appVersion": "2018-Update2",
"renderer": "mayasw",
"rendererVersion": "2018-Update2",
"imageReferenceId" : "centos-75-container"
}
}

Просмотреть файл

@ -0,0 +1,27 @@
#!/bin/sh -x
echo 'INSTALLER_SAS='$1
INSTALLER_SAS=$1
mkdir -m777 /tmp/maya2018 -p
mkdir -m777 /tmp/maya/Maya2018 -p
echo '-=Download=-'
azcopy --source $INSTALLER_SAS --destination /tmp/maya/Autodesk_MayaIO_2018_Linux_64bit.run
echo '-=Extract and Install=-'
7za e /tmp/maya/Autodesk_MayaIO_2018_Linux_64bit.run -o/tmp/maya/
7za e /tmp/maya/Autodesk_MayaIO_2018_Linux_64bit -o/tmp/maya/Maya2018/
chmod +x /tmp/maya/Maya2018/setup.sh
/tmp/maya/Maya2018/setup.sh 127.0.0.1
cp /usr/bin/maya2018.sh /usr/bin/maya.sh
chmod +x /usr/bin/maya2018.sh
chmod +x /usr/bin/maya.sh
rm -rf /tmp/maya2018
rm -rf /tmp/maya
rm -rf /usr/autodesk/mayaIO
echo '-=Install script complete=-'

Просмотреть файл

@ -0,0 +1,3 @@
#!/bin/bash
/usr/autodesk/mayaIO2018/bin/Render "$@"
exit $?

Просмотреть файл

@ -0,0 +1,6 @@
{
"name": "container-maya-centos7-2018u2",
"template": "../templates/maya/render-default-linux-container/job.template.json",
"poolTemplate": "../templates/maya/render-default-linux-container/pool.template.json",
"expectedOutput": "maya.exr.0001"
}

Просмотреть файл

@ -0,0 +1,26 @@
{
"jobName":{
"value":"maya-centos7-2018u2"
},
"poolId":{
"value":"maya-centos7-2018u2"
},
"mayaVersion":{
"value":"Maya2018"
},
"inputFilegroup":{
"value":"myfilegroup"
},
"inputData":{
"value":"rendering"
},
"sceneFile":{
"value":"maya.mb"
},
"additionalflags":{
"value":"-of png"
},
"outputs":{
"value":"rendering-output"
}
}

Просмотреть файл

@ -0,0 +1 @@
1.0.0.centos7-1.0.0.2018u2

Просмотреть файл

@ -0,0 +1,13 @@
ARG PARENT_TAG
ARG ACR_SERVER_REPO
FROM $ACR_SERVER_REPO/maya:$PARENT_TAG
ARG INSTALLER_SAS
COPY installVRay.sh /tmp/installVRay.sh
COPY vray_config2018.xml /tmp/vray/vray_config2018.xml
COPY VRayForMaya.module /usr/autodesk/mayaIO2018/modules/VRayForMaya.module
COPY vrayRenderer.xml /usr/autodesk/mayaIO2018/bin/rendererDesc/vrayRenderer.xml
RUN sh /tmp/installVRay.sh $INSTALLER_SAS

Просмотреть файл

@ -0,0 +1,13 @@
// Module file for Maya. Helps Maya find resources for VRayForMaya.
+ VRayForMaya2018x64 any /usr/autodesk/mayaIO2018/vray
PATH +:= bin
MAYA_SCRIPT_PATH +:=scripts
MAYA_PLUG_IN_PATH +:=plug-ins
PYTHONPATH +:=scripts
VRAY_FOR_MAYA2018_MAIN_x64 :=
VRAY_FOR_MAYA2018_PLUGINS_x64 := vrayplugins
VRAY_OSL_PATH_MAYA2018_x64 := opensl
XBMLANGPATH +:= icons
VRAY_PATH=/usr/autodesk/mayaIO2018/vray/bin
VRAY_TOOLS_MAYA2018_x64=/usr/ChaosGroup/V-Ray/Maya2018-x64/bin
VRAY_OSL_PATH_MAYA2018_x64=/usr/ChaosGroup/V-Ray/Maya2018-x64/opensl

Просмотреть файл

@ -0,0 +1,13 @@
{
"containerImage": "$REPO_BASE/maya:$PARENT_TAG-$VER.vray36004",
"installerFileBlob": "Centos/Maya2018/Vray/vray4batch_36004_maya2018_linux_x64",
"operatingSystem": "centos",
"metadata": {
"os": "CentOS 75",
"app": "maya",
"appVersion": "2018-Update2",
"renderer": "vray",
"rendererVersion": "36004",
"imageReferenceId" : "centos-75-container"
}
}

Просмотреть файл

@ -0,0 +1,16 @@
#!/bin/sh -x
echo 'INSTALLER_SAS='$1
INSTALLER_SAS=$1
echo '-=Download=-'
echo 'download vray4batch_maya2018_linux_x64'
azcopy --source $INSTALLER_SAS --destination /tmp/vray/vray4batch_maya2018_linux_x64
echo '-=Extract and Install=-'
chmod +x /tmp/vray/vray4batch_maya2018_linux_x64
/tmp/vray/vray4batch_maya2018_linux_x64 -gui=0 -configFile='/tmp/vray/vray_config2018.xml' -ignoreErrors=1
rm -rf /tmp/vray
echo '-=Install script complete=-'

Просмотреть файл

@ -0,0 +1,6 @@
{
"name": "container-maya-centos7-2018u2-vray36004",
"template": "../templates/maya/render-vray-linux-container/job.template.json",
"poolTemplate": "../templates/maya/render-vray-linux-container/pool.template.json",
"expectedOutput": "maya-vray.0001.png"
}

Просмотреть файл

@ -0,0 +1,26 @@
{
"jobName":{
"value":"maya-centos7-2018u2-vray36004"
},
"poolId":{
"value":"maya-centos7-2018u2-vray36004"
},
"mayaVersion":{
"value":"Maya2018"
},
"inputFilegroup":{
"value":"myfilegroup"
},
"inputData":{
"value":"rendering"
},
"sceneFile":{
"value":"maya-vray.mb"
},
"additionalflags":{
"value":"-of png"
},
"outputs":{
"value":"rendering-output"
}
}

Просмотреть файл

@ -0,0 +1 @@
1.0.0.centos7-1.0.0.2018u2-1.0.0.vray36004

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше