Skip to content
Snippets Groups Projects
Select Git revision
  • 849b4a489f1ff031d9b14ae57bd4719d1b070ccb
  • master default protected
  • 1.31
  • 4.28.0
  • 4.27.0
  • 4.26.0
  • 4.25.5
  • 4.25.4
  • 4.25.3
  • 4.25.2
  • 4.25.1
  • 4.25.0
  • 4.24.3
  • 4.24.2
  • 4.24.1
  • 4.24.0
  • 4.23.6
  • 4.23.5
  • 4.23.4
  • 4.23.3
  • 4.23.2
  • 4.23.1
  • 4.23.0
23 results

182.html

Blame
  • clean-up.nix 370 B
    {pkgs, ...}:
    pkgs.writeShellScriptBin "clean-up" ''
    
      echo "Cleaning up"
    
      echo "Removing credentials"
      ${pkgs.git}/bin/git config --global --unset credential.helper
      if [ -f /root/.docker/config.json ]; then ${pkgs.coreutils}/bin/rm /root/.docker/config.json; fi
      if [ -f .env-gitlab-ci ]; then ${pkgs.coreutils}/bin/rm .env-gitlab-ci; fi
    
      echo "Cleaned up"
    
    ''