Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Les fonctionnalités d'intégration continue (CI) de Looker vous permettent d'exécuter des tests sur votre projet LookML afin de proposer des expériences de données plus fiables, efficaces et conviviales. Vous pouvez utiliser les outils de validation de la CI pour détecter les problèmes liés à SQL, aux tests de données, au contenu et à LookML avant qu'ils ne passent en production. Vous pouvez ainsi vérifier votre LookML et éviter les erreurs de requête pour vos utilisateurs. Vous pouvez également configurer les validateurs d'intégration continue pour qu'ils s'exécutent automatiquement lorsqu'une demande d'extraction;extraction est envoyée à votre dépôt LookML.
La validation continue est composée des validateurs suivants, qui exécutent différentes vérifications sur votre instance Looker:
Validateur SQL : vérifie que les dimensions de vos explorations s'exécutent correctement sur votre base de données.
Pour utiliser ces validateurs sur votre instance LookML, vous pouvez créer une suite CI, qui définit un ensemble de validateurs et de leurs options associés à votre projet LookML. Pour en savoir plus sur les suites CI, consultez les pages suivantes:
Un compte utilisateur Looker disposant d'au moins l'une des autorisations suivantes (les deux sont incluses dans le ensemble d'autorisations de l'administrateur):
see_ci: obligatoire pour afficher les résultats des exécutions de CI, afficher la page Suites de CI et exécuter des suites de CI.
manage_ci: obligatoire pour créer des suites CI, gérer les utilisateurs de CI et configurer la connexion Git avec l'intégration continue.
Activer l'intégration continue
Pour activer l'intégration continue, un administrateur Looker doit effectuer les tâches suivantes:
Activez l'instance pour l'intégration continue sur la page Intégration continue du panneau Administration de Looker.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/08/25 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/08/25 (UTC)."],[],[],null,["| **Preview:** This product or feature is subject to the \"Pre-GA Offerings Terms\" in the [General Service Terms](https://cloud.google.com/terms/service-terms#1) section of the Service Specific Terms. Pre-GA products and features are available \"as is\" and might have limited support. For more information, see the [launch stage descriptions](https://cloud.google.com/products#product-launch-stages).\n|\n| If you encounter an issue during the Public Preview of Continuous Integration, report it using the [Looker Continuous Integration - Preview Issue Tracker form](https://docs.google.com/forms/d/e/1FAIpQLSed30eICYruU45R8WZQH6hIui28xtdDnejfetzpLHQ5PK0ZeA/viewform?usp=dialog).\n\nThe Looker Continuous Integration (CI) features let you run tests on your LookML project to deliver more reliable, efficient, and user-friendly data experiences. You can use the CI validators to catch issues with SQL, data tests, content, and LookML before they hit production to verify your LookML and prevent query errors for your users. You can also configure the CI validators to run automatically when a pull request is submitted to your LookML repository.\n\nCI is composed of the following validators, which run different checks against your Looker instance:\n\n- [SQL Validator](/looker/docs/ci-sql-validator) --- Verifies that the dimensions in your Explores run correctly against your database.\n- [Assert Validator](/looker/docs/ci-assert-validator) --- Runs any LookML [data tests](/looker/docs/reference/param-model-test) that were created by your Looker developers and returns all failures and errors.\n- [Content Validator](/looker/docs/ci-content-validator) --- Runs the Looker [content validation](/looker/docs/content-validation) to test for errors in the Looks and dashboards in your LookML project.\n- [LookML Validator](/looker/docs/ci-lookml-validator) --- Runs the [LookML Validator](/looker/docs/lookml-validation) to test for LookML errors in the project.\n\nTo use these validators on your LookML instance, you can create a *CI suite*, which defines a set of validators and their options that are associated with your LookML project. See the following pages for information on CI suites:\n\n- [Creating a Continuous Integration suite](/looker/docs/ci-create-suite)\n- [Running Continuous Integration suites](/looker/docs/ci-run-suite)\n- [Viewing the results of a CI run](/looker/docs/ci-view-results)\n\nRequirements\n\nTo use Continuous Integration, you need the following:\n\n- A [Looker-hosted](/looker/docs/glossary#looker-hosted) instance that is [enabled for Continuous Integration](#enable-ci).\n\n | **Note:** For [Looker (Google Cloud core) instances](/looker/docs/looker-core-overview), Continuous Integration is supported for Public secure connections configurations only. Continuous Integration is not supported on Looker (Google Cloud core) instances that are enabled for [CMEK](/looker/docs/looker-core-cmek), or for instances configured with [Private connections](/looker/docs/looker-core-private-ip-overview) or Hybrid connections.\n- A Looker user account with at least one of the following permissions (both of these are included in the Admin [permission set](/looker/docs/admin-panel-users-roles#permission_sets)):\n\n - [`see_ci`](/looker/docs/admin-panel-users-roles#see_ci): required to view the results of CI runs, view the CI **Suites** page, and run CI suites.\n - [`manage_ci`](/looker/docs/admin-panel-users-roles#manage_ci): required to create CI suites, manage CI users, and configure the Git connection with Continuous Integration.\n\nEnabling Continuous Integration\n\nTo enable Continuous Integration, a Looker admin must perform the following tasks:\n\n- Enable the instance for Continuous Integration in the [**Continuous Integration** page](/looker/docs/admin-panel-platform-ci) of the Looker **Admin** panel.\n- Create a [Continuous Integration user](/looker/docs/admin-panel-platform-ci#ci-users).\n- [Install the CI GitHub app in your GitHub organization](/looker/docs/admin-panel-platform-ci#github). (This is highly recommended for all implementations, and required if you want to [use pull requests to trigger CI validation runs](/looker/docs/ci-create-suite#triggers))."]]