Giter VIP home page Giter VIP logo

tensorflow-release-job's Introduction

Tensorflow-release-job

A application for triggering new builds and jobs for tensorflow-build releases.

Build status

Build status of continus integration i.e. Quay. -

Docker Repository on Quay

Deploying the application on Openshift as a Job :

$ oc create --filename openshift/job_template.yaml
$ oc new-app --template=tensorflow-release-job -p OCP_SECRET=<secret> -p BUILD_MAP="$(cat config.json)" -p SESHETA_GITHUB_ACCESS_TOKEN=<GITHUB_TOKEN>
  • The build map config.json contains the python version and os version for which tensorflow-build is to be triggered.

How to use?

  • Structure of config.json:

    • OS Version specific variables can be specified inside the os_version value with Upper Case Key variable(required).
      Ex: "TF_NEED_HDFS": "{1|0}"

       {
       	"python_version": {
       		"os_version": {
       			"S2I_IMAGE": "os_registry",
       			"BAZEL_VERSION": "bazel_version",
       			"TF_NEED_CUDA": "{1|0}",
       			"RESOURCE_LIMITS_CPU": "4",
       			"RESOURCE_LIMITS_MEMORY": "8Gi"
       		}
       	}
       }
  • Check for the Resource Quota:

    • The functionality of resource quota check while triggering builds and jobs is provided in the application. Required variables to set:

      To Set the name of the resource quota:

      • QUOTA_NAME = <resource_quota_name> (default: <namespace>-quota )

      To Disable the check for resource quota:

      • RESOURCE_QUOTA = 0 (default: 1)

      (Pass it as a parameter in Step 2 of Deployment)

  • The OCP_SECRETS are the openshift variables:

    • OCP_URL = <openshift_url | ex: https://paas.upshift.redhat.com>
    • OCP_NAMESPACE =<openshift_namespace | ex: thoth-station>
    • OCP_TOKEN = <openshift_token>

      (Use Service account token for production | For Testing , Session Token can be used(As these have 24hr life))
      Store the above information in secret and pass it to the appliction as parameter(shown in step-2 of Deployment).

  • Create SECRET in openshift:

     	$ oc create secret --namespace "{{ OCP_NAMESPACE }}" generic {{OCP_SECRET}} \
             --from-literal=OCP_URL="{{ OCP_URL }}" \
             --from-literal=OCP_TOKEN="{{ OCP_TOKEN }}" \
             --from-literal=OCP_NAMESPACE="{{ OCP_NAMESPACE }}" \
             --type=opaque
    • All the tensorflow build related parameters can be passed to step-2 of Deployment as parameters.
      (Default: fedora28 python36)

License

GNU General Public License v3.0

tensorflow-release-job's People

Contributors

harshad16 avatar goern avatar

Watchers

 avatar James Cloos avatar Diane Feddema avatar Tushar Sharma avatar Subin avatar Kevin Postlethwait avatar Leo Jia avatar Marek Čermák avatar Francesco Murdaca avatar  avatar

tensorflow-release-job's Issues

Need Admin Access

@harshad16 can you please add me as admin user.
We cannot do few admin actions on the repo if we don't have atleast one of the active developers in the Thoth Projects as owner of this repo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.