"Fossies" - the Fresh Open Source Software Archive

Member "ispconfig3_install/.gitlab-ci.yml" (8 Jun 2021, 1565 Bytes) of package /linux/privat/ISPConfig-3.2.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for ".gitlab-ci.yml": 3.2.4_vs_3.2.5.

    1 # Defines stages which are to be executed
    2 stages:
    3   - syntax
    4   - syntax_diff
    5   - test
    6   - build
    7 
    8 #
    9 ### Stage syntax
   10 #
   11 
   12 syntax:lint:
   13   stage: syntax
   14   image: edbizarro/gitlab-ci-pipeline-php:7.2
   15   allow_failure: false
   16   only:
   17     - schedules
   18     - web
   19     - merge_requests
   20 
   21   script:
   22     - echo "Syntax checking PHP files"
   23     - bash ./.git-scripts/syntax.sh
   24 
   25 
   26 syntax_diff:lint:
   27   stage: syntax
   28   image: edbizarro/gitlab-ci-pipeline-php:7.2
   29   allow_failure: false
   30   only:
   31     - web
   32     - pushes
   33     - branches
   34 
   35   script:
   36     - echo "Syntax checking PHP files"
   37     - bash ./.git-scripts/syntax.sh commit
   38 
   39 #syntax:lint:
   40 #  stage: syntax
   41 #  image: edbizarro/gitlab-ci-pipeline-php:7.2
   42 #  allow_failure: false
   43 #  only:
   44 #    - schedules
   45 #    - web
   46 #    - merge_requests
   47 #
   48 #  script:
   49 #    - composer require overtrue/phplint
   50 #    - echo "Syntax checking PHP files"
   51 #    - echo "For more information http://www.icosaedro.it/phplint/"
   52 #    - vendor/bin/phplint
   53 
   54 
   55 test:install:
   56   stage: test
   57   image: jerob/docker-ispconfig
   58   only:
   59     - schedules
   60     - web
   61   script:
   62     - $CI_PROJECT_DIR/helper_scripts/test_install_docker.sh
   63     - apt-get update
   64     - apt-get --yes install curl
   65     - curl --insecure https://127.0.0.1:8080/login/
   66     - ps xaf
   67 
   68 
   69 build:package:
   70     stage: build
   71     image: edbizarro/gitlab-ci-pipeline-php:7.2
   72     only:
   73         refs:
   74             - /^\d+\.\d+\.\d+$/
   75     except:
   76         - branches
   77         - merge_requests
   78         - schedules
   79         - pushes
   80     script:
   81         - echo "Building release."
   82         
   83     when: manual
   84     allow_failure: false