mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
55 lines
2.4 KiB
YAML
55 lines
2.4 KiB
YAML
version: "3"
|
|
|
|
# This docker-compose is for testing the installation process.
|
|
# In starts the installation and executes also build of get-started example.
|
|
services:
|
|
idf-setup-online-test:
|
|
image: mcr.microsoft.com/windows/servercore:1809
|
|
command: powershell -c "C:/Scripts/Install-Idf.ps1 -Installer 'c:/Output/esp-idf-tools-setup-online-unsigned.exe' -IdfVersion ${IDF_VERSION}; C:/Scripts/Test-IdfCmd.ps1; C:/Scripts/Test-IdfPowerShell.ps1;; powershell ;exit $$LASTEXITCODE"
|
|
tmpfs:
|
|
- C:\Users\ContainerAdministrator\.espressif
|
|
volumes:
|
|
- type: bind
|
|
source: C:\projects\esp-idf\tools\windows\tool_setup\Output
|
|
target: C:\Output
|
|
read_only: true
|
|
- type: bind
|
|
source: C:\projects\esp-idf\tools\windows\tool_setup\Scripts
|
|
target: C:\Scripts
|
|
read_only: true
|
|
|
|
idf-setup-offline-test:
|
|
image: mcr.microsoft.com/windows/servercore:1809
|
|
command: powershell -c "C:/Scripts/Install-Idf.ps1 -Installer 'c:/Output/esp-idf-tools-setup-offline-unsigned.exe' -IdfVersion ${IDF_VERSION}; C:/Scripts/Test-IdfCmd.ps1; C:/Scripts/Test-IdfPowerShell.ps1; powershell ;exit $$LASTEXITCODE"
|
|
tmpfs:
|
|
- C:\Users\ContainerAdministrator\.espressif
|
|
volumes:
|
|
- type: bind
|
|
source: C:\projects\esp-idf\tools\windows\tool_setup\Output
|
|
target: C:\Output
|
|
read_only: true
|
|
- type: bind
|
|
source: C:\projects\esp-idf\tools\windows\tool_setup\Scripts
|
|
target: C:\Scripts
|
|
read_only: true
|
|
|
|
idf-setup-precached-test:
|
|
image: mcr.microsoft.com/windows/servercore:1809
|
|
command: powershell -c "C:/Scripts/Prepare-Cache.ps1 -IdfVersion ${IDF_VERSION}; C:/Scripts/Install-Idf.ps1 -Installer 'c:/Output/esp-idf-tools-setup-online-unsigned.exe' -IdfVersion ${IDF_VERSION}; C:/Scripts/Test-IdfCmd.ps1; C:/Scripts/Test-IdfPowerShell.ps1; powershell ;exit $$LASTEXITCODE"
|
|
tmpfs:
|
|
- C:\Users\ContainerAdministrator\.espressif
|
|
volumes:
|
|
- type: bind
|
|
source: C:\projects\esp-idf\tools\windows\tool_setup\Output
|
|
target: C:\Output
|
|
read_only: true
|
|
- type: bind
|
|
source: C:\projects\esp-idf\tools\windows\tool_setup\Scripts
|
|
target: C:\Scripts
|
|
read_only: true
|
|
# releases volume to speed up installation and avoid downloading of files
|
|
- type: bind
|
|
source: C:\projects\esp-tests\installer-docker-runner\.espressif\
|
|
target: C:\Cache
|
|
read_only: true
|