New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@semantic-release-plus/gitlab-terraform-module

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semantic-release-plus/gitlab-terraform-module

[![npm](https://img.shields.io/npm/v/@semantic-release-plus/gitlab-terraform-module.svg)](https://www.npmjs.com/package/@semantic-release-plus/gitlab-terraform-module) [![downloads](https://img.shields.io/npm/dt/@semantic-release-plus/gitlab-terraform-mod

  • 1.0.0-alpha.6
  • alpha
  • npm
  • Socket score

Version published
Weekly downloads
10
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

@semantic-release-plus/gitlab-terraform-module

npm downloads code style: prettier semantic-release-plus license

A semantic-release-plus or semantic-release plugin for publishing a terraform modules to a gitlab terraform module registry. This plugin will create a tar of the module and upload it to the gitlab terraform module registry following semver standards.

StepDescription
verifyConditionsVerify that all needed configuration and environment variables are present
publishCreates a tar of the module and uploads it to the gitlab terraform module registry

Install

$ npm install @semantic-release-plus/gitlab-terraform-module -D

Usage

Add the following to your release configuration

{
  "plugins": [
    [
      "@semantic-release-plus/gitlab-terraform-module",
      {
        "moduleName": "my-module",
        "moduleSystem": "local",
        "modulePath": "path/to/module"
      }
    ]
  ]
}

Configuration

OptionDescriptionTypeDefault
moduleNameThe name of the module you want to be publishedstring
moduleSystemThe module system you want to use examples: aws, gcp, local, ...string
modulePathThe path to the directory that holds your modulestring
includeAn array of glob patterns that will be used to include files in the tar relative to the modulePathstring[]['**/*']
excludeAn array of glob patterns that will be used to exclude files from being included in the tar relative to the modulePathstring[]['**/.git', '**/.DS_Store', '**/release.config.js']
outputDirThe directory the compressed modulePath directory is saved tostringThe system temp directory
gitlabApiUrlThe url to use when pushing to the the module to the registrystringenv variable CI_API_V4_URL
gitlabProjectIdThe gitlab project ID to push the module tostringenv variable CI_PROJECT_ID
gitlabJobTokenThe token to use to push to the module registrystringenv variable CI_JOB_TOKEN

FAQs

Package last updated on 19 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc