Skip to content
Snippets Groups Projects
Select Git revision
  • e3a368f72b9bb3e3590e0ef1a4ac6bd4b725a553
  • master default protected
  • 1.31
  • 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
  • 4.24.2
  • 4.24.1
  • 4.24.0
  • 4.23.6
  • 4.23.5
  • 4.23.4
23 results

.jshintc

Blame
  • .gitlab-ci.yml 1.50 KiB
    
    variables:
      NIXOS_VERSION: "23.11"
      NIXPKGS_ALLOW_UNFREE: "1"
      NIXPKGS_ALLOW_INSECURE: "1"
      GIT_DEPTH: 10
    
    stages:
      - test
      - release
      - 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:
      - nix develop .#gitlab --command clean-up
    
    tests:
      stage: test
      tags:
        - nixos-gen3
      script:
        - nix develop .#gitlab --command run-ci-tests
      cache:
        untracked: true
        key:
          files:
            - pnpm-lock.yaml
        paths:
          - node_modules/
      rules:
        - if: $DEPLOY_VERSION == null
    
    web-tests:
      stage: test
      tags:
        - nixos-gen3
      script:
        -  nix develop .#gitlab --command run-ci-web-tests
      cache:
        untracked: true
        key:
          files:
            - pnpm-lock.yaml
        paths:
          - node_modules/
      artifacts:
        paths:
          - screenshot.png
      rules:
        - if: $DEPLOY_VERSION == null
    
    release:
      stage: release
      tags:
        - nixos-gen3
      script:
        - nix develop .#gitlab --command release
      when: on_success
      rules:
        - if: $DEPLOY_VERSION == null && $CI_COMMIT_BRANCH == "master"
          
    deploy:
      stage: deploy
      tags: