You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fluo.apache.org by ct...@apache.org on 2020/10/06 19:26:36 UTC
[fluo-website] branch main updated: Add GitHub Actions CI build
(#200)
This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluo-website.git
The following commit(s) were added to refs/heads/main by this push:
new 7790a29 Add GitHub Actions CI build (#200)
7790a29 is described below
commit 7790a2956224a14cc9a70b8eec744eec98d680ce
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Tue Oct 6 15:24:40 2020 -0400
Add GitHub Actions CI build (#200)
---
.github/workflows/jekyll.yaml | 57 +++++++++++++++++++++++++++++
README.md | 26 +++++++++++++
docs/fluo-recipes/1.1.0-incubating/index.md | 2 -
docs/fluo/1.1.0-incubating/index.md | 2 -
pages/poweredby.md | 2 -
5 files changed, 83 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/jekyll.yaml b/.github/workflows/jekyll.yaml
new file mode 100644
index 0000000..2a7705f
--- /dev/null
+++ b/.github/workflows/jekyll.yaml
@@ -0,0 +1,57 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+#
+
+name: CI
+
+on:
+ push:
+ branches: [ 'main' ]
+ pull_request:
+ branches: [ 'main' ]
+
+jobs:
+ jekyll:
+ timeout-minutes: 10
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Ruby
+ uses: actions/setup-ruby@v1
+ with:
+ ruby-version: 2.6
+ - name: Cache gems
+ uses: actions/cache@v2
+ with:
+ path: ~/vendor/bundle
+ key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
+ restore-keys: ${{ runner.os }}-gem
+ - name: Test site build
+ run: |
+ ruby --version
+ gem install bundler
+ bundle config path ~/vendor/bundle
+ bundle install --jobs 4 --retry 3
+ bundle exec jekyll build
+ - name: Upload site
+ uses: actions/upload-artifact@v2
+ with:
+ name: site
+ path: ./_site/
+ if-no-files-found: ignore
+
diff --git a/README.md b/README.md
index 7af75cd..75c2552 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,26 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
+
# Apache Fluo website
+[![Build Status][ti]][tl] [![Apache License][li]][ll]
+
Code powering the Apache Fluo website ([https://fluo.apache.org][production]).
[Contributing](CONTRIBUTING.md) describes how to test locally.
@@ -97,3 +118,8 @@ The final site can be viewed [here][production].
[Jekyll]: https://jekyllrb.com/
[production]: https://fluo.apache.org
[staging]: https://fluo.staged.apache.org
+[ti]: https://github.com/apache/fluo-website/workflows/CI/badge.svg
+[tl]: https://github.com/apache/fluo-website/actions
+[li]: http://img.shields.io/badge/license-ASL-blue.svg
+[ll]: https://github.com/apache/fluo-website/blob/main/LICENSE
+
diff --git a/docs/fluo-recipes/1.1.0-incubating/index.md b/docs/fluo-recipes/1.1.0-incubating/index.md
index 350a929..4e682be 100644
--- a/docs/fluo-recipes/1.1.0-incubating/index.md
+++ b/docs/fluo-recipes/1.1.0-incubating/index.md
@@ -97,7 +97,5 @@ Below is a sample Maven POM containing all possible Fluo Recipes dependencies:
[row-hasher]: /docs/fluo-recipes/1.1.0-incubating/row-hasher/
[spark]: /docs/fluo-recipes/1.1.0-incubating/spark/
[testing]: /docs/fluo-recipes/1.1.0-incubating/testing/
-[ti]: https://travis-ci.org/apache/incubator-fluo-recipes.svg?branch=main
-[tl]: https://travis-ci.org/apache/incubator-fluo-recipes
[li]: http://img.shields.io/badge/license-ASL-blue.svg
[ll]: https://github.com/apache/incubator-fluo-recipes/blob/main/LICENSE
diff --git a/docs/fluo/1.1.0-incubating/index.md b/docs/fluo/1.1.0-incubating/index.md
index 4b27f58..406ee12 100644
--- a/docs/fluo/1.1.0-incubating/index.md
+++ b/docs/fluo/1.1.0-incubating/index.md
@@ -47,8 +47,6 @@ Below are helpful resources for Fluo application developers:
[Metrics]: /docs/fluo/1.1.0-incubating/metrics/
[Contributing]: /docs/fluo/1.1.0-incubating/contributing/
[Architecture]: /docs/fluo/1.1.0-incubating/architecture/
-[ti]: https://travis-ci.org/apache/incubator-fluo.svg?branch=main
-[tl]: https://travis-ci.org/apache/incubator-fluo
[li]: http://img.shields.io/badge/license-ASL-blue.svg
[ll]: https://github.com/apache/incubator-fluo/blob/main/LICENSE
[mi]: https://maven-badges.herokuapp.com/maven-central/org.apache.fluo/fluo-api/badge.svg
diff --git a/pages/poweredby.md b/pages/poweredby.md
index 52cb22a..785048d 100644
--- a/pages/poweredby.md
+++ b/pages/poweredby.md
@@ -18,7 +18,6 @@ Apache Fluo is powered by:
* [Guava][guava]
* [Kryo][kryo]
* [slf4j][slf4j]
-* [TravisCI][travisci]
This website was made using:
@@ -39,7 +38,6 @@ This website was made using:
[guava]: https://github.com/google/guava
[maven]: https://maven.apache.org/
[slf4j]: https://www.slf4j.org/
-[travisci]: https://travis-ci.org/
[bootstrap]: https://getbootstrap.com/
[fontawesome]: https://fontawesome.com/
[jekyll]: https://jekyllrb.com/