Skip to content

Commit 62c4810

Browse files
authored
Merge pull request #317 from JohT/feature/remove-analysis-results-in-favor-of-separate-examples-repository
Remove "results" directory in favor of the new separate code-graph-analysis-examples repository
2 parents 9e6f642 + af03627 commit 62c4810

File tree

3,597 files changed

+26
-1254502
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,597 files changed

+26
-1254502
lines changed

.github/workflows/internal-java-code-analysis.yml

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- main
77
# Ignore changes in documentation, general configuration and reports for push events
88
paths-ignore:
9-
- 'results/**'
109
- '**/*.md'
1110
- '**/*.txt'
1211
- '**/*.css'
@@ -25,7 +24,6 @@ on:
2524
- main
2625
# Ignore changes in documentation, general configuration and reports for pull request events
2726
paths-ignore:
28-
- 'results/**'
2927
- '**/*.md'
3028
- '**/*.txt'
3129
- '**/*.css'
@@ -117,45 +115,4 @@ jobs:
117115
with:
118116
analysis-name: ${{ needs.prepare-code-to-analyze.outputs.analysis-name }}
119117
artifacts-upload-name: ${{ needs.prepare-code-to-analyze.outputs.artifacts-upload-name }}
120-
sources-upload-name: ${{ needs.prepare-code-to-analyze.outputs.sources-upload-name }}
121-
122-
123-
124-
commit-analysis-results:
125-
if: github.event_name == 'push'
126-
needs: [prepare-code-to-analyze, analyze-code-graph]
127-
runs-on: ubuntu-latest
128-
129-
env:
130-
CI_COMMIT_MESSAGE: Automated code structure analysis analysis-results (CI)
131-
CI_COMMIT_AUTHOR: ${{ github.event.repository.name }} Continuous Integration
132-
133-
steps:
134-
- name: Checkout GIT Repository
135-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
136-
with:
137-
token: ${{ secrets.WORKFLOW_GIT_ACCESS_TOKEN }}
138-
139-
- name: (Code Analysis Setup) Download source code and artifacts for analysis
140-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
141-
with:
142-
name: ${{ needs.analyze-code-graph.outputs.uploaded-analysis-results }}
143-
path: ./results/${{ needs.prepare-code-to-analyze.outputs.analysis-name }}
144-
145-
- name: Commit "results" directory containing the reports
146-
# Only run when a pull request gets merged or a commit is pushed to the main branch
147-
# git add parameters need to match paths-ignore parameters above
148-
# Git pull before add/commit/push to reduce race conditions on parallel builds
149-
run: |
150-
git config --global user.name '${{ env.CI_COMMIT_AUTHOR }}'
151-
git config --global user.email "7671054+JohT@users.noreply.github.com"
152-
git config --local http.postBuffer 524288000
153-
git fetch origin
154-
git status
155-
git add results
156-
git status
157-
git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
158-
git status
159-
git rebase --strategy-option=theirs origin/main --verbose
160-
git status
161-
git push --verbose
118+
sources-upload-name: ${{ needs.prepare-code-to-analyze.outputs.sources-upload-name }}

.github/workflows/internal-report-reference-documentation.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.

.github/workflows/internal-typescript-code-analysis.yml

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- main
77
# Ignore changes in documentation, general configuration and reports for push events
88
paths-ignore:
9-
- 'results/**'
109
- '**/*.md'
1110
- '**/*.txt'
1211
- '**/*.css'
@@ -25,7 +24,6 @@ on:
2524
- main
2625
# Ignore changes in documentation, general configuration and reports for pull request events
2726
paths-ignore:
28-
- 'results/**'
2927
- '**/*.md'
3028
- '**/*.txt'
3129
- '**/*.css'
@@ -119,45 +117,4 @@ jobs:
119117
uses: ./.github/workflows/public-analyze-code-graph.yml
120118
with:
121119
analysis-name: ${{ needs.prepare-code-to-analyze.outputs.analysis-name }}
122-
sources-upload-name: ${{ needs.prepare-code-to-analyze.outputs.sources-upload-name }}
123-
124-
125-
126-
commit-analysis-results:
127-
if: github.event_name == 'push'
128-
needs: [prepare-code-to-analyze, analyze-code-graph]
129-
runs-on: ubuntu-latest
130-
131-
env:
132-
CI_COMMIT_MESSAGE: Automated code structure analysis analysis-results (CI)
133-
CI_COMMIT_AUTHOR: ${{ github.event.repository.name }} Continuous Integration
134-
135-
steps:
136-
- name: Checkout GIT Repository
137-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
138-
with:
139-
token: ${{ secrets.WORKFLOW_GIT_ACCESS_TOKEN }}
140-
141-
- name: (Code Analysis Setup) Download source code and artifacts for analysis
142-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
143-
with:
144-
name: ${{ needs.analyze-code-graph.outputs.uploaded-analysis-results }}
145-
path: results/${{ needs.prepare-code-to-analyze.outputs.analysis-name }}
146-
147-
- name: Commit "results" directory containing the reports
148-
# Only run when a pull request gets merged or a commit is pushed to the main branch
149-
# git add parameters need to match paths-ignore parameters above
150-
# Git pull before add/commit/push to reduce race conditions on parallel builds
151-
run: |
152-
git config --global user.name '${{ env.CI_COMMIT_AUTHOR }}'
153-
git config --global user.email "7671054+JohT@users.noreply.github.com"
154-
git config --local http.postBuffer 524288000
155-
git fetch origin
156-
git status
157-
git add results
158-
git status
159-
git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
160-
git status
161-
git rebase --strategy-option=theirs origin/main --verbose
162-
git status
163-
git push --verbose
120+
sources-upload-name: ${{ needs.prepare-code-to-analyze.outputs.sources-upload-name }}

COMMANDS.md

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
- [Generate Markdown References](#generate-markdown-references)
1515
- [Generate Cypher Reference](#generate-cypher-reference)
1616
- [Generate Script Reference](#generate-script-reference)
17-
- [Generate CSV Cypher Query Report Reference](#generate-csv-cypher-query-report-reference)
18-
- [Generate Jupyter Notebook Report Reference](#generate-jupyter-notebook-report-reference)
19-
- [Generate Image Reference](#generate-image-reference)
2017
- [Generate Environment Variable Reference](#generate-environment-variable-reference)
2118
- [Validate Links in Markdown](#validate-links-in-markdown)
2219
- [Manual Setup](#manual-setup)
@@ -147,39 +144,6 @@ Change into the [scripts](./scripts/) directory e.g. with `cd scripts` and then
147144
./documentation/generateScriptReference.sh
148145
```
149146

150-
### Generate CSV Cypher Query Report Reference
151-
152-
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:
153-
154-
👉**Note:** This script is automatically triggered at the end of [copyReportsIntoResults.sh](./scripts/copyReportsIntoResults.sh)
155-
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.
156-
157-
```script
158-
./../scripts/documentation/generateCsvReportReference.sh
159-
```
160-
161-
### Generate Jupyter Notebook Report Reference
162-
163-
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:
164-
165-
👉**Note:** This script is automatically triggered at the end of [copyReportsIntoResults.sh](./scripts/copyReportsIntoResults.sh)
166-
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.
167-
168-
```script
169-
./../scripts/documentation/generateJupyterReportReference.sh
170-
```
171-
172-
### Generate Image Reference
173-
174-
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:
175-
176-
👉**Note:** This script is automatically triggered at the end of [copyReportsIntoResults.sh](./scripts/copyReportsIntoResults.sh)
177-
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.
178-
179-
```script
180-
./../scripts/documentation/generateImageReference.sh
181-
```
182-
183147
### Generate Environment Variable Reference
184148

185149
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:

0 commit comments

Comments
 (0)