Skip to content
This repository has been archived by the owner on Apr 21, 2020. It is now read-only.

Scripts that make it possible to deploy Frontend to OpenShift easily.

Notifications You must be signed in to change notification settings

eval-so/frontend-openshift-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

frontend-openshift-deployment

A small set of utilities to help with deploying Frontend to OpenShift.

Running

To deploy, make sure Frontend's master branch is in a good state, as this is what we'll pull from.

Evolutions get applied automatically, on deploy.

Deploying will cause a minor Frontend outage. Keep this in mind.

You must have your ssh key added to OpenShift to be able to deploy.

To deploy, run ./deploy.sh and wait.

This will, in order:

  • Do some cleanup from last deployment.
  • Clone the latest copy of the Frontend repo.
  • Build documentation
  • Push documentation to breakpoint-eval/frontend#gh-pages
  • Move the openshift.conf config in place.
  • gzip static assets where applicable.
  • Compile Frontend.
  • Move the compiled jars out to the current directory
  • Remove the unneeded, uncompiled files.
  • Commit the result with the timestamp of the commit in the summary.

Note

Perhaps the best way to actually use this repo is to create a submodule with it. In any case, be careful not to commit any workflow pieces (such as a copy of the Frontend repo itself, or files generated by deploy.sh.)

In practice, I've just been keeping deploy.sh separate, and copying it to this repo and committing here, as I change it.

License

This is licensed under Apache 2.0, just like Frontend itself.

   Copyright 2012 Breakpoint-Eval

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

About

Scripts that make it possible to deploy Frontend to OpenShift easily.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages