Quick Info
Description
The GitLab Generic Packages is a source configuration plug-in that creates versions and imports packaged artifacts from GitLab Generic Packages.Quick Info
Summary
The GitLab Generic Packages plug-in creates versions and imports packaged artifacts from GitLab Generic Packages.
Compatibility
This plug-in requires HCL Launch version 7.3.1 or newer.
This plug-in supports all versions of the GitLab Generic Packages.
This plug-in runs on all operating systems that HCL Launch supports, including the z/OS operating system.
Installation
See Installing plugins in HCL Launch for installing and removing plugins.
History
Version | Description |
---|---|
1.1147 | Initial release. |
Usage
Prerequisite
Before you use the plug-in, ensure that:
- The packages are published.
- You have the access token ready.
- The project ID is captured.
Procedure
You will need to define a HCL Launch component which defines the source and processes for the GitLab Generic Packages. The component contains the information for importing the artifacts and any processes to implement on the artifacts.
When creating the component, supply information described in the GitLab Generic Packages Component Properties Steps page. After the component is created use the Components page in the user interface to import a version of the artifacts if automatic import is not selected.
To create a component, complete the following steps. For more information about creating a component, see Creating components in the product documentation.
- In HCL Launch, click Components and then click Create Component.
- In the Create Component window, specify a name and description for the component.
- In the Source Config Type list, select GitLab Generic Packages.
- Specify the properties for the component. See Steps for property descriptions.
- Specify the type of version to create by default on version import.
- Click Save.
Steps
GitLab Generic Packages Component Properties
Name | Type | Description | Required |
---|---|---|---|
Server URL | String | The Base URL and port for the GitLab server. | Yes |
Access Token | String | The access token to use to authenticate with the GitLab server. | No |
Project ID | String | The project ID in GitLab. | Yes |
Package Name | Boolean | The exact name of package that must match to import a specific package. | Yes |
Status | String | The package status. | No |
File Includes | String | A list of file patterns to include in the component. Separate each pattern with a new line or comma. To include all files, leave blank or type */. | No |
File Excludes | String | A list of file patterns to exclude from the component. Separate each pattern with a new line or comma. | No |
Extensions of files to Convert | String | If text-type files must be converted into another character set, type the list of file extensions to be converted. Matching file types are converted into the default or system character set of the system where the agent is located. Separate list items with commas. | No |
Log4j Logging Level | Boolean | Configure the level of Log4j messages to output to the console. Specify the logging level as ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, or OFF. | No |