-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from stone-z/mholt-archiver-351-main
Merge from main
- Loading branch information
Showing
7,064 changed files
with
632,881 additions
and
289,782 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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,56 @@ | ||
restore_yarn_cache: | ||
steps: | ||
- restore_cache: | ||
name: Restore yarn cache | ||
key: &YARN_LOCK_CACHE_KEY yarn-lock-v6-{{ checksum "ui/yarn.lock" }} | ||
save_yarn_cache: | ||
steps: | ||
- save_cache: | ||
name: Save yarn cache | ||
key: *YARN_LOCK_CACHE_KEY | ||
paths: | ||
- ui/node_modules | ||
# allows restoring go mod caches by incomplete prefix. This is useful when re-generating | ||
# cache, but not when running builds and tests that require an exact match. | ||
restore_go_mod_cache_permissive: | ||
steps: | ||
- restore_cache: | ||
name: Restore closest matching go modules cache | ||
keys: | ||
- &gocachekey v1.3-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}}-{{checksum "api/go.sum"}} | ||
- v1.3-{{checksum "go.sum"}}-{{checksum "sdk/go.sum"}} | ||
- v1.3-{{checksum "go.sum"}} | ||
restore_go_mod_cache: | ||
steps: | ||
- restore_cache: | ||
name: Restore exact go modules cache | ||
keys: | ||
- *gocachekey | ||
save_go_mod_cache: | ||
steps: | ||
- save_cache: | ||
name: Save go modules cache | ||
key: *gocachekey | ||
paths: | ||
- /go/pkg/mod | ||
refresh_go_mod_cache: | ||
steps: | ||
- restore_go_mod_cache_permissive | ||
- run: | ||
name: go mod download | ||
command: | | ||
# go list ./... forces downloading some additional versions of modules that 'go mod | ||
# download' misses. We need this because we make use of go list itself during | ||
# code generation in later builds that rely on this module cache. | ||
go list ./... | ||
go mod download -json | ||
( cd sdk && go mod download -json; ) | ||
( cd api && go mod download -json; ) | ||
- run: | ||
name: Verify downloading modules did not modify any files | ||
command: | | ||
git --no-pager diff --exit-code || { | ||
echo "ERROR: Files modified by go mod download, see above." | ||
exit 1 | ||
} | ||
- save_go_mod_cache |
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,6 @@ | ||
steps: | ||
- add_ssh_keys: | ||
fingerprints: | ||
- "0e:03:77:f4:e2:c3:56:c2:53:6a:03:e1:31:91:2f:06" | ||
- run: | | ||
git config --global url."git@github.com:".insteadOf https://github.com/ |
17 changes: 17 additions & 0 deletions
17
.circleci/config/commands/exit-if-branch-does-not-need-test-ui.yml
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,17 @@ | ||
description: > | ||
Check if branch name starts with ui/ or docs/ and if so, exit. | ||
steps: | ||
- run: | ||
working_directory: ~/ | ||
name: Check branch name | ||
command: | | ||
case "$CIRCLE_BRANCH" in | ||
main|ui/*|release/*|merge*) ;; | ||
*) # If the branch being tested doesn't match one of the above patterns, | ||
# we don't need to run test-ui and can abort the job. | ||
circleci-agent step halt | ||
;; | ||
esac | ||
# exit with success either way | ||
exit 0 |
File renamed without changes.
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 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
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.