From 59ae9c536ec65e756cca813e7b6110adbc140f5e Mon Sep 17 00:00:00 2001 From: Gal Szkolnik Date: Fri, 21 Jul 2023 04:45:58 +0000 Subject: [PATCH] Moving things around to make working more streamlined --- .gitignore | 2 ++ docker-compose.yml | 23 +++++++++++++++++++ 00-Setup.md => src/ASSIGNMENT-01/00-Setup.md | 0 .../ASSIGNMENT-01/ASSIGNMENT-01.md | 0 .../ASSIGNMENT-01/ASSIGNMENT-01.ps1 | 0 .../ASSIGNMENT-01/Connect-AppCert.ps1 | 0 .../ASSIGNMENT-01/Create-Cert.ps1 | 0 .../ASSIGNMENT-01/Load-Cert.ps1 | 0 8 files changed, 25 insertions(+) create mode 100644 .gitignore create mode 100644 docker-compose.yml rename 00-Setup.md => src/ASSIGNMENT-01/00-Setup.md (100%) rename ASSIGNMENT-01.md => src/ASSIGNMENT-01/ASSIGNMENT-01.md (100%) rename ASSIGNMENT-01.ps1 => src/ASSIGNMENT-01/ASSIGNMENT-01.ps1 (100%) rename Connect-AppCert.ps1 => src/ASSIGNMENT-01/Connect-AppCert.ps1 (100%) rename Create-Cert.ps1 => src/ASSIGNMENT-01/Create-Cert.ps1 (100%) rename Load-Cert.ps1 => src/ASSIGNMENT-01/Load-Cert.ps1 (100%) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4058889 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +data +.vscode diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..53288f2 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,23 @@ +version: "3" + +services: + pwsh-azure: + image: mcr.microsoft.com/azure-powershell + restart: "no" + entrypoint: "pwsh" + working_dir: /data + volumes: + - ./data:/data + - ./src:/data/src + - ./data/.dotnet:/root/.dotnet + + pwsh-msgraph-sdk: + image: mcr.microsoft.com/microsoftgraph/powershell + restart: "no" + entrypoint: "pwsh" + working_dir: /data + volumes: + - ./data:/data + - ./src:/data/src + - ./data/.dotnet:/root/.dotnet + diff --git a/00-Setup.md b/src/ASSIGNMENT-01/00-Setup.md similarity index 100% rename from 00-Setup.md rename to src/ASSIGNMENT-01/00-Setup.md diff --git a/ASSIGNMENT-01.md b/src/ASSIGNMENT-01/ASSIGNMENT-01.md similarity index 100% rename from ASSIGNMENT-01.md rename to src/ASSIGNMENT-01/ASSIGNMENT-01.md diff --git a/ASSIGNMENT-01.ps1 b/src/ASSIGNMENT-01/ASSIGNMENT-01.ps1 similarity index 100% rename from ASSIGNMENT-01.ps1 rename to src/ASSIGNMENT-01/ASSIGNMENT-01.ps1 diff --git a/Connect-AppCert.ps1 b/src/ASSIGNMENT-01/Connect-AppCert.ps1 similarity index 100% rename from Connect-AppCert.ps1 rename to src/ASSIGNMENT-01/Connect-AppCert.ps1 diff --git a/Create-Cert.ps1 b/src/ASSIGNMENT-01/Create-Cert.ps1 similarity index 100% rename from Create-Cert.ps1 rename to src/ASSIGNMENT-01/Create-Cert.ps1 diff --git a/Load-Cert.ps1 b/src/ASSIGNMENT-01/Load-Cert.ps1 similarity index 100% rename from Load-Cert.ps1 rename to src/ASSIGNMENT-01/Load-Cert.ps1