Class GitlabConfiguration

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.96.0 (build 921e240)",
               date="2024-03-28T21:16:43.120Z")
    @Stability(Experimental)
    public class GitlabConfiguration
    extends CiConfiguration
    (experimental) A GitLab CI for the main .gitlab-ci.yml file.
    • Constructor Detail

      • GitlabConfiguration

        protected GitlabConfiguration​(software.amazon.jsii.JsiiObjectRef objRef)
      • GitlabConfiguration

        protected GitlabConfiguration​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • GitlabConfiguration

        @Stability(Experimental)
        public GitlabConfiguration​(@NotNull
                                   Project project,
                                   @Nullable
                                   CiConfigurationOptions options)
        Parameters:
        project - This parameter is required.
        options -
      • GitlabConfiguration

        @Stability(Experimental)
        public GitlabConfiguration​(@NotNull
                                   Project project)
        Parameters:
        project - This parameter is required.
    • Method Detail

      • createNestedTemplates

        @Stability(Experimental)
        public void createNestedTemplates​(@NotNull
                                          Map<String,​CiConfigurationOptions> config)
        (experimental) Creates and adds nested templates to the includes of the main CI.

        Additionally adds their stages to the main CI if they are not already present. You can futher customize nested templates through the nestedTemplates property. E.g. gitlabConfig.nestedTemplates['templateName']?.addStages('stageName')

        Parameters:
        config - a record the names and configuraitons of the templates. This parameter is required.