Comments (8)
Would be nice to be able to git clone the examples separately though.
from garden.
Actually, we may want to keep them in the same repo if we go for #171 ?
from garden.
There's actually already an examples repo: https://github.com/garden-io/garden-examples
Wasn't the plan to maintain those examples separately and have other examples within the project that would function more as integration test?
from garden.
Yeah, I just kept the issue open (also because of the question above, which was just a thought) because we still have the examples in this repo. We should at least move them to the test/integ
directory then to be sure not to cause confusion, and maybe just fold the features we want to integration test into a single project.
One issue with having the examples in a separate repo, is that we don't run any tests there, and don't pin the examples to a particular version of garden-cli
. I've already seen cases where the examples have broken, and if we want to keep them separate we need to add some setup to automatically test them. Otherwise they'll inevitably drift, especially as our APIs are still changing fairly often.
from garden.
I propose we should keep the examples in the main repo, and then have them mirrored to a separate examples repo.
This way it's easier for us to commit changes to the code functionality and the respective adjustments to the examples in one single PR, for example, but we still have a separate and much lighter/smaller repo of examples only that we can use for didactic reasons.
Thoughts?
from garden.
Ellen and I talked about this earlier — just to clarify, mirroring = running a script that automatically updates the examples repo with changes to example projects in the main repo.
That way, example projects are still maintained/developed as part of the main dev/test/release workflows.
from garden.
Good idea! We could rig that up via Github hooks on master.
from garden.
I'm going to close this one since we have some other thoughts on how to maintain the examples as well, e.g. as submodules in the main project.
from garden.
Related Issues (20)
- A typo in `garden util profile-project` command description HOT 2
- 0.13: [Bug]: Jib Container picks a wrong deployment image id while building images HOT 4
- 0.13: [Bug]: --skip-dependencies is not working correctly with garden plugins pulumi preview command HOT 4
- [FEATURE]: replacing image when sync
- Add Pulumi 3.102.0 to fix vulnerability in pulumi deps
- Remove conftest HOT 1
- Update Helm to 3.15.2
- Includes not automatically set on Helm actions that reference remote charts
- 0.13: [Bug]: npm ci missing from garden plugins pulumi preview command HOT 6
- Crash: Garden crashes on I/O errors while artifacts copying HOT 1
- [Bug]: Action scan misbehaviour?
- [Bug]: exec run logs duplicate in verbose loglevel
- [FEATURE]: Support env variable to avoid running `garden util hide-warning web-app` HOT 2
- [FEATURE]: CLI command to list all actions HOT 4
- [FEATURE]: Module as job / cronjob in kubernetes HOT 2
- crashing with SYNCHRONOUS TERMINATION NOTICE error HOT 2
- Crash: toKubernetesError encountered an unknown error during Kubernetes API: HOT 10
- [FEATURE]: Support a Nix Derivation based OCI image builder much like Kaniko is for Dockerfiles HOT 5
- Crash: Synchronization monitor has crashed 10 times. Aborting HOT 2
- [Bug]: Custom Commands Not Working HOT 2
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 garden.