-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
42 lines (42 loc) · 1.14 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# author: mnoxx @ proton me
# date: Saturday, 24 September 2022 2:24:20 AM
# version: v1.0
# env: powershell(5.x), pwsh(7.x)
stages:
- build # dependancies
- pester # pester test script
- test_pwsh # test powershell core latest
- test_powershell # test powershell
- deploy_psprivate # deploy to psgallary private instance
- deploy_psgallary # deploy to psgallary
build-job:
stage: build
script:
- pwsh.exe
- write-host -f green "template ci\cd config successfull"
pester-job:
stage: pester
script:
- pwsh.exe
- write-host -f green "template ci\cd config successfull"
test-pwsh-job:
stage: test_pwsh
script:
- pwsh.exe
- write-host -f green "template ci\cd config successfull"
test-powershell-job:
stage: test_powershell
script:
- powershell.exe
- write-host -f green "template ci\cd config successfull"
psgallary-deploy-job:
stage: deploy_psgallary
script:
- pwsh.exe
psprivate-deploy-job:
stage: deploy_psprivate
script:
- pwsh.exe
- write-host -f green "template ci\cd config successfull"
#include:
# - template: auto-devops.gitlab-ci.yml