All Projects → tkisme → Gogs Openshift

tkisme / Gogs Openshift

gogs run on openshift

Programming Languages

shell
77523 projects

Labels

Projects that are alternatives of or similar to Gogs Openshift

Audit2rbac
Autogenerate RBAC policies based on Kubernetes audit logs
Stars: ✭ 702 (+1612.2%)
Mutual labels:  openshift
Openshift Hybridizer
All in One Openshift Cluster Hybrid Cloud Provisioner
Stars: ✭ 13 (-68.29%)
Mutual labels:  openshift
Hcloud Okd4
Deploy OKD4 (OpenShift) on Hetzner Cloud
Stars: ✭ 29 (-29.27%)
Mutual labels:  openshift
Azure Openshift
RedHat Openshift Origin cluster on Azure
Stars: ✭ 17 (-58.54%)
Mutual labels:  openshift
Openshift Elasticsearch Plugin
Stars: ✭ 26 (-36.59%)
Mutual labels:  openshift
Openshift Psap
Example roles and yaml files for performance-sensitive applications running on OpenShift
Stars: ✭ 20 (-51.22%)
Mutual labels:  openshift
Kubeinvaders
Gamified Chaos Engineering Tool for Kubernetes
Stars: ✭ 673 (+1541.46%)
Mutual labels:  openshift
Centos7 S2i Nodejs
DEPRECATED OpenShift S2I builder images for Node.js ✨
Stars: ✭ 34 (-17.07%)
Mutual labels:  openshift
Crunchy Containers
Containers for Managing PostgreSQL on Kubernetes by Crunchy Data
Stars: ✭ 870 (+2021.95%)
Mutual labels:  openshift
Nucleus
Platform as a Service API abstraction layer.
Stars: ✭ 28 (-31.71%)
Mutual labels:  openshift
Mariadb Container
MariaDB container images based on Red Hat Software Collections and intended for OpenShift and general usage. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
Stars: ✭ 19 (-53.66%)
Mutual labels:  openshift
Devconsole Operator
Enable a developer-focused view in OpenShift 4 web console
Stars: ✭ 25 (-39.02%)
Mutual labels:  openshift
Mattermost Openshift
An OpenShift 3 application template for mattermost
Stars: ✭ 27 (-34.15%)
Mutual labels:  openshift
Gluster Kubernetes
GlusterFS Native Storage Service for Kubernetes
Stars: ✭ 822 (+1904.88%)
Mutual labels:  openshift
Oshinko Webui
Web console for a spark cluster management app
Stars: ✭ 29 (-29.27%)
Mutual labels:  openshift
Crc
Red Hat CodeReady Containers is a tool that manages a local OpenShift 4.x cluster optimized for testing and development purposes
Stars: ✭ 676 (+1548.78%)
Mutual labels:  openshift
Lychee Openshift Quickstart
OpenShift Lychee Quickstart
Stars: ✭ 13 (-68.29%)
Mutual labels:  openshift
Uptime Openshift
Port of Uptime (https://github.com/fzaninotto/uptime) to run on Openshift Online
Stars: ✭ 38 (-7.32%)
Mutual labels:  openshift
Javaee7 Petclinic
Java EE 7 Petclinic
Stars: ✭ 31 (-24.39%)
Mutual labels:  openshift
Platform As Code Example
Platform as Code - Example
Stars: ✭ 28 (-31.71%)
Mutual labels:  openshift

gogs-openshift

Instructions

Just works use diy Join the chat at https://gitter.im/tkisme/gogs-openshift

 # execute it on local,not in server
 rhc app create diy diy-0.1 --from-code https://github.com/tkisme/gogs-openshift
 #optional choose mysql
 rhc cartridge add mysql-5.5
 #delete this is still simple
 rhc app delete diy --confirm

go use 286M,gogs use 38M

rhc app-show --gears quota

Upgrade gogs

 git remote add github [email protected]:tkisme/gogs-openshift.git
 git pull github master
 git push

Upgrade by your own

this is just for people who want to upgrade in hurry

 vi .openshift/action_hooks/start
 git commit -am "upgrade gogs"
 git push

change download_url to anyversion you want

I change v0.8.43 to v0.9.13

Now it upgrade gogs to v0.9.13

Build from source

If you want build from source

rhc ssh
cd $OPENSHIFT_DATA_DIR/gogs
export GOROOT=$OPENSHIFT_DATA_DIR/go
export PATH=$PATH:$GOROOT/bin
export GOPATH=$OPENSHIFT_DATA_DIR/gocode
mkdir -p $GOPATH/src/github.com/gogits
cd $GOPATH/src/github.com/gogits
git clone -b develop https://github.com/gogits/gogs
cd gogs
go get -u ./...
go get -u -tags "sqlite redis memecache" github.com/gogits/gogs
go build -tags "sqlite redis memecache"
cd scripts
./build_linux64.sh
ls
mv output_amd64/ $OPENSHIFT_DATA_DIR
cd $OPENSHIFT_DATA_DIR
cp -r output_amd64/* gogs/
#let source go,or you have enough disk space
rm -rf gocode
cp -r output_amd64/* gogs/
rm -rf output_amd64
gear restart

Fix git clone ssh link of gogs

if you want gogs support ssh on openshift,just try edit gogs/repo.go

func RepoPath(userName, repoName string) string {
// EDIT HERE!!!!!
	return filepath.Join(UserPath(userName), strings.ToLower(repoName)+".git")
}

Q&A

function "AppSubUrl" not defined try

# cd to gogs app root
rm -rf templates/

and install again

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].