lumberjack
                                
                                 lumberjack copied to clipboard
                                
                                    lumberjack copied to clipboard
                            
                            
                            
                        ci: use build artifacts to speed up SonarCloud job
PR Checklist
Please check if your PR fulfills the following requirements:
- [x] The commit message follows our guidelines: CONTRIBUTING.md#commit
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
PR Type
What kind of change does this PR introduce?
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[x] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:
What is the current behavior?
The SonarCloud job takes a long time because we have to set up package dependencies to run Nx commands and use the Nx Cloud cache.
Issue Number: N/A
What is the new behavior?
The DTE orchestrator uploads test coverage and lint reports as build artifacts that are downloaded by the SonarCloud job.
Does this PR introduce a breaking change?
[ ] Yes
[x] No
Other information
The configure Sonar report paths script is converted to a local GitHub action. This is implemented as an Nx Node.js application project which is built in the DTE jobs and used in the SonarCloud job to prevent having to install Nx or other dependencies in order to minimize the time spent in the job.
- Update SonarCloud GitHub action to v1.9
- Update Nx DTE to v0.11.x
- Update Nx Cloud to 15.2.3
- Remove duplicate nx-cloud start-ci-runcommand as this causes DTE agent synchronization issues
☁️ Nx Cloud Report
CI is running/has finished running commands for commit e07244a3283e2d992e673dcfb64b35b5f0b1ce0e. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this branch
✅ Successfully ran 7 targets
- nx run-many --all --target=lint --configuration=report --parallel=2 --max-warnings=0
- nx affected --target=build --parallel=2 --exclude=actions-configure-sonarcloud-report-paths
- nx affected --target=e2e --parallel=1
- nx build actions-configure-sonarcloud-report-paths
- nx run-many --all --target=test --configuration=coverage --parallel=1 --max-workers=2
- nx-cloud record -- yarn nx format:check
- nx-cloud record -- yarn nx workspace-lint
Sent with 💌 from NxCloud.
Blocked by #149.
@LayZeeDK should we close this PR? It has been stale for a while.







