-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: try centralized pr validation * chore: auto-update metadata coverage in METADATA_SUPPORT.md * ci: test perf nuts * ci: cli, install/build * ci: parameterized os * ci: git config first * chore: auto-update metadata coverage in METADATA_SUPPORT.md * test: record perf [ci skip] * ci: try windows * ci: try git status on windows * ci: windows 1 test, log output dir * ci: windows 1 test, more char replace * ci: cache yarn * ci: is windows saving the file * ci: assert file saving, no -- * ci: try to eliminate extra dashes * ci: try to eliminate extra dashes * ci: windows verify file * ci: compare both os * test: record perf [ci skip] * ci: restore 3 scale nuts * ci: git stuff on NOT windows * test: record perf [ci skip] * dont run push tests on main * ci: externalize git config * ci: are actions case sensitive * ci: semicolons separate scale commands * test: record perf [ci skip] * ci: better logging * test: record perf [ci skip] * ci: attempt external nuts * ci: rerun push test * ci: nuts with secrets * ci: external nuts on both os via matrix * ci: comment * ci: naming, all extNuts * ci: with primer * ci: only use circle for release * ci: full tests flow * test: record perf [ci skip] * test: try skipping a test * test: record perf [ci skip] * ci: split nuts by os * test: skip tests of unused code * test: record perf [ci skip] * ci: change registry check job name * ci: externalize git config * ci: rename preview registry job * test: record perf [ci skip] * ci: more parallelization on deploy nuts, renames * test: record perf [ci skip] * fix: make typedoc work again * ci: publish on merge to main * ci: remove circle * test: record perf [ci skip] * refactor: pr feedback * test: record perf [ci skip] * docs: perf test results readme * ci: complete nuts when possible * chore: auto-update metadata coverage in METADATA_SUPPORT.md * test: record perf [ci skip] * test: record perf [ci skip] Co-authored-by: SF-CLI-BOT <[email protected]>
- Loading branch information
Showing
35 changed files
with
524 additions
and
284 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: automerge | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '42 2,5,8,11 * * *' | ||
|
||
jobs: | ||
automerge: | ||
uses: salesforcecli/github-workflows/.github/workflows/automerge.yml@main | ||
with: | ||
mergeMethod: squash | ||
|
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: version, tag and github release | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
release: | ||
uses: salesforcecli/github-workflows/.github/workflows/githubRelease.yml@main | ||
secrets: inherit | ||
docs: | ||
uses: salesforcecli/github-workflows/.github/workflows/publishTypedoc.yml@main | ||
secrets: inherit | ||
needs: release |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# when a github release happens, publish an npm package, | ||
on: | ||
release: | ||
types: [released] | ||
# support manual release | ||
workflow_dispatch: | ||
inputs: | ||
tag: | ||
description: tag that needs to publish | ||
type: string | ||
required: true | ||
jobs: | ||
npm: | ||
uses: salesforcecli/github-workflows/.github/workflows/npmPublish.yml@main | ||
with: | ||
ctc: false | ||
githubTag: ${{ github.event.release.tag_name || inputs.tag }} | ||
secrets: inherit |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# runs some very-large-repo tests (for windows filesystem limits) and commits perf results for comparison | ||
name: perf-scale-nuts | ||
on: | ||
workflow_call: | ||
inputs: | ||
os: | ||
type: string | ||
required: false | ||
default: 'ubuntu-latest' | ||
|
||
jobs: | ||
perf-scale-nuts: | ||
runs-on: ${{ inputs.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: latest | ||
cache: yarn | ||
- run: npm install -g sfdx-cli --omit=dev | ||
- run: yarn install | ||
- run: yarn build | ||
- run: yarn test:nuts:scale | ||
- uses: salesforcecli/github-workflows/.github/actions/gitConfig@main | ||
- run: git status | ||
- run: git add test/nuts/perfResults | ||
- run: 'git commit -m "test: record perf [ci skip]" --no-verify' | ||
# git on windows won't recognize the changes in the results files | ||
# when that is working, remove these if statements so we can track perf | ||
if: runner.os != 'Windows' | ||
- run: git push --no-verify | ||
if: runner.os != 'Windows' |
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
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
Oops, something went wrong.