-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare v1.4.x for revisioned documentation (#2551)
* 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 <[email protected]>
- Loading branch information
Showing
443 changed files
with
303 additions
and
21,919 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
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: [email protected] | ||
- name: StaticAnalysis | ||
|
@@ -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/[email protected] | ||
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: [email protected] | ||
- name: Publish | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
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: [email protected] | ||
- name: StaticAnalysis | ||
|
@@ -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/[email protected] | ||
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: [email protected] | ||
- name: PublishToBintray | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/**' | ||
|
@@ -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/[email protected] | ||
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: [email protected] | ||
- 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/[email protected] | ||
- name: Cache Coursier | ||
uses: actions/[email protected] | ||
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: [email protected] | ||
- name: Publish | ||
run: | | ||
git config --global user.email "[email protected]" | ||
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 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
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: [email protected] | ||
- name: StaticAnalysis | ||
|
@@ -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/[email protected] | ||
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: [email protected] | ||
- name: Publish | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
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: [email protected] | ||
- name: SetVersion | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
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: [email protected] | ||
- name: StaticAnalysis | ||
|
@@ -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/[email protected] | ||
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: [email protected] | ||
- name: Publish | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
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: [email protected]-0 | ||
java-version: [email protected].0-272 | ||
- name: StaticAnalysis | ||
run: sbt -Dsbt.color=always -Dsbt.supershell=false "project storage" clean scalafmtCheck test:scalafmtCheck scalafmtSbtCheck scapegoat | ||
- name: Tests | ||
|
@@ -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/[email protected] | ||
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: [email protected] | ||
java-version: [email protected] | ||
- name: PublishToBintray | ||
run: sbt -Dsbt.color=always -Dsbt.supershell=false "project storage" releaseEarly | ||
- name: PublishToDockerHub | ||
|
@@ -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/[email protected] | ||
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: [email protected]-0 | ||
java-version: [email protected].0-272 | ||
- name: SetVersion | ||
run: echo ::set-env name=VERSION::$(echo ${GITHUB_REF:11}) | ||
- name: PublishToBintray | ||
|
Oops, something went wrong.