Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Devops Exercises | 41,661 | 2 days ago | 20 | other | Python | |||||
Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions | ||||||||||
Onedev | 10,973 | 2 days ago | mit | Java | ||||||
Self-hosted Git Server with CI/CD and Kanban | ||||||||||
Devops Guide | 6,318 | 21 days ago | 5 | mit | HTML | |||||
DevOps Guide - Development to Production all configurations with basic notes to debug efficiently. | ||||||||||
Gitkube | 3,181 | 3 years ago | 1 | April 09, 2020 | 43 | apache-2.0 | Go | |||
Build and deploy docker images to Kubernetes using git push | ||||||||||
K8s_paas | 3,125 | a month ago | 7 | mit | Shell | |||||
如何基于K8s(Kubernetes)部署成PaaS/DevOps(一套完整的软件研发和部署平台)--教程/学习(实战代码/欢迎讨论/大量注释/操作配图),你将习得部署如:K8S(Kubernetes)、Dashboard、Harbor、Jenkins、本地Gitlab、Apollo框架、Promtheus、Grafana、Spinnaker等。 | ||||||||||
Agola | 1,247 | 6 days ago | 9 | March 28, 2022 | 77 | apache-2.0 | Go | |||
Agola: CI/CD Redefined | ||||||||||
Awesome Gitops | 1,120 | a month ago | 4 | mit | ||||||
A curated list for awesome GitOps resources | ||||||||||
Devops | 1,095 | 2 days ago | 8 | gpl-3.0 | Go | |||||
This repo contains all my learning related to DevOps | ||||||||||
Devops Bash Tools | 1,079 | 14 days ago | 1 | mit | Shell | |||||
800+ DevOps Bash Scripts - AWS, GCP, Kubernetes, Docker, CI/CD, APIs, SQL, PostgreSQL, MySQL, Hive, Impala, Kafka, Hadoop, Jenkins, GitHub, GitLab, BitBucket, Azure DevOps, TeamCity, Spotify, MP3, LDAP, Code/Build Linting, pkg mgmt for Linux, Mac, Python, Perl, Ruby, NodeJS, Golang, Advanced dotfiles: .bashrc, .vimrc, .gitconfig, .screenrc, .tmux.conf, .psqlrc ... | ||||||||||
Learn Devops | 1,049 | 5 days ago | 1 | HCL | ||||||
I am using this repository to document my devops journey. I follow the process of learning everything by tasks. Every task has an associated objective that encompasses an underlying concept. Concepts including CloudProviders, Containers, ContainersOrchestration, Databases, InfrastructureAsCode, Interview, VersionControl etc in progress |
What does this mean? No further code will be committed and the repository will remain in a read-only state. Releases will still be available for download.
Current status: Mmir is stable (as far as I know).
Why? I no longer use Mmir personally, I've switched to using Starship.
Mmir is a fast and minimal shell prompt written in Go. The look of Mmir is inspired by Pure and the functionality is inspired by prettyprompt.
The Mmir Go binary only displays the (pre) prompt line with all the information. The actual prompt line used for input is configured in the shell's config file. This allows for flexibility:
KUBECONFIG
environment
variable. If multiple config files are specified in the variable value then
the first one with current context info is used. You can overwrite the K8s
info by exporting the CURRENT_KUBE_CTX
variable with an arbitrary value.OS_
. Variables that specify IDs are used if name
specifying variables are not available. E.g. OS_PROJECT_DOMAIN_ID
would be
used if OS_PROJECT_DOMAIN_NAME
is not available. You can overwrite the cloud
info by exporting the CURRENT_OS_CLOUD
variable with an arbitrary value.The simplest way to install Mmir on Linux or macOS is to run:
$ sh -c "$(curl -sL git.io/getmimir)"
This will put the binary in /usr/local/bin/mimir
Pre-compiled binaries for Linux and macOS are avaiable on the releases page.
The binaries are static executables.
$ brew install talal/tap/mimir
The only required build dependency is Go 1.11 or above.
$ git clone https://github.com/talal/mimir.git
$ cd mimir
$ make install
This will put the binary in /usr/local/bin/mimir
Alternatively, you can also build Mmir directly with the go get command without manually cloning the repository:
$ go get -u github.com/talal/mimir
This will put the binary in $GOPATH/bin/mimir
The following usage examples are just one example of how Mmir can be configured. The examples below will result in a setup similar to the one shown in the demo above: the prompt symbol (``) changes to red if the previous command exited with an error.
Add this to your .bashrc
file:
prompt_mimir_cmd() {
if [ $? != 0 ]; then
local prompt_symbol="\[\e[0;31m\]\[\e[0m\]"
else
local prompt_symbol="\[\e[0;35m\]\[\e[0m\]"
fi
PS1="$(/path/to/mimir)\n${prompt_symbol} "
}
PROMPT_COMMAND=prompt_mimir_cmd
Add this to your .zshrc
file:
autoload -Uz add-zsh-hook
prompt_mimir_cmd() { /path/to/mimir }
add-zsh-hook precmd prompt_mimir_cmd
prompt_symbol=''
PROMPT="%(?.%F{magenta}.%F{red})${prompt_symbol}%f "
Option | Description | Usage |
---|---|---|
MIMIR_DISABLE_KUBE |
Disable Kubernetes context and namespace info. | export MIMIR_DISABLE_KUBE=1 |
MIMIR_DISABLE_CLOUD |
Disable OpenStack cloud info. | export MIMIR_DISABLE_CLOUD=1 |
CURRENT_KUBE_CTX |
Display arbitrary info for K8s. | export CURRENT_KUBE_CTX='custom info' |
CURRENT_OS_CLOUD |
Display arbitrary info for OpenStack. | export CURRENT_OS_CLOUD='custom info' |
Most of the source code is borrowed from prettyprompt.