NETTİM
← Kod Sonuçlarına Dön
YAML MySQL SQL sorguları Ağ işlemleri Sistem yönetimi Yapılandırma dosyaları Lisans: Belirtilmemis

YAML — .gitlab-ci.yml

YAML MySQL entegrasyonlu — SQL sorguları, Ağ işlemleri, Sistem yönetimi. SQL sorgusu içerir.
Sınırlı Önizleme Politikası: Bu kodun açık kaynak lisansı doğrulanamadığı için telif kuralları gereği yalnızca kısa önizlemesi gösterilmektedir. Tam kod için orijinal kaynağa gidin ↗.
.gitlab-ci.yml • YAML
# Select image from https://hub.docker.com/_/php/
image: php:8.1

# Select what we should cache
cache:
  paths:
    - vendor/

before_script:
  # Install git, postgres and zip library, the php image doesn't have installed
  - apt update -yqq
  - apt install git libpq-dev libzip-dev zip -yqq

  # Install database driver and zip
  - docker-php-ext-install pdo_mysql pdo_pgsql zip

  # Install composer
  - curl -sS https://getcomposer.org/installer | php

  # Install all project dependencies
  - php composer.phar install

services:
  - mysql
  - postgres

variables:
  # Configure mysql service (https://hub.docker.com/_/mysql/)
  MYSQL_DATABASE: hello_world_test
  MYSQL_ROOT_PASSWORD: mysql
  POSTGRES_DB: hello_world_test
  POSTGRES_USER: postgres
  POSTGRES_PASSWORD: postgres

test:mysql:
  script:

Tespit Edilen SQL Sorguları

Select image from https://hub.docker.com/_/php/
Select what we should cache

Benzer Kod Örnekleri

YAML — tests.yml
YAML • SQL sorguları
YAML — feature_request.yml
YAML • SQL sorguları
YAML — config.yml
YAML • SQL sorguları
YAML — bug_report.yml
YAML • SQL sorguları