Another DinD test
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Jacob Kiers 2022-08-10 08:58:08 +00:00
parent 30953a0774
commit 4d34046992
1 changed files with 21 additions and 24 deletions

View File

@ -14,29 +14,26 @@ steps:
commands: commands:
- cargo check - cargo check
- apt-get update && apt-get install -y podman - apt-get update && apt-get install -y podman
# - apt-get update && apt-get install -y ca-certificates curl gnupg lsb-release - apt-get update && apt-get install -y ca-certificates curl gnupg lsb-release
# - mkdir -p /etc/apt/keyrings && curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg - mkdir -p /etc/apt/keyrings && curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
# - echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" >> /etc/apt/sources.list.d/docker.list - echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" >> /etc/apt/sources.list.d/docker.list
# - apt-get update && apt-get install -y docker-ce-cli - apt-get update && apt-get install -y docker-ce-cli
# - docker info - docker info
# - docker image list - set
- echo 'unqualified-search-registries = ["docker.io"]' >> /etc/containers/registries.conf - export CROSS_DOCKER_IN_DOCKER=true
- echo "[storage]\ndriver = \"vfs\"" >> /etc/containers/storage.conf - set
- podman info - cargo install cross --git https://github.com/cross-rs/cross
- mount - cross build --release --target aarch64-unknown-linux-gnu
- podman run --rm hello-world - ls -lahR target/
# - cargo install cross --git https://github.com/cross-rs/cross
# - cross build --release --target aarch64-unknown-linux-gnu
# - ls -lahR target/
# services: services:
# - name: docker - name: docker
# image: docker:dind image: docker:dind
# privileged: true privileged: true
# volumes: volumes:
# - name: dockersock - name: dockersock
# path: /var/run path: /var/run
# volumes: volumes:
# - name: dockersock - name: dockersock
# temp: {} temp: {}