Skip to content

A custom git plugin to clone a repository and prints the last commit.

Notifications You must be signed in to change notification settings

shubham149/git-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ff29ee9 · Oct 16, 2021

History

2 Commits
Oct 16, 2021
Oct 16, 2021
Oct 16, 2021

Repository files navigation

git-plugin

A custom git plugin to clone a public git repository and prints the last commit.

Running it as part of CIE pipeline

- step:
    identifier: clone
    name: clone
    type: Plugin
    spec:
        image: "shubham149/git-plugin"
        settings:
            path: codebase
            repo_url: https://github.com/shubham149/git-plugin.git
            branch: main

Run it locally

This clones a git repo inside codebase folder.

docker run --rm \
  -e PLUGIN_PATH=codebase \
  -e PLUGIN_REPO_URL=https://github.com/shubham149/git-plugin.git \
  -e PLUGIN_BRANCH=main \
  shubham149/git-plugin

About

A custom git plugin to clone a repository and prints the last commit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published