2019-02-23 14:23:17 -06:00
|
|
|
steps:
|
|
|
|
- script: |
|
2019-06-15 02:27:46 -05:00
|
|
|
set -e
|
2019-02-23 14:23:17 -06:00
|
|
|
echo '{ "ipv6": true, "fixed-cidr-v6": "2001:db8::/64" }' > docker-daemon.json
|
2019-06-04 23:36:58 -05:00
|
|
|
sudo mkdir -p /etc/docker
|
2019-02-23 14:23:17 -06:00
|
|
|
sudo cp docker-daemon.json /etc/docker/daemon.json
|
|
|
|
sudo chown root:root /etc/docker/daemon.json
|
|
|
|
sudo systemctl restart docker
|
2019-05-17 07:57:55 -05:00
|
|
|
sudo modprobe ip6_tables
|
2019-02-23 14:23:17 -06:00
|
|
|
displayName: Configure containerization to allow IPv6 network
|
|
|
|
- task: DownloadPipelineArtifact@0
|
|
|
|
displayName: Download prebuilt packages
|
|
|
|
inputs:
|
|
|
|
artifactName: 'packages-$(Build.BuildId)-$(Agent.OS)-$(Agent.OSArchitecture)'
|
|
|
|
targetPath: $(Agent.BuildDirectory)/s/dist
|
|
|
|
- task: DownloadPipelineArtifact@0
|
|
|
|
displayName: Download pre-built container
|
|
|
|
inputs:
|
|
|
|
artifactName: 'image-$(Build.BuildId)-$(Agent.OS)-$(Agent.OSArchitecture)'
|
|
|
|
targetPath: $(Agent.BuildDirectory)/s
|
|
|
|
- script: |
|
2019-06-15 02:27:46 -05:00
|
|
|
set -e
|
2019-02-23 14:23:17 -06:00
|
|
|
docker load --input $(Agent.BuildDirectory)/s/freeipa-fedora-builder-container.tar.gz
|
|
|
|
docker images
|
|
|
|
docker inspect freeipa-fedora-builder:latest
|
|
|
|
displayName: Import pre-built container to the engine
|