Skip to content
Snippets Groups Projects
Select Git revision
  • 6668e118a280afe057ae9bde1a4741e76a94462f
  • master default protected
  • feat/npm-publish
  • feat/demo-deploy
  • change-demo-deploy
  • remove-smoke
  • feat/acceptance-tests
  • feature/deploy-composer.json
  • feature/mysql-bin-logs
  • skip-codecept-for-libs
  • include-composer-json
  • exclude-wp-assets
  • update_codecept_image
  • fix/silenced-copy
  • remove-free-translations
  • codeception-with-optional-step
  • improve-parallelization
  • linter-exit
  • change-images
  • fix/linter
  • globally-raise-mem-limit
  • no-symlink2
22 results

deploy.yml

Blame
  • gitlab-ci-1.2.yml 2.73 KiB
    variables:
      WPDESK_CI_VERSION: "2023.02.1"
      MYSQL_ROOT_PASSWORD: "mysql"
      MYSQL_DATABASE: "wptest"
      MYSQL_USER: "mysql"
      MYSQL_PASSWORD: "mysql"
      MYSQL_INNODB_LOG_BUFFER_SIZE: "32M"
      PHP_ERROR_REPORTING: "E_ALL"
      COMPOSER_ALLOW_SUPERUSER: "1"
      COMPOSER_MEMORY_LIMIT: "-1"
      GIT_STRATEGY: "fetch"
      CONTRIBUTORS: "wpdesk,dyszczo,grola,piotrpo,marcinkolanko"
      MINIMAL_WP_TESTED_UP: "5.4"
      MINIMAL_WC_TESTED_UP: "4.1"
    
    stages:
      - prepare-vendor
      - prepare-node
      - prepare-translations-and-tests
      - tools
      - tests
      - pre-deploy
      - smoke-tests
      - deploy
      - post-deploy
    
    include:
      - project: 'wpdesk/gitlab-ci'
        ref: 'master'
        file: '/includes/prepare.yml'
      - project: 'wpdesk/gitlab-ci'
        ref: 'master'
        file: '/includes/tests/lint.yml'
      - project: 'wpdesk/gitlab-ci'
        ref: 'master'
        file: '/includes/tests/unit.yml'
      - project: 'wpdesk/gitlab-ci'
        ref: 'master'
        file: '/includes/metrics.yml'
      - project: 'wpdesk/gitlab-ci'
        ref: 'master'
        file: '/includes/tests/codeception-integration.yml'
      - project: 'wpdesk/gitlab-ci'
        ref: 'master'
        file: '/includes/tests/codeception.yml'
      - project: 'wpdesk/gitlab-ci'
        ref: 'master'
        file: '/includes/tests/codeception-parallel.yml'
      - project: 'wpdesk/gitlab-ci'
        ref: 'master'
        file: '/includes/tests/codeception-smoke.yml'
      - project: 'wpdesk/gitlab-ci'
        ref: 'master'
        file: '/includes/tests/integration.yml'
      - project: 'wpdesk/gitlab-ci'
        ref: 'master'
        file: '/includes/deploy.yml'
      - project: 'wpdesk/gitlab-ci'
        ref: 'master'
        file: '/includes/pages.yml'
    
    check version cohesion:
      stage: tests
      tags:
        - deploy
      rules:
        - if: $IS_LIBRARY
          when: never
        - if: $CI_COMMIT_TAG
      script: