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

YAML — .gitlab-ci.yml

YAML — SQL sorguları, Sistem yönetimi, Yapılandırma dosyaları. 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
# Runs the checks that otherwise only happen when somebody remembers to run
# them, on every push and every merge request. One job rather than three,
# because starting a runner costs more minutes than the tests themselves.

workflow:
  rules:
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
    # A push to a branch with an open merge request is already covered by
    # the merge request's own pipeline, so do not pay for it twice.
    - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
      when: never
    - if: $CI_COMMIT_BRANCH
    - if: $CI_COMMIT_TAG

tests:
  # The same Python the Docker image ships with, not whatever this machine has.
  image: python:3.12-slim
  variables:
    PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
    PIP_DISABLE_PIP_VERSION_CHECK: "1"
  cache:
    key:
      files:
        - requirements.txt
        - requirements-dev.txt
    paths:
      - .cache/pip
  rules:
    # A release tag points at a commit dev and main have already tested, and
    # a tag pipeline counts every file as changed, so the tests sit this one out.
    - if: $CI_COMMIT_TAG
      when: never
    # A commit that only touches the README or the changelog cannot break
    # anything, so it does not spend minutes proving it.
    - changes:
        - app/**/*

Tespit Edilen SQL Sorguları

with an open merge request is already covered by
with, not whatever this machine has.
update -qq && apt-get install -y -qq --no-install-recommends nodejs > /dev/null

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ı