npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@itentialopensource/gitlab-pull-a-file-from-repo

v1.0.2-2022.1.4

Published

[Deprecated] Default artifact description

Readme

Deprecation Notice

This Pre-Built has been deprecated as of 04-15-2024 and will be end of life on 04-15-2025. The capabilities of this Pre-Built have been replaced by the GitLab REST

Gitlab Pull A File From Repository

Table of Contents

Overview

The Gitlab Pull A File from Repository pre-built consists of an Operations Manager automation which can be used to read an existing file from a specific gitlab project.

The GitLab Pull a File workflow serves as an entry point for Operations Manager automation to run the use cases described above.

Supported IAP Versions

Itential pre-builts are built and tested on particular versions of IAP. In addition, pre-builts that work with devices are often dependent on certain orchestration systems (e.g. NSO and IAG). As such, these pre-builts will have dependencies on these other systems. This version of the Gitlab Pull file from Repo pre-built has been tested with:

  • IAP 2022.1.x

Getting Started

These instructions will help you get a copy of the pre-built in your IAP instance for testing in your environment. Reading this section is also helpful for deployments as it provides you with pertinent information on prerequisites and capabilities.

Prerequisites

Users must satisfy the following prerequisites to install and run this pre-built:

  • Itential Automation Platform
    • ^2022.1.x

Capabilities

  • Pulls an existing file content from gitlab repository

How to Install

To install the Pre-Built:

  • Verify you are running a supported version of the Itential Automation Platform (IAP) as listed above in the Prerequisites section in order to install the Pre-Built.
  • The Pre-Built can be installed from within App-Admin_Essential.

Testing

While Itential tests this pre-built and its capabilities, it is often the case the customer environments offer their own unique circumstances. Therefore, it is our recommendation that you deploy this pre-built into a development/testing environment in which you can test the pre-built.

Using this Pre-Built

The main requirements to use this Pre-built are:

  1. Running instance of the Itential OpenSource adapter-gitlab, which can be found in adapter-gitlab

The pre-built can be run using Operations Manager automation Gitlab Pull a file from Repo Automation. Use the following steps to complete the form:

  1. Select the appropriate adapter-gitlab instance from the dropdown.
  2. Input the Project ID of the project.
  3. Input the Branch Name to pull the file.
  4. Input the file path.
  5. Select either verbose or non-verbose option for the performed operation details.

Note: All fields are mandatory.

Input Schema

Example input formData:

{
  "formData": {
    "gitlabAdapterName": "gitlab",
    "projectId": "3434",
    "filePath": "test",
    "gitlabBranchName": "main"
  }
}

The following table details the property keys of the input object.

| key | type | required | description | |---------------------------|---------|----------|----------------------| | formData.projectId | string | yes | project id | | formData.branchName | string | yes | branch name | | formData.filePath | string | yes | file name | | formData.gitlabAdapter | string | yes | adapter id |

Output Schema

Example output of successful pull operation:

{
  "fileContents": "file text"
}

Additional Information

Please use your Itential Customer Success account if you need support when using this pre-built.

Helpful Links

  • GitLab Wikipedia: https://en.wikipedia.org/wiki/GitLab
  • GitLab Adapter: https://gitlab.com/itentialopensource/adapters/devops-netops/adapter-gitlab
  • GitLab Homepage: https://gitlab.com/