Skip to content
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
45 changes: 1 addition & 44 deletions .github/workflows/internal-java-code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- main
# Ignore changes in documentation, general configuration and reports for push events
paths-ignore:
- 'results/**'
- '**/*.md'
- '**/*.txt'
- '**/*.css'
Expand All @@ -25,7 +24,6 @@ on:
- main
# Ignore changes in documentation, general configuration and reports for pull request events
paths-ignore:
- 'results/**'
- '**/*.md'
- '**/*.txt'
- '**/*.css'
Expand Down Expand Up @@ -117,45 +115,4 @@ jobs:
with:
analysis-name: ${{ needs.prepare-code-to-analyze.outputs.analysis-name }}
artifacts-upload-name: ${{ needs.prepare-code-to-analyze.outputs.artifacts-upload-name }}
sources-upload-name: ${{ needs.prepare-code-to-analyze.outputs.sources-upload-name }}



commit-analysis-results:
if: github.event_name == 'push'
needs: [prepare-code-to-analyze, analyze-code-graph]
runs-on: ubuntu-latest

env:
CI_COMMIT_MESSAGE: Automated code structure analysis analysis-results (CI)
CI_COMMIT_AUTHOR: ${{ github.event.repository.name }} Continuous Integration

steps:
- name: Checkout GIT Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
token: ${{ secrets.WORKFLOW_GIT_ACCESS_TOKEN }}

- name: (Code Analysis Setup) Download source code and artifacts for analysis
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
with:
name: ${{ needs.analyze-code-graph.outputs.uploaded-analysis-results }}
path: ./results/${{ needs.prepare-code-to-analyze.outputs.analysis-name }}

- name: Commit "results" directory containing the reports
# Only run when a pull request gets merged or a commit is pushed to the main branch
# git add parameters need to match paths-ignore parameters above
# Git pull before add/commit/push to reduce race conditions on parallel builds
run: |
git config --global user.name '${{ env.CI_COMMIT_AUTHOR }}'
git config --global user.email "[email protected]"
git config --local http.postBuffer 524288000
git fetch origin
git status
git add results
git status
git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
git status
git rebase --strategy-option=theirs origin/main --verbose
git status
git push --verbose
sources-upload-name: ${{ needs.prepare-code-to-analyze.outputs.sources-upload-name }}
67 changes: 0 additions & 67 deletions .github/workflows/internal-report-reference-documentation.yml

This file was deleted.

45 changes: 1 addition & 44 deletions .github/workflows/internal-typescript-code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- main
# Ignore changes in documentation, general configuration and reports for push events
paths-ignore:
- 'results/**'
- '**/*.md'
- '**/*.txt'
- '**/*.css'
Expand All @@ -25,7 +24,6 @@ on:
- main
# Ignore changes in documentation, general configuration and reports for pull request events
paths-ignore:
- 'results/**'
- '**/*.md'
- '**/*.txt'
- '**/*.css'
Expand Down Expand Up @@ -119,45 +117,4 @@ jobs:
uses: ./.github/workflows/public-analyze-code-graph.yml
with:
analysis-name: ${{ needs.prepare-code-to-analyze.outputs.analysis-name }}
sources-upload-name: ${{ needs.prepare-code-to-analyze.outputs.sources-upload-name }}



commit-analysis-results:
if: github.event_name == 'push'
needs: [prepare-code-to-analyze, analyze-code-graph]
runs-on: ubuntu-latest

env:
CI_COMMIT_MESSAGE: Automated code structure analysis analysis-results (CI)
CI_COMMIT_AUTHOR: ${{ github.event.repository.name }} Continuous Integration

steps:
- name: Checkout GIT Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
token: ${{ secrets.WORKFLOW_GIT_ACCESS_TOKEN }}

- name: (Code Analysis Setup) Download source code and artifacts for analysis
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
with:
name: ${{ needs.analyze-code-graph.outputs.uploaded-analysis-results }}
path: results/${{ needs.prepare-code-to-analyze.outputs.analysis-name }}

- name: Commit "results" directory containing the reports
# Only run when a pull request gets merged or a commit is pushed to the main branch
# git add parameters need to match paths-ignore parameters above
# Git pull before add/commit/push to reduce race conditions on parallel builds
run: |
git config --global user.name '${{ env.CI_COMMIT_AUTHOR }}'
git config --global user.email "[email protected]"
git config --local http.postBuffer 524288000
git fetch origin
git status
git add results
git status
git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
git status
git rebase --strategy-option=theirs origin/main --verbose
git status
git push --verbose
sources-upload-name: ${{ needs.prepare-code-to-analyze.outputs.sources-upload-name }}
36 changes: 0 additions & 36 deletions COMMANDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
- [Generate Markdown References](#generate-markdown-references)
- [Generate Cypher Reference](#generate-cypher-reference)
- [Generate Script Reference](#generate-script-reference)
- [Generate CSV Cypher Query Report Reference](#generate-csv-cypher-query-report-reference)
- [Generate Jupyter Notebook Report Reference](#generate-jupyter-notebook-report-reference)
- [Generate Image Reference](#generate-image-reference)
- [Generate Environment Variable Reference](#generate-environment-variable-reference)
- [Validate Links in Markdown](#validate-links-in-markdown)
- [Manual Setup](#manual-setup)
Expand Down Expand Up @@ -147,39 +144,6 @@ Change into the [scripts](./scripts/) directory e.g. with `cd scripts` and then
./documentation/generateScriptReference.sh
```

### Generate CSV Cypher Query Report Reference

Change into the [results](./results/) directory e.g. with `cd results` and then execute the script [generateCsvReportReference.sh](./scripts/documentation/generateCsvReportReference.sh) with the following command:

👉**Note:** This script is automatically triggered at the end of [copyReportsIntoResults.sh](./scripts/copyReportsIntoResults.sh)
which is included in the pipeline [internal-java-code-analysis.yml](.github/workflows/internal-java-code-analysis.yml) and doesn't need to be executed manually normally.

```script
./../scripts/documentation/generateCsvReportReference.sh
```

### Generate Jupyter Notebook Report Reference

Change into the [results](./results/) directory e.g. with `cd results` and then execute the script [generateJupyterReportReference.sh](./scripts/documentation/generateJupyterReportReference.sh) with the following command:

👉**Note:** This script is automatically triggered at the end of [copyReportsIntoResults.sh](./scripts/copyReportsIntoResults.sh)
which is included in the pipeline [internal-java-code-analysis.yml](.github/workflows/internal-java-code-analysis.yml) and doesn't need to be executed manually normally.

```script
./../scripts/documentation/generateJupyterReportReference.sh
```

### Generate Image Reference

Change into the [results](./results/) directory e.g. with `cd results` and then execute the script [generateImageReference.sh](./scripts/documentation/generateImageReference.sh) with the following command:

👉**Note:** This script is automatically triggered at the end of [copyReportsIntoResults.sh](./scripts/copyReportsIntoResults.sh)
which is included in the pipeline [internal-java-code-analysis.yml](.github/workflows/internal-java-code-analysis.yml) and doesn't need to be executed manually normally.

```script
./../scripts/documentation/generateImageReference.sh
```

### Generate Environment Variable Reference

Change into the [scripts](./scripts/) directory e.g. with `cd scripts` and then execute the script [generateEnvironmentVariableReference.sh](./scripts/documentation/generateEnvironmentVariableReference.sh) with the following command:
Expand Down
Loading
Loading