Skip to content
Snippets Groups Projects
Commit 87ec2dde authored by kalash jain's avatar kalash jain Committed by Adam G-H
Browse files

Issue #3408101 by phenaproxima, ankitv18, kalash-j: Add gitlab CI

parent 25462eec
No related branches found
No related tags found
1 merge request!4Issue #3408101 by kalash: Added the configuration.
Pipeline #221871 passed
################
# DrupalCI GitLabCI template
#
# Gitlab-ci.yml to replicate DrupalCI testing for Contrib
#
# With thanks to:
# * The GitLab Acceleration Initiative participants
# * DrupalSpoons
################
################
# Guidelines
#
# This template is designed to give any Contrib maintainer everything they need to test, without requiring modification. It is also designed to keep up to date with Core Development automatically through the use of include files that can be centrally maintained.
#
# However, you can modify this template if you have additional needs for your project.
################
################
# Includes
#
# Additional configuration can be provided through includes.
# One advantage of include files is that if they are updated upstream, the changes affect all pipelines using that include.
#
# Includes can be overridden by re-declaring anything provided in an include, here in gitlab-ci.yml
# https://docs.gitlab.com/ee/ci/yaml/includes.html#override-included-configuration-values
################
include:
################
# DrupalCI includes:
# As long as you include this, any future includes added by the Drupal Association will be accessible to your pipelines automatically.
# View these include files at https://git.drupalcode.org/project/gitlab_templates/
################
- project: $_GITLAB_TEMPLATES_REPO
ref: $_GITLAB_TEMPLATES_REF
file:
- '/includes/include.drupalci.main.yml'
- '/includes/include.drupalci.variables.yml'
- '/includes/include.drupalci.workflows.yml'
################
# Pipeline configuration variables
#
# These are the variables provided to the Run Pipeline form that a user may want to override.
#
# Docs at https://git.drupalcode.org/project/gitlab_templates/-/blob/1.0.x/includes/include.drupalci.variables.yml
variables:
SKIP_ESLINT: '1'
OPT_IN_TEST_PREVIOUS_MINOR: '1'
OPT_IN_TEST_NEXT_MINOR: '1'
OPT_IN_TEST_MAX_PHP: '1'
......@@ -5,5 +5,8 @@
"keywords": ["Drupal"],
"license": "GPL-2.0+",
"homepage": "https://www.drupal.org/project/openapi_ui_redoc",
"minimum-stability": "dev"
"minimum-stability": "dev",
"require": {
"drupal/openapi_ui": "^1"
}
}
......@@ -8,7 +8,7 @@
/**
* Attach a behavior to initialize the redoc.
*
* Redoc should already be initilized as part of the the library loading. If
* Redoc should already be initialized as part of the the library loading. If
* the `spec-url` attribute is not supplied, then the ui won't load. We want
* to trigger the build manually since we want the UI to load.
*
......
......@@ -2,9 +2,8 @@
namespace Drupal\openapi_ui_redoc\Plugin\openapi_ui\OpenApiUi;
use Drupal\Core\Url;
use Drupal\Component\Serialization\Json;
use Drupal\Core\Url;
use Drupal\openapi_ui\Plugin\openapi_ui\OpenApiUi;
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment