Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conf: change doc generation and validation #16

Merged
merged 1 commit into from
Mar 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 2 additions & 18 deletions .github/workflows/build_doc_arrow-integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,5 @@ jobs:
with:
java-version: 1.8
architecture: x64
- name: Checkout orchestrator
run: |
cd $BASEDIR
git clone https://github.com/arrow-kt/arrow.git
- name: Run Ank for site
run: |
$BASEDIR/arrow/scripts/site-download.sh
$BASEDIR/arrow/scripts/site-run-ank.sh
- name: Run Dokka for arrow-integrations
run: $BASEDIR/arrow/scripts/project-run-dokka.sh arrow-integrations
- name: Run Ank for arrow-integrations
run: $BASEDIR/arrow/scripts/project-run-ank.sh arrow-integrations
- name: Join docs to site
run: $BASEDIR/arrow/scripts/project-locate-doc.sh arrow-integrations
- name: Prepare environment
run: $BASEDIR/arrow/scripts/site-prepare-env.sh
- name: Build site
run: $BASEDIR/arrow/scripts/site-build.sh
- name: Generate API doc and validate
run: ./gradlew buildArrowDoc
8 changes: 1 addition & 7 deletions .github/workflows/check_build_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,8 @@ jobs:
if: failure()
id: create-issue
run: |
echo $(git log -1 --pretty=format:%s)
$BASEDIR/arrow/scripts/issue-create-description.sh > issue.log
echo ::set-output name=title::$(git log -1 --pretty=format:%s)
echo -e "## Details\n" > issue.log
echo -e "* **Commit hash**: \`$(git log -1 --pretty=format:%h)\`\n" >> issue.log
echo -e "* **Author**: $(git log -1 --pretty=format:%an)\n" >> issue.log
echo -e "* **Committer**: $(git log -1 --pretty=format:%cn)\n" >> issue.log
echo -e "* **More info**: [error log](https://github.com/arrow-kt/arrow-integrations/commit/$GITHUB_SHA/checks)\n" >> issue.log
cat issue.log
rm -rf /home/runner/work/_actions/actions/github-script/0.3.0/node_modules
cd /home/runner/work/_actions/actions/github-script/0.3.0/
npm install
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/check_doc_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,8 @@ jobs:
if: failure()
id: create-issue
run: |
echo $(git log -1 --pretty=format:%s)
$BASEDIR/arrow/scripts/issue-create-description.sh > issue.log
echo ::set-output name=title::$(git log -1 --pretty=format:%s)
echo -e "## Details\n" > issue.log
echo -e "* **Commit hash**: \`$(git log -1 --pretty=format:%h)\`\n" >> issue.log
echo -e "* **Author**: $(git log -1 --pretty=format:%an)\n" >> issue.log
echo -e "* **Committer**: $(git log -1 --pretty=format:%cn)\n" >> issue.log
echo -e "* **More info**: [error log](https://github.com/arrow-kt/arrow-integrations/commit/$GITHUB_SHA/checks)\n" >> issue.log
cat issue.log
rm -rf /home/runner/work/_actions/actions/github-script/0.3.0/node_modules
cd /home/runner/work/_actions/actions/github-script/0.3.0/
npm install
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/publish_arrow-integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,8 @@ jobs:
if: failure()
id: create-issue
run: |
echo $(git log -1 --pretty=format:%s)
$BASEDIR/arrow/scripts/issue-create-description.sh > issue.log
echo ::set-output name=title::$(git log -1 --pretty=format:%s)
echo -e "## Details\n" > issue.log
echo -e "* **Commit hash**: \`$(git log -1 --pretty=format:%h)\`\n" >> issue.log
echo -e "* **Author**: $(git log -1 --pretty=format:%an)\n" >> issue.log
echo -e "* **Committer**: $(git log -1 --pretty=format:%cn)\n" >> issue.log
echo -e "* **More info**: [error log](https://github.com/arrow-kt/arrow-integrations/commit/$GITHUB_SHA/checks)\n" >> issue.log
cat issue.log
rm -rf /home/runner/work/_actions/actions/github-script/0.3.0/node_modules
cd /home/runner/work/_actions/actions/github-script/0.3.0/
npm install
Expand Down
14 changes: 3 additions & 11 deletions .github/workflows/publish_doc_arrow-integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@ jobs:
run: |
$BASEDIR/arrow/scripts/site-download.sh
$BASEDIR/arrow/scripts/site-run-ank.sh
- name: Run Dokka for arrow-integrations
run: $BASEDIR/arrow/scripts/project-run-dokka.sh arrow-integrations
- name: Run Ank for arrow-integrations
run: $BASEDIR/arrow/scripts/project-run-ank.sh arrow-integrations
- name: Generate API doc and validate
run: ./gradlew buildArrowDoc
- name: Join docs to site
run: $BASEDIR/arrow/scripts/project-locate-doc.sh arrow-integrations
- name: Prepare environment
Expand All @@ -52,14 +50,8 @@ jobs:
if: failure()
id: create-issue
run: |
echo $(git log -1 --pretty=format:%s)
$BASEDIR/arrow/scripts/issue-create-description.sh > issue.log
echo ::set-output name=title::$(git log -1 --pretty=format:%s)
echo -e "## Details\n" > issue.log
echo -e "* **Commit hash**: \`$(git log -1 --pretty=format:%h)\`\n" >> issue.log
echo -e "* **Author**: $(git log -1 --pretty=format:%an)\n" >> issue.log
echo -e "* **Committer**: $(git log -1 --pretty=format:%cn)\n" >> issue.log
echo -e "* **More info**: [error log](https://github.com/arrow-kt/arrow-integrations/commit/$GITHUB_SHA/checks)\n" >> issue.log
cat issue.log
rm -rf /home/runner/work/_actions/actions/github-script/0.3.0/node_modules
cd /home/runner/work/_actions/actions/github-script/0.3.0/
npm install
Expand Down
1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ rootProject.name = 'arrow-integrations-lib'

include 'arrow-integrations-jackson-module'
include 'arrow-integrations-retrofit-adapter'
include 'arrow-docs'