Skip to content
Snippets Groups Projects
Select Git revision
  • 69cd5e4edac9caac2bb06ef1b38f2a36125c187a
  • master default protected
  • 1.31
  • 4.33.1
  • 4.33.0
  • 4.32.2
  • 4.32.1
  • 4.32.0
  • 4.31.0
  • 4.30.1
  • 4.30.0
  • 4.29.1
  • 4.29.0
  • 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
23 results

.gitlab-ci.yml

Blame
  • .gitlab-ci.yml 847 B
    
    variables:
      NIXOS_VERSION: "23.11"
      NIXPKGS_ALLOW_UNFREE: "1"
      NIXPKGS_ALLOW_INSECURE: "1"
      GIT_DEPTH: 10
    
    stages:
      - test
      - deploy 
    
    #before_script:
    #  - git config --global user.email "${GITLAB_USER_EMAIL}"
    #  - git config --global user.name "${GITLAB_USER_NAME}"
    #  - git config --global credential.helper '!f() { echo "username=gitlab-ci-token"; echo "password=${CI_JOB_TOKEN}"; }; f'
    #  - git config --global pull.rebase true
    #  - git config --global http.sslVerify "false"
    
    after_script:
      - if [ -f .env-gitlab-ci ]; then rm .env-gitlab-ci; fi
    
    test:
      stage: test
      tags:
        - nixos-gen3
      script:
        -  nix develop .#gitlab --command run-ci-tests
    
    #deploy:
    #  stage: deploy
    #  tags:
    #    - nixos-gen3
    #  script:
    #    - nix develop --command deploy
    #  after_script:
    #    - nix develop --command clean-up 
    #
    #  when: on_success