Commit d6c9925a authored by Prout, Ryan's avatar Prout, Ryan
Browse files

dask build

parent 99ff8bb8
Loading
Loading
Loading
Loading

charts/dask/Chart.yaml

0 → 100644
+4 −0
Original line number Diff line number Diff line
apiVersion: v1
description: A Helm chart example for dask
name: dask
version: 1.0.0

charts/dask/Dockerfile

0 → 100644
+5 −0
Original line number Diff line number Diff line
FROM registry.apps.marble.ccs.ornl.gov/stf007/python-36-centos7:latest

RUN pip install --upgrade pip
RUN pip install dask distributed
RUN pip install numpy

charts/dask/README.md

0 → 100644
+0 −0

Empty file added.

+16 −0
Original line number Diff line number Diff line
{{/*
Expand the name of the chart.
*/}}
{{- define "{{ .Values.dask.name }}.name" -}}
{{- default .Release.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}

{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
*/}}
{{- define "{{ .Values.dask.name }}.fullname" -}}
{{- $name := default "{{ .Values.dask.name }}" .Values.nameOverride -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
+26 −0
Original line number Diff line number Diff line
apiVersion: v1
kind: List
metadata: {}
items:
- apiVersion: build.openshift.io/v1
  kind: BuildConfig
  metadata:
    name: dask 
  spec:
    output:
      to:
        kind: ImageStreamTag
        name: dask_test:latest
    source:
      type: "Git"
      git:
        uri: "git@code.ornl.gov:ryu/slate_helm_examples.git"
        ref: "dask_test"
      sourceSecret:
        name: rprout-helm-examples
    strategy:
      type: Docker
      dockerStrategy:
        forcePull: true
        dockerfilePath: charts/dask/Dockerfile
Loading