Skip to content

Commit e0e7a93

Browse files
committed
ci: switch to GitHub Actions
Signed-off-by: Pierre-Alexandre Meyer <[email protected]>
1 parent 5bbb295 commit e0e7a93

File tree

5 files changed

+73
-23
lines changed

5 files changed

+73
-23
lines changed

.github/CONTRIBUTING.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
## How to contribute to Kill Bill
2+
3+
**Do not open up a GitHub issue before reaching out to our [Mailing-List](https://groups.google.com/forum/#!forum/killbilling-users)**. GitHub issues are primarily intended for tracking bug reports and fixes by the core team.
4+
5+
#### **Did you find a bug?**
6+
7+
In your [Mailing-List](https://groups.google.com/forum/#!forum/killbilling-users) post, specify:
8+
9+
* Step by step description on how to reproduce the issue
10+
* [Account data and system dump](http://docs.killbill.io/latest/debugging.html#_seeking_help) via KPM of an affected account
11+
12+
#### **Do you intend to add a new feature or change an existing one?**
13+
14+
Do not open an issue or pull request on GitHub until you have collected positive feedback about the change on the [Mailing-List](https://groups.google.com/forum/#!forum/killbilling-users).
15+
16+
When submitting code, make sure to add [new tests](http://docs.killbill.io/latest/development.html#_navigating_the_kill_bill_codebase).
17+
18+
#### **Do you want to contribute to the Kill Bill documentation?**
19+
20+
Open a pull request on GitHub in the [killbill-docs](https://github.com/killbill/killbill-docs) repository.

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
github: [killbill]

.github/workflows/publish.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Publish
2+
3+
on:
4+
push:
5+
branches:
6+
- v3
7+
8+
env:
9+
DEBIAN_FRONTEND: noninteractive
10+
11+
jobs:
12+
publish:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Install packages
17+
run: |
18+
sudo apt update -qy
19+
sudo apt-get install -y graphviz curl
20+
- name: Set up RVM
21+
run: |
22+
curl -sSL https://get.rvm.io | bash
23+
- name: Set up Ruby
24+
run: |
25+
source $HOME/.rvm/scripts/rvm
26+
rvm install 2.2.0 --binary
27+
rvm --default use 2.2.0
28+
- name: Install Ruby dependencies
29+
run: |
30+
source $HOME/.rvm/scripts/rvm
31+
gem install asciidoctor --version=1.5.7.1
32+
gem install asciidoctor-diagram --version=1.5.9
33+
gem install pygments.rb --version=0.6.3
34+
gem install tilt --version=2.0.8
35+
gem install haml --version=5.0.4
36+
gem install thread_safe --version=0.3.6
37+
gem install slim --version 2.1.0
38+
- name: Build pages
39+
run: |
40+
source $HOME/.rvm/scripts/rvm
41+
bash make.sh
42+
- name: Publish pages
43+
env:
44+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
run: |
46+
source $HOME/.rvm/scripts/rvm
47+
bash update_gh-pages.sh

.travis.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

update_gh-pages.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ cp -f $BUILD/index.html $BUILD/build/selfcontained/* $BUILD/killbill-docs/$VERSI
1717
cp -f $BUILD/killbill-docs/$VERSION/* $BUILD/killbill-docs/latest/
1818

1919
pushd $BUILD/killbill-docs
20-
git config user.name "Travis-CI"
21-
git config user.email "travis@killbill.io"
20+
git config user.name "Kill Bill core team"
21+
git config user.email "contact@killbill.io"
2222
git add $VERSION
2323
git add latest
2424
git commit -m "Docs update"
25-
git push -fq "https://${GH_TOKEN}@${GH_REF}" gh-pages:gh-pages > /dev/null 2>&1
25+
git push -f gh-pages:gh-pages
2626
popd

0 commit comments

Comments
 (0)