Comments (10)
If this is a new rails default to have that if statement, it seems to me that it would be better to update the templates to include that env var and set the default to true, rather than making this change, as we will have to remember to keep making this change in the future.
https://github.com/openshift/rails-ex/tree/master/openshift/templates
from rails-ex.
Anyone deploying from an old template (without the env var set) is still using this example repo.
from rails-ex.
If they are deploying the sample code in this repo, it's just for demo/testing purposes, and if they are deploying an actual application that they wrote, it won't be fixed by either change.
from rails-ex.
@bparees @coreydaley You don't think people use our Rails configuration/example as a starting point for their own applications? I have 2 production applications that started as forks of this repo.
from rails-ex.
@luciddreamz leave me out of this, i'm fine w/ the change :)
from rails-ex.
@luciddreamz Yes, people use this as a starting point, but removing the if statement here will not update their existing code right? They are not going to rebase this repo into their applications repo periodically correct?
from rails-ex.
@coreydaley 100% of places where the template is currently deployed, aka every OpenShift cluster that currently exists, are cases where the Rails template exists without the new environment variable set. Every one of those templates points at this GitHub repo.
from rails-ex.
@luciddreamz The templates on a cluster are never updated to reflect recent updates?
from rails-ex.
Correct, which is why the change you are proposing is a problem.
from rails-ex.
the templates are updated. but the deploymentconfigs that were created from an old version of the template are not going to be created from the new template, so they will not pick up the new env var.
from rails-ex.
Related Issues (19)
- templates are duplicated in container repository HOT 5
- PG::ConnectionBad with Openshift Deployment HOT 5
- List of changes HOT 1
- Rails container does not restart properly on OpenShift 4.x HOT 2
- Support Ruby 2.7 HOT 13
- Rails example issues HOT 13
- s2i with ruby 2.6 does not create secret_key_base HOT 3
- Testing issue creation for samples operator
- No Action Required !! Testing automation workflow HOT 1
- template is not running properly on OpenShift 4 HOT 2
- Standard welcome page contents HOT 5
- Update to Ruby on Rails 5.X HOT 2
- build failed with ruby-20-rhel7 s2i builder image HOT 2
- Update to Rails 5.1 HOT 2
- Document how to change for additional steps HOT 5
- Consistent example applications HOT 21
- rails-ex repo does not support ruby version below 2.3 HOT 5
- Can't send emails from my openshift v3 app HOT 1
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 rails-ex.