-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
helm: chart directory to reflect latest release #289
helm: chart directory to reflect latest release #289
Conversation
cdbacc2
to
ee4afbc
Compare
Inside the Makefile's recipe to build production images, I am passing all compute backends as this is what we do for production... but if we do so RJC won't start: $ kubectl logs reana-run-batch-826a4748-27c8-4b6d-9988-28aa811e60c5-z86mp job-controller [10:45:05]
* Serving Flask app "reana_job_controller/app.py"
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
Configuration Error Line 0 while reading config source /usr/bin/cernbatchsubmit|
not a valid command, errno=2 : No such file or directory This points in the direction of having different images, which leads at least to two questions right now:
|
I like option 1ii, by backend flavour. Helps to reuse the same image for many deployments, e.g. we could have CERN general instance of REANA, CERN-ATLAS instance, etc. Kubernetes is the default backend, so it should be included always, and additional backends should be included in alphabetical order, for example:
I like option 2i, extending build arguments. It is nicely consistent with option 1ii. People specify which backends they want to build, and the images are named accordingly, and pushed accordingly.
Haven't look at the code, but how would
i.e. "kubernetes" always included (and hence omitted in the published image name), and build type (prod/dev) included after version number (with "production" omitted) after underscore... Just an example of possible image naming conventions. BTW I'm assuming here that e.g. NYU deployment does not need anything special built-in inside images, that any specifics can be expressed as compute backend types, and any other further things (e.g. server URL for the reana-ui! e.g. SSO!) can be passed via other build arguments if need be. Speaking of which, the default URL in REANA-UI should probably by localhost (for people trying out system locally), and we could have:
similarly as for r-j-controller. Ideally, the URL should be an environment variable or something, that we don't need to publish separate images, obviously... So the "flavour" will handle only different authentication techniques, say local accounts vs CERN SSO vs NYU SSO etc. Talk IRL? |
After chatting IRL, we decide to go for |
154454e
to
e40464e
Compare
e40464e
to
0bcbf45
Compare
d8c8503
to
b8eca15
Compare
@@ -41,6 +44,8 @@ help: | |||
@echo | |||
@echo 'Configuration options:' | |||
@echo | |||
@echo ' BUILD_TYPE Is it a release build or a development build? [default=development]' | |||
@echo ' BUILD_ARGUMENTS Space separated list of build arguments. [e.g. "COMPUTE_BACKENDS=htcondorcern" no build arguments are passed by default]' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed IRL a few days ago, aren't we going to separate arguments into their own respective environment variables?
Instead of:
$ BUILD_ARGUMENTS="COMPUTE_BACKENDS=htcondorcern,slurmcern VERBOSITY_LEVEL=info" make foo
going for separating them:
$ BUILD_COMPUTE_BACKENDS=htcondorcern,slurmcern BUILD_VERBOSITY_LEVEL=info make ci
This is the usual envvar usage paradigm, and it could also help us to distinguish target components one day, for example:
$ export REANA_JOB_CONTROLLER_COMPUTE_BACKENDS=htcondorcern,slurmcern
$ export REANA_SERVER_VERBOSITY=info
$ make ci
Just some examples.
P.S. We can do this also after merge.
b8eca15
to
6f8806a
Compare
* Helm releasing has been automated in reanahub/reana#289.
* Helm releasing has been automated in reanahub/reana#289.
b1d4382
to
bf2cc92
Compare
* Helm releasing has been automated in reanahub/reana#289.
c457ae7
to
d106911
Compare
d106911
to
a8d829d
Compare
Closes #288
This PR includes automatic Helm Chart releases with Helm Chart Releaser Action, leaving the following actions to be taken:
reana
. (should be done by repo owner)gh-pages
for the CR Action to work (it expects agh-pages
branch always)