Skip to content

Commit

Permalink
Prepare v1.4.x for revisioned documentation (#2551)
Browse files Browse the repository at this point in the history
* Prepare v1.4.x for revisioned documentation

* Remove current from delta docs api / remove product page from branch

* Update setup-scala version

* Update other github actions as well

* Fix java version for storage

* Fix java version for storage

* Fix java version for storage

* Drop kg/admin/iam prefix in api pages

* Override page template to display warning message

* Format sbt file

Co-authored-by: Simon Dumas <simon.dumas@epfl.ch>
  • Loading branch information
imsdu and Simon Dumas authored Jun 21, 2021
1 parent 0680ac3 commit b18fe28
Show file tree
Hide file tree
Showing 443 changed files with 303 additions and 21,919 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/ci-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,11 @@ jobs:
fail-fast: true
steps:
- name: Checkout
uses: actions/checkout@v2.1.0
uses: actions/checkout@v2
- name: Cache Coursier
uses: actions/cache@v1.1.2
with:
path: ~/.cache/coursier
key: ${{ runner.os }}-coursier-scala-${{ hashFiles('**/*.sbt') }}
restore-keys: ${{ runner.os }}-coursier-scala-
uses: coursier/cache-action@v6
- name: Setup Scala
uses: olafurpg/setup-scala@v5
uses: olafurpg/setup-scala@v12
with:
java-version: adopt@1.11
- name: StaticAnalysis
Expand All @@ -46,15 +42,11 @@ jobs:
BINTRAY_PASS: ${{ secrets.BINTRAY_PASS }}
steps:
- name: Checkout
uses: actions/checkout@v2.1.0
uses: actions/checkout@v2
- name: Cache Coursier
uses: actions/cache@v1.1.2
with:
path: ~/.cache/coursier
key: ${{ runner.os }}-coursier-scala-${{ hashFiles('**/*.sbt') }}
restore-keys: ${{ runner.os }}-coursier-scala-
uses: coursier/cache-action@v6
- name: Setup Scala
uses: olafurpg/setup-scala@v5
uses: olafurpg/setup-scala@v12
with:
java-version: adopt@1.11
- name: Publish
Expand Down
20 changes: 6 additions & 14 deletions .github/workflows/ci-delta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,10 @@ jobs:
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2.1.0
- uses: actions/checkout@v2
- name: Cache Coursier
uses: actions/cache@v1.1.2
with:
path: ~/.cache/coursier
key: ${{ runner.os }}-coursier-scala-${{ hashFiles('**/*.sbt') }}
restore-keys: ${{ runner.os }}-coursier-scala-
- uses: olafurpg/setup-scala@v5
uses: coursier/cache-action@v6
- uses: olafurpg/setup-scala@v12
with:
java-version: adopt@1.11
- name: StaticAnalysis
Expand All @@ -50,14 +46,10 @@ jobs:
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
BINTRAY_PASS: ${{ secrets.BINTRAY_PASS }}
steps:
- uses: actions/checkout@v2.1.0
- uses: actions/checkout@v2
- name: Cache Coursier
uses: actions/cache@v1.1.2
with:
path: ~/.cache/coursier
key: ${{ runner.os }}-coursier-scala-${{ hashFiles('**/*.sbt') }}
restore-keys: ${{ runner.os }}-coursier-scala-
- uses: olafurpg/setup-scala@v5
uses: coursier/cache-action@v6
- uses: olafurpg/setup-scala@v12
with:
java-version: adopt@1.11
- name: PublishToBintray
Expand Down
50 changes: 3 additions & 47 deletions .github/workflows/ci-docs.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
name: Continuous Integration Docs
on:
push:
branches:
- master
paths:
- 'docs/**'
- 'build.sbt'
- 'project/**'
pull_request:
paths:
- 'docs/**'
Expand All @@ -21,49 +14,12 @@ jobs:
fail-fast: true
steps:
- name: Checkout
uses: actions/checkout@v2.1.0
uses: actions/checkout@v2
- name: Cache Coursier
uses: actions/cache@v1.1.2
with:
path: ~/.cache/coursier
key: ${{ runner.os }}-coursier-scala-${{ hashFiles('**/*.sbt') }}
restore-keys: ${{ runner.os }}-coursier-scala-
uses: coursier/cache-action@v6
- name: Setup Scala
uses: olafurpg/setup-scala@v5
uses: olafurpg/setup-scala@v12
with:
java-version: adopt@1.11
- name: Review
run: sbt "project docs" clean scalafmtCheck scalafmtSbtCheck paradox

publish:
if: github.event_name == 'push'
runs-on: ubuntu-latest
strategy:
fail-fast: true
env:
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
BINTRAY_PASS: ${{ secrets.BINTRAY_PASS }}
BUILD_BOT_SSH_PRIVATE_KEY: ${{ secrets.BUILD_BOT_SSH_PRIVATE_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v2.1.0
- name: Cache Coursier
uses: actions/cache@v1.1.2
with:
path: ~/.cache/coursier
key: ${{ runner.os }}-coursier-scala-${{ hashFiles('**/*.sbt') }}
restore-keys: ${{ runner.os }}-coursier-scala-
- name: Setup Scala
uses: olafurpg/setup-scala@v5
with:
java-version: adopt@1.11
- name: Publish
run: |
git config --global user.email "noreply@epfl.ch"
git config --global user.name "BBP Nexus Build Bot"
mkdir "$HOME/.ssh"
chmod 700 "$HOME/.ssh"
echo "$BUILD_BOT_SSH_PRIVATE_KEY" > "$HOME/.ssh/id_rsa"
chmod 400 "$HOME/.ssh/id_rsa"
ssh-keyscan -t rsa github.com >> "$HOME/.ssh/known_hosts"
sbt "project docs" clean makeSite ghpagesPushSite
65 changes: 0 additions & 65 deletions .github/workflows/ci-product-page.yml

This file was deleted.

20 changes: 6 additions & 14 deletions .github/workflows/ci-rdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,10 @@ jobs:
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2.1.0
- uses: actions/checkout@v2
- name: Cache Coursier
uses: actions/cache@v1.1.2
with:
path: ~/.cache/coursier
key: ${{ runner.os }}-coursier-scala-${{ hashFiles('**/*.sbt') }}
restore-keys: ${{ runner.os }}-coursier-scala-
- uses: olafurpg/setup-scala@v5
uses: coursier/cache-action@v6
- uses: olafurpg/setup-scala@v12
with:
java-version: adopt@1.11
- name: StaticAnalysis
Expand All @@ -43,14 +39,10 @@ jobs:
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
BINTRAY_PASS: ${{ secrets.BINTRAY_PASS }}
steps:
- uses: actions/checkout@v2.1.0
- uses: actions/checkout@v2
- name: Cache Coursier
uses: actions/cache@v1.1.2
with:
path: ~/.cache/coursier
key: ${{ runner.os }}-coursier-scala-${{ hashFiles('**/*.sbt') }}
restore-keys: ${{ runner.os }}-coursier-scala-
- uses: olafurpg/setup-scala@v5
uses: coursier/cache-action@v6
- uses: olafurpg/setup-scala@v12
with:
java-version: adopt@1.11
- name: Publish
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,11 @@ jobs:
BINTRAY_PASS: ${{ secrets.BINTRAY_PASS }}
steps:
- name: Checkout
uses: actions/checkout@v2.1.0
uses: actions/checkout@v2
- name: Cache Coursier
uses: actions/cache@v1.1.2
with:
path: ~/.cache/coursier
key: ${{ runner.os }}-coursier-scala-${{ hashFiles('**/*.sbt') }}
restore-keys: ${{ runner.os }}-coursier-scala-
uses: coursier/cache-action@v6
- name: Setup Scala
uses: olafurpg/setup-scala@v5
uses: olafurpg/setup-scala@v12
with:
java-version: adopt@1.11
- name: SetVersion
Expand Down
20 changes: 6 additions & 14 deletions .github/workflows/ci-sourcing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,10 @@ jobs:
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2.1.0
- uses: actions/checkout@v2
- name: Cache Coursier
uses: actions/cache@v1.1.2
with:
path: ~/.cache/coursier
key: ${{ runner.os }}-coursier-scala-${{ hashFiles('**/*.sbt') }}
restore-keys: ${{ runner.os }}-coursier-scala-
- uses: olafurpg/setup-scala@v5
uses: coursier/cache-action@v6
- uses: olafurpg/setup-scala@v12
with:
java-version: adopt@1.11
- name: StaticAnalysis
Expand All @@ -43,14 +39,10 @@ jobs:
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
BINTRAY_PASS: ${{ secrets.BINTRAY_PASS }}
steps:
- uses: actions/checkout@v2.1.0
- uses: actions/checkout@v2
- name: Cache Coursier
uses: actions/cache@v1.1.2
with:
path: ~/.cache/coursier
key: ${{ runner.os }}-coursier-scala-${{ hashFiles('**/*.sbt') }}
restore-keys: ${{ runner.os }}-coursier-scala-
- uses: olafurpg/setup-scala@v5
uses: coursier/cache-action@v6
- uses: olafurpg/setup-scala@v12
with:
java-version: adopt@1.11
- name: Publish
Expand Down
36 changes: 12 additions & 24 deletions .github/workflows/ci-storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,12 @@ jobs:
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2.1.0
- uses: actions/checkout@v2
- name: Cache Coursier
uses: actions/cache@v1.1.2
with:
path: ~/.cache/coursier
key: ${{ runner.os }}-coursier-scala-${{ hashFiles('**/*.sbt') }}
restore-keys: ${{ runner.os }}-coursier-scala-
- uses: olafurpg/setup-scala@v5
uses: coursier/cache-action@v6
- uses: olafurpg/setup-scala@v12
with:
java-version: adopt@1.8-0
java-version: adopt@1.8.0-272
- name: StaticAnalysis
run: sbt -Dsbt.color=always -Dsbt.supershell=false "project storage" clean scalafmtCheck test:scalafmtCheck scalafmtSbtCheck scapegoat
- name: Tests
Expand All @@ -56,16 +52,12 @@ jobs:
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
BINTRAY_PASS: ${{ secrets.BINTRAY_PASS }}
steps:
- uses: actions/checkout@v2.1.0
- uses: actions/checkout@v2
- name: Cache Coursier
uses: actions/cache@v1.1.2
uses: coursier/cache-action@v6
- uses: olafurpg/setup-scala@v12
with:
path: ~/.cache/coursier
key: ${{ runner.os }}-coursier-scala-${{ hashFiles('**/*.sbt') }}
restore-keys: ${{ runner.os }}-coursier-scala-
- uses: olafurpg/setup-scala@v5
with:
java-version: adopt@1.8-0
java-version: adopt@1.8.0-272
- name: PublishToBintray
run: sbt -Dsbt.color=always -Dsbt.supershell=false "project storage" releaseEarly
- name: PublishToDockerHub
Expand All @@ -88,16 +80,12 @@ jobs:
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
BINTRAY_PASS: ${{ secrets.BINTRAY_PASS }}
steps:
- uses: actions/checkout@v2.1.0
- uses: actions/checkout@v2
- name: Cache Coursier
uses: actions/cache@v1.1.2
with:
path: ~/.cache/coursier
key: ${{ runner.os }}-coursier-scala-${{ hashFiles('**/*.sbt') }}
restore-keys: ${{ runner.os }}-coursier-scala-
- uses: olafurpg/setup-scala@v5
uses: coursier/cache-action@v6
- uses: olafurpg/setup-scala@v12
with:
java-version: adopt@1.8-0
java-version: adopt@1.8.0-272
- name: SetVersion
run: echo ::set-env name=VERSION::$(echo ${GITHUB_REF:11})
- name: PublishToBintray
Expand Down
Loading

0 comments on commit b18fe28

Please sign in to comment.