Code Monkey home page Code Monkey logo

Comments (3)

gardar avatar gardar commented on July 25, 2024

Is this data source plugin mainly thought to be used to provide git information and not perform any other git operations? Would love to be able to do a actual git clone of a remote repo.

from packer-plugin-git.

ethanmdavidson avatar ethanmdavidson commented on July 25, 2024

The goal of this plugin is to integrate packer and git, so I'm open to pretty much anything :) There are only data sources right now since those were the only piece I needed myself, but cloning a remote repo would also be a good feature!

I think that would be a provisioner, right? I'm assuming you want to clone the repo onto the VM that's being provisioned.

I don't have a lot of time right now so I can't build this out myself, but I will definitely welcome a PR for a git clone provisioner if you want to take a crack at it.

from packer-plugin-git.

gardar avatar gardar commented on July 25, 2024

Well I can see use cases for both a git clone provisioner and as a datasource, my idea was to use a git datasource to be able to to pull in scripts, etc. from a different repo to use in the build.
Sure it could be done in a ci pipeline or with a git submodule, but still it would be nice to be able to do it in the packer template.

from packer-plugin-git.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.