diff --git a/.drone.yml b/.drone.yml index a658fc31..84ae0433 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,9 +15,8 @@ steps: - echo "Host git.b12f.io" >> ~/.ssh/config - echo " Port 2222" >> ~/.ssh/config - chmod -R 600 ~/.ssh - - id - - whoami - - cat ~/.ssh/config + # This is a hack because nixery containers contain no passwd file, which openssh wants to read + - echo "root:x:0:0:System administrator:/root:/run/current-system/sw/bin/bash" >> /etc/passwd - git clone -b devos git@git.b12f.io:pub-solar/os - cd os - git remote add devos https://github.com/divnix/devos.git @@ -41,6 +40,8 @@ steps: - echo "Host git.b12f.io" >> ~/.ssh/config - echo " Port 2222" >> ~/.ssh/config - chmod -R 600 ~/.ssh + # This is a hack because nixery containers contain no passwd file, which openssh wants to read + - echo "root:x:0:0:System administrator:/root:/run/current-system/sw/bin/bash" >> /etc/passwd - git clone -b core git@git.b12f.io:pub-solar/os - cd os - git fetch