Comments (3)
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.
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.
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 (15)
- The v0.5.0 release does not include assets resulting in failed installs HOT 5
- is there way to get a current branch name using this plugin? HOT 8
- CVE hits on latest release HOT 3
- New datasource HEAD HOT 1
- Update to packer-sdc command for validating plugin compatibility HOT 1
- Automatically find repository root HOT 1
- add ls-files datasource
- Plugin issue when starting the build HOT 5
- Add git-describe datasource
- No evaluation when running in Azure Devops HOT 1
- Doc Issue: README has old name/location HOT 2
- query: is it possible for this plugin to say whether the working dir is "clean" or not? HOT 3
- Feature (or doc) : how to tell which branch is currently checked out. HOT 1
- Support with git worktrees
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packer-plugin-git.