Update .gitlab-ci.yml file
This commit is contained in:
@ -16,7 +16,7 @@
|
|||||||
# This specific template is located at:
|
# This specific template is located at:
|
||||||
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
|
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
|
||||||
|
|
||||||
image: mcr.microsoft.com/powershell/test-deps:ubuntu-18.04
|
image: ubuntu
|
||||||
|
|
||||||
stages: # List of stages for jobs, and their order of execution
|
stages: # List of stages for jobs, and their order of execution
|
||||||
- build
|
- build
|
||||||
@ -25,6 +25,12 @@ stages: # List of stages for jobs, and their order of execution
|
|||||||
build-job: # This job runs in the build stage, which runs first.
|
build-job: # This job runs in the build stage, which runs first.
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y wget apt-transport-https software-properties-common
|
||||||
|
- source /etc/os-release
|
||||||
|
- wget -q https://packages.microsoft.com/config/ubuntu/$VERSION_ID/packages-microsoft-prod.deb
|
||||||
|
- dpkg -i packages-microsoft-prod.deb
|
||||||
|
- apt-get update && apt-get install -y powershell
|
||||||
- powershell Install-Module ps2exe -Confirm:$False -Force
|
- powershell Install-Module ps2exe -Confirm:$False -Force
|
||||||
- powershell ps2exe .\laps.ps1 -requireAdmin -noOutput -noError -title "LAPS" -description "Outil pour récupérer un mot de passe LAPS dans un Active Directory" -Company "Académie Nancy-Metz" -noconsole
|
- powershell ps2exe .\laps.ps1 -requireAdmin -noOutput -noError -title "LAPS" -description "Outil pour récupérer un mot de passe LAPS dans un Active Directory" -Company "Académie Nancy-Metz" -noconsole
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user