Skip to content

Commit

Permalink
config: add reana-server as component
Browse files Browse the repository at this point in the history
* Fix images version to v0.0.1.

Signed-off-by: Diego Rodriguez <diego.rodriguez@cern.ch>
  • Loading branch information
Diego Rodriguez committed Jul 21, 2017
1 parent 96fb012 commit 373ab2d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
10 changes: 10 additions & 0 deletions docs/components.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ REANA system is composed of multiple separated components that are developed
independently. The components are usually published as Docker images. The
components collaborate via REST APIs.

reana-server
------------

REANA component for managing analyses.

- source code: `<https://github.com/reanahub/reana-server>`_
- releases: `<https://hub.docker.com/r/reanahub/reana-server/tags>`_
- known issues: `<https://github.com/reanahub/reana-server/issues>`_
- documentation: `<https://reana-server.readthedocs.io/>`_

reana-job-controller
--------------------

Expand Down
2 changes: 1 addition & 1 deletion docs/gettingstarted.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ images. Once it finishes, we can check the REANA cluster pods:
NAME READY STATUS RESTARTS AGE
job-controller-3834756890-xsw1x 1/1 Running 0 48s
message-broker-1410199975-4fkgm 1/1 Running 0 48s
storage-admin 1/1 Running 0 47s
server-4247597766-ptxz7 1/1 Running 0 47s
workflow-controller-2689978795-lj59n 1/1 Running 0 47s
workflow-monitor-1639319062-2hdt7 1/1 Running 0 47s
yadage-alice-worker-2356735553-kg9m4 1/1 Running 0 47s
Expand Down
12 changes: 8 additions & 4 deletions scripts/reana
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
# granted to it by virtue of its status as an Intergovernmental Organization or
# submit itself to any jurisdiction.

reana_components="reana-job-controller
version="v0.0.1"

reana_components="reana-server
reana-job-controller
reana-workflow-controller
reana-workflow-monitor
reana-message-broker
Expand Down Expand Up @@ -71,8 +74,9 @@ pull () {
echo 'Pulling REANA components images ...'
for component in $reana_components
do
docker pull "reanahub/$component"
docker tag "reanahub/$component" "$component"
versioned_component="$component:$version"
docker pull "reanahub/$versioned_component"
docker tag "reanahub/$versioned_component" "$versioned_component"
done
}

Expand All @@ -83,7 +87,7 @@ prepare () {
pip install -e 'git+https://github.com/reanahub/reana-resources-k8s.git@master#egg=reana-resources-k8s'
# Generate Kubernetes manifests
echo 'Building REANA configuration manifests ...'
reana-resources-k8s build-manifests
reana-resources-k8s build-manifests $version
# Set current cluster secret for `reana-job-controller` component
current_cluster_secret=$(kubectl get secrets | grep 'service-account-token' | cut -d ' ' -f 1)
sed -i'' -e "s/default-token-8p260/$current_cluster_secret/" configuration-manifests/deployments/job-controller.yaml
Expand Down

0 comments on commit 373ab2d

Please sign in to comment.