Skip to content

Commit e3353de

Browse files
author
Sean
committed
update docs and tests
1 parent f967db4 commit e3353de

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,16 @@ A variety of Windows and Docker usage examples are available in the
2323
A Windows Nano Server image of this module is available here:
2424
[seabopo/pspodtester](https://hub.docker.com/r/seabopo/pspodtester)
2525

26-
The following docker command runs the web server:
26+
The following docker command runs the web server with testing options enabled:
2727
```
2828
docker run -e "PSPOD_PRESET_Webserver=1" -p 80:80 seabopo/pspodtester:latest
2929
```
3030

31+
The following docker command runs the web server without testing options enabled:
32+
```
33+
docker run -e "PSPOD_PRESET_Webserver=1" -e "PSPOD_NOADMIN=1" -p 80:80 seabopo/pspodtester:latest
34+
```
35+
3136
This is a sample AKS deployment of the webserver:
3237
```
3338
apiVersion: apps/v1
@@ -63,6 +68,8 @@ spec:
6368
env:
6469
- name: PSPOD_APP_NAME
6570
value: "AppTester-CD"
71+
- name: PSPOD_NOADMIN
72+
value: "1"
6673
- name: PSPOD_PRESET_Webserver
6774
value: "1"
6875
- name: PSPOD_TEST_MessagePrefix

tests/psPodTester-tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ if ( $Test.DockerContainer )
172172
# Test Webserver Preset.
173173
docker run --mount type=bind,source=C:\Repos\Github\psPodTester\psPodTester,target=C:\psPodTester `
174174
-e "PSPOD_PRESET_Webserver=1" `
175-
-e "PSPOD_TEST_CpuThreads=2" `
175+
-e "PSPOD_NOADMIN=1" `
176176
-it --user ContainerAdministrator `
177177
-p 80:80 `
178178
mcr.microsoft.com/powershell:lts-nanoserver-1809 `

0 commit comments

Comments
 (0)