Skip to content
Snippets Groups Projects
Select Git revision
  • d89dae8913c8a3296bd300b71b56d4fdfa9a78e2
  • 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

gitlab-ci-1.2.yml

Blame
    • Bartek Jaskulski's avatar
      d89dae89
      feat: add npm registry configuration · d89dae89
      Bartek Jaskulski authored
      This commit introduces a new npm registry configuration file and updates the prepare script to support npm package publishing.
      
      The new `includes/nodejs/registry.yml` file defines variables and a job for publishing npm packages to the GitLab package registry. It allows specifying the npm registry scope and configures the `.npmrc` file with the necessary authentication token.
      
      The `includes/prepare.yml` file is updated to configure the npm registry for both `octolize` and `wpdesk` scopes, ensuring that npm packages can be properly installed and published
      Verified
      d89dae89
      History
      feat: add npm registry configuration
      Bartek Jaskulski authored
      This commit introduces a new npm registry configuration file and updates the prepare script to support npm package publishing.
      
      The new `includes/nodejs/registry.yml` file defines variables and a job for publishing npm packages to the GitLab package registry. It allows specifying the npm registry scope and configures the `.npmrc` file with the necessary authentication token.
      
      The `includes/prepare.yml` file is updated to configure the npm registry for both `octolize` and `wpdesk` scopes, ensuring that npm packages can be properly installed and published
    gitlab-ci-1.2.yml 1.64 KiB
    variables:
      WPDESK_CI_VERSION: "2025.04.03"
      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: "6.2"
      MINIMAL_WC_TESTED_UP: "8.1"
      DEMO_DEPLOY_TARGETS:
        value: "/(wpdesk|octolize)/"
        description: "Override this variable in project's .gitlab-ci.yml to support other servers. List supported targets in a regexg expression. To support all possible targets just use \"/.*/\". Currently supported targets: demo.wpdesk.org, demo.wpdesk.pl, demo.octolize.com, stage.demo.octolize.com, demo.flexibleinvoices."
    
    stages:
      - prepare-vendor
      - prepare-node
      - prepare-translations-and-tests
      - tools
      - tests
      - pre-deploy
      - deploy
      - post-deploy
    
    include:
      - project: 'wpdesk/gitlab-ci'
        ref: 'master'
        file:
          - '/includes/deploy.yml'
          - '/includes/deploy/demo.yml'
          - '/includes/mixins/.after-codeception.yml'
          - '/includes/mixins/.composer-auth.yml'
          - '/includes/mixins/.skip-mr.yml'
          - '/includes/nodejs/registry.yml'
          - '/includes/prepare.yml'
          - '/includes/tests/codeception-integration.yml'
          - '/includes/tests/codeception-parallel.yml'
          - '/includes/tests/codeception.yml'
          - '/includes/tests/integration.yml'
          - '/includes/tests/lint.yml'
          - '/includes/tests/static-analysis.yml'
          - '/includes/tests/unit.yml'
          - '/includes/tests/version-cohesion.yml'
          - '/includes/translations.yml'