iqsharp/acr
IsraelMiles e5c8b5296f
Extend testing CI to re-run conda tests in self-contained environment (#597)
* run conda tests in linux container

* use steps-conda template

* use windows container

* use mcr for container

* use powershell container

* use windowsservercore tag for powershell container

* rollback to nanoserver version 1809

* use window server core instead of nano

* use nanoserver with powershell flag set to false

* add empty files for acr management

* Update Dockerfile to download conda for powershell

* use acr image for windows conda tests

* run container in docker task

* use container with qdkimages-acr endpoint

* use conda directly in scripts

* update syntax to create, install and activate conda environment

* use conda to activate environment

* call conda init

* separate conda commands into individual calls

* activate conda env in steps-conda

* call conda directly

* remove conda for pwsh

* Include eval conda shell.bash hook

* Use script task and pwsh inline

* Make call to source activate conda_env

* break up steps for conda environment creation

* call conda hook before activation

* call conda activate on all images

* split conda env steps into pwsh and script tasks

* install conda-build in base env instead of conda_env

* run pwsh from pwsh

* use variables for more concise syntax

* add dockerfile with miniconda installed

* consolidate arguments to tasks

* consolidate tasks to use variables

* install powershell to linux container

* install git to linux image

* add readme for dockerfiles

* Combine steps to single layer to reduce image size

Co-authored-by: Cassandra Granade <chgranad@microsoft.com>

* avoid adding conda to path to prevent dependency leakage

* refactor dockerfile

* update conda path for linux

* add conda path for mac

* activate conda shell hook for conda creation and package install

* update dockerfile and add new action workflow

* update images to be from public

* attempt to use windows-latest image and container

* set e2e ref back to main

* Push only when Dockerfile images are changed

Co-authored-by: Cassandra Granade <chgranad@microsoft.com>

* Remove unused variable

Co-authored-by: Cassandra Granade <chgranad@microsoft.com>

* Refactor image pushing to reusable function

Co-authored-by: Cassandra Granade <chgranad@microsoft.com>

* use containers from mcr instead of internal acr

Co-authored-by: Cassandra Granade <chgranad@microsoft.com>
2022-05-04 14:32:08 -07:00
..
purge-old-images.yml Extend testing CI to re-run conda tests in self-contained environment (#597) 2022-05-04 14:32:08 -07:00