-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/ci: update base from bbb2452e in the main CUE repo
DO NOT SUBMIT Need to update commit ref above. The changes in the generated .github/workflows/*.yaml files are accounted for by the "upstream" changes to a custom default shell. Signed-off-by: Paul Jolly <[email protected]> Change-Id: Ie8f2b9488d938b83ce3557277ddeb350b62d2e0e Dispatch-Trailer: {"type":"trybot","CL":1206958,"patchset":1,"ref":"refs/changes/58/1206958/1","targetBranch":"master"}
- Loading branch information
Showing
8 changed files
with
23 additions
and
26 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
Dispatch-Trailer: {"type":"')) | ||
defaults: | ||
run: | ||
shell: bash | ||
shell: bash --noprofile --norc -euo pipefail {0} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -108,9 +108,7 @@ jobs: | |
node-version: 22.11.0 | ||
- name: Early git and code sanity checks | ||
run: go run cuelang.org/go/internal/ci/[email protected] | ||
- run: cue login --token=${CUE_TOKEN} | ||
env: | ||
CUE_TOKEN: ${{ secrets.NOTCUECKOO_CUE_TOKEN }} | ||
- run: cue login --token=${{ secrets.NOTCUECKOO_CUE_TOKEN }} | ||
- name: Add node_modules/.bin to PATH and npm install | ||
run: |- | ||
echo "PATH=$PWD/node_modules/.bin:$PATH" >> $GITHUB_ENV | ||
|
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
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
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 |
---|---|---|
|
@@ -104,7 +104,7 @@ workflows: trybot: _repo.bashWorkflow & { | |
|
||
_repo.earlyChecks, | ||
|
||
_centralRegistryLogin, | ||
_repo.loginCentralRegistry, | ||
|
||
npmSetup, | ||
extensionStep & npmSetup, | ||
|
@@ -182,16 +182,3 @@ _installCUE: githubactions.#Step & { | |
uses: "cue-lang/[email protected]" | ||
with: version: _repo.cueVersion | ||
} | ||
|
||
_centralRegistryLogin: githubactions.#Step & { | ||
env: { | ||
// Note: this token has read-only access to the registry | ||
// and is used only because we need some credentials | ||
// to pull dependencies from the Central Registry. | ||
// The token is owned by notcueckoo and described as "ci readonly". | ||
CUE_TOKEN: "${{ secrets.NOTCUECKOO_CUE_TOKEN }}" | ||
} | ||
run: """ | ||
cue login --token=${CUE_TOKEN} | ||
""" | ||
} |