xaizek / fragile (License: AGPLv3+) (since 2018-12-07)
Simple lightweight CI, attempting to be somewhat Unix-like in its philosophy.
<root> / vcs / checkout (1d6eaf07aec58bc5c0d35e5607286a336e6ffb68) (262B) (mode 100755) [raw]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/bash

if [ $# -ne 1 ]; then
    echo "Usage: $(basename $0) revision"
    exit 1
fi

revision="$1"

export GIT_WORK_TREE="$FRAGILE_REPO"
export GIT_DIR="$FRAGILE_REPO/.git"

git remote update
git branch --force testing-branch
git reset --hard "$revision"
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/fragile

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/fragile

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master