mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
908e8cf338
The distros may use different sphinx builder paths, for example, by exporting of SPHINXBUILD env var. Signed-off-by: Stanislav Levin <slev@altlinux.org> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
parameters:
|
|
imageName: 'freeipa-azure-builder:latest'
|
|
|
|
steps:
|
|
- script: |
|
|
set -e
|
|
echo '{ "ipv6": true, "fixed-cidr-v6": "2001:db8::/64" }' > docker-daemon.json
|
|
sudo mkdir -p /etc/docker
|
|
sudo cp docker-daemon.json /etc/docker/daemon.json
|
|
sudo chown root:root /etc/docker/daemon.json
|
|
sudo systemctl restart docker
|
|
sudo modprobe ip6_tables
|
|
displayName: Configure containerization to allow IPv6 network
|
|
|
|
- script: |
|
|
set -e
|
|
sudo modprobe {nfs,nfsd}
|
|
displayName: Configure NFS to allow NFS server/client within containers
|
|
|
|
- task: DownloadPipelineArtifact@0
|
|
displayName: Download prebuilt packages '$(IPA_PACKAGES_ARTIFACT)'
|
|
inputs:
|
|
artifactName: $(IPA_PACKAGES_ARTIFACT)
|
|
targetPath: $(Build.Repository.LocalPath)/dist
|
|
|
|
- task: DownloadPipelineArtifact@0
|
|
displayName: Download pre-built container '$(IPA_IMAGE_ARTIFACT)'
|
|
inputs:
|
|
artifactName: $(IPA_IMAGE_ARTIFACT)
|
|
targetPath: $(Build.Repository.LocalPath)
|
|
|
|
- script: |
|
|
set -e
|
|
docker load --input $(Build.Repository.LocalPath)/freeipa-azure-builder-container.tar.gz
|
|
docker images
|
|
docker inspect freeipa-azure-builder:latest
|
|
displayName: Import pre-built container to the engine
|