Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): add Earthfile #4696

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

chore(ci): add Earthfile #4696

wants to merge 7 commits into from

Conversation

TomAFrench
Copy link
Member

Description

Problem*

Resolves

Summary*

This PR adds an Earthfile (https://earthly.dev/) as a potential replacement CI which is more repeatable than using github directly.

Additional Context

Documentation*

Check one:

  • No documentation needed.
  • Documentation included in this PR.
  • [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Apr 2, 2024
Copy link

socket-security bot commented Apr 2, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/clsx@1.2.1 None 0 5.67 kB lukeed
npm/co@4.6.0 None 0 16 kB jongleberry
npm/istanbul-lib-coverage@3.2.2 None 0 34.4 kB oss-bot

🚮 Removed packages: npm/@aashutoshrathi/word-wrap@1.2.6, npm/@ampproject/remapping@2.2.1, npm/@babel/compat-data@7.23.5, npm/@babel/generator@7.24.4, npm/@babel/helper-annotate-as-pure@7.22.5, npm/@babel/helper-builder-binary-assignment-operator-visitor@7.22.15, npm/@babel/helper-create-regexp-features-plugin@7.22.15, npm/@babel/helper-function-name@7.23.0, npm/@babel/helper-hoist-variables@7.22.5, npm/@babel/helper-member-expression-to-functions@7.23.0, npm/@babel/helper-module-imports@7.24.3, npm/@babel/helper-module-transforms@7.23.3, npm/@babel/helper-optimise-call-expression@7.22.5, npm/@babel/helper-remap-async-to-generator@7.22.20, npm/@babel/helper-replace-supers@7.24.1, npm/@babel/helper-simple-access@7.22.5, npm/@babel/helper-skip-transparent-expression-wrappers@7.22.5, npm/@babel/helper-split-export-declaration@7.22.6, npm/@babel/helper-wrap-function@7.22.20, npm/@babel/helpers@7.24.4, npm/@babel/highlight@7.24.2, npm/@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2, npm/@babel/plugin-syntax-async-generators@7.8.4, npm/@babel/plugin-syntax-class-properties@7.12.13, npm/@babel/plugin-syntax-class-static-block@7.14.5, npm/@babel/plugin-syntax-dynamic-import@7.8.3, npm/@babel/plugin-syntax-export-namespace-from@7.8.3, npm/@babel/plugin-syntax-import-meta@7.10.4, npm/@babel/plugin-syntax-json-strings@7.8.3, npm/@babel/plugin-syntax-logical-assignment-operators@7.10.4, npm/@babel/plugin-syntax-nullish-coalescing-operator@7.8.3, npm/@babel/plugin-syntax-numeric-separator@7.10.4, npm/@babel/plugin-syntax-object-rest-spread@7.8.3, npm/@babel/plugin-syntax-optional-catch-binding@7.8.3, npm/@babel/plugin-syntax-optional-chaining@7.8.3, npm/@babel/plugin-syntax-private-property-in-object@7.14.5, npm/@babel/plugin-syntax-top-level-await@7.14.5, npm/@babel/plugin-syntax-unicode-sets-regex@7.18.6, npm/@babel/plugin-transform-named-capturing-groups-regex@7.22.5, npm/@babel/plugin-transform-parameters@7.24.1, npm/@babel/plugin-transform-react-jsx-development@7.22.5, npm/@babel/preset-modules@0.1.6-no-external-plugins, npm/@babel/regjsgen@0.8.0, npm/@babel/runtime@7.24.4, npm/@babel/template@7.24.0, npm/@babel/traverse@7.24.1, npm/@babel/types@7.24.0, npm/@cspotcode/source-map-support@0.8.1, npm/@discoveryjs/json-ext@0.5.7, npm/@eslint-community/eslint-utils@4.4.0, npm/@eslint-community/regexpp@4.10.0, npm/@eslint/js@8.57.0, npm/@hapi/hoek@9.3.0, npm/@hapi/topo@5.1.0, npm/@humanwhocodes/module-importer@1.0.1, npm/@humanwhocodes/object-schema@2.0.3, npm/@jest/schemas@29.6.3, npm/@jest/types@29.6.3, npm/@jridgewell/gen-mapping@0.3.5, npm/@jridgewell/trace-mapping@0.3.9, npm/@nodelib/fs.scandir@2.1.5, npm/@nodelib/fs.stat@2.0.5, npm/@nodelib/fs.walk@1.2.8, npm/@polka/url@1.0.0-next.25, npm/@sideway/formula@3.0.1, npm/@sideway/pinpoint@2.0.0, npm/@svgr/babel-plugin-remove-jsx-attribute@8.0.0, npm/@svgr/babel-plugin-remove-jsx-empty-expression@8.0.0, npm/@trysound/sax@0.2.0, npm/@tsconfig/node10@1.0.11, npm/@tsconfig/node12@1.0.11, npm/@tsconfig/node14@1.0.3, npm/@tsconfig/node16@1.0.4, npm/@types/debug@4.1.12, npm/@types/eslint-scope@3.7.7, npm/@types/estree@1.0.5, npm/@types/html-minifier-terser@6.1.0, npm/@types/http-proxy@1.17.14, npm/@types/istanbul-lib-report@3.0.3, npm/@types/istanbul-reports@3.0.4, npm/@types/json-schema@7.0.15, npm/@types/ms@0.7.34, npm/@types/node@20.12.7, npm/@types/parse-json@4.0.2, npm/@types/prop-types@15.7.12, npm/@types/react@18.2.79, npm/@types/semver@7.5.8, npm/@types/yargs@17.0.32, npm/@typescript-eslint/types@6.21.0, npm/@typescript-eslint/visitor-keys@6.21.0, npm/@ungap/structured-clone@1.2.0, npm/@webassemblyjs/ast@1.12.1, npm/@webassemblyjs/floating-point-hex-parser@1.11.6, npm/@webassemblyjs/helper-api-error@1.11.6, npm/@webassemblyjs/helper-buffer@1.12.1, npm/@webassemblyjs/helper-numbers@1.11.6, npm/@webassemblyjs/helper-wasm-bytecode@1.11.6, npm/@webassemblyjs/helper-wasm-section@1.12.1, npm/@webassemblyjs/ieee754@1.11.6, npm/@webassemblyjs/leb128@1.11.6, npm/@webassemblyjs/utf8@1.11.6, npm/@webassemblyjs/wasm-edit@1.12.1, npm/@webassemblyjs/wasm-gen@1.12.1, npm/@webassemblyjs/wasm-opt@1.12.1, npm/@webassemblyjs/wasm-parser@1.12.1, npm/@webassemblyjs/wast-printer@1.12.1, npm/@xtuc/ieee754@1.2.0, npm/@xtuc/long@4.2.2, npm/acorn-import-assertions@1.9.0, npm/acorn-jsx@5.3.2, npm/acorn-walk@8.3.2, npm/acorn@8.11.3, npm/address@1.2.2, npm/aggregate-error@3.1.0, npm/ajv@6.12.6, npm/ansi-colors@4.1.1, npm/ansi-html-community@0.0.8, npm/ansi-styles@4.3.0, npm/anymatch@3.1.3, npm/arg@4.1.3, npm/argparse@2.0.1, npm/array-flatten@1.1.1, npm/array-union@2.1.0, npm/assertion-error@1.1.0, npm/at-least-node@1.0.0, npm/bail@1.0.5, npm/big.js@5.2.2, npm/binary-extensions@2.3.0, npm/boolbase@1.0.0, npm/brace-expansion@1.1.11, npm/braces@3.0.2, npm/browser-stdout@1.3.1, npm/browserslist@4.23.0, npm/bytes@3.0.0, npm/call-bind@1.0.7, npm/camel-case@4.1.2, npm/camelcase-css@2.0.1, npm/ccount@1.1.0, npm/character-entities-html4@2.1.0, npm/check-error@1.0.3, npm/chrome-trace-event@1.0.3, npm/clean-stack@2.2.0, npm/cli-boxes@3.0.0, npm/clone-deep@4.0.1, npm/color-convert@2.0.1, npm/colord@2.9.3, npm/colorette@2.0.20, npm/common-path-prefix@3.0.0, npm/commondir@1.0.1, npm/content-type@1.0.5, npm/convert-source-map@1.9.0, npm/cookie-signature@1.0.6, npm/cookie@0.6.0, npm/core-js-compat@3.37.0, npm/core-js-pure@3.37.0, npm/core-util-is@1.0.3, npm/create-require@1.1.1, npm/cross-spawn@7.0.3, npm/css-what@6.1.0, npm/cssesc@3.0.0, npm/csstype@3.1.3, npm/debounce@1.2.1, npm/debug@4.3.4, npm/decamelize@4.0.0, npm/deep-eql@4.1.3, npm/deep-extend@0.6.0, npm/deep-is@0.1.4, npm/define-lazy-prop@2.0.0, npm/define-properties@1.2.1, npm/depd@2.0.0, npm/dequal@2.0.3, npm/destroy@1.2.0, npm/detect-node@2.1.0, npm/diff@5.0.0, npm/dir-glob@3.0.1, npm/doctrine@3.0.0, npm/dom-converter@0.2.0, npm/domelementtype@2.3.0, npm/domhandler@4.3.1, npm/dot-case@3.0.4, npm/duplexer@0.1.2, npm/eastasianwidth@0.2.0, npm/ee-first@1.1.1, npm/emojis-list@3.0.0, npm/encodeurl@1.0.2, npm/end-of-stream@1.4.4, npm/enhanced-resolve@5.16.0, npm/entities@4.5.0, npm/error-ex@1.3.2, npm/es-module-lexer@1.5.0, npm/escape-html@1.0.3, npm/escape-string-regexp@4.0.0, npm/eslint-scope@7.2.2, npm/eslint-visitor-keys@3.4.3, npm/espree@9.6.1, npm/esquery@1.5.0, npm/esrecurse@4.3.0, npm/estraverse@5.3.0, npm/estree-walker@3.0.3, npm/esutils@2.0.3, npm/etag@1.8.1, npm/eventemitter3@4.0.7, npm/events@3.3.0, npm/extend@3.0.2, npm/fast-deep-equal@3.1.3, npm/fast-diff@1.3.0, npm/fast-glob@3.3.2, npm/fast-levenshtein@2.0.6, npm/fastq@1.17.1, npm/fill-range@7.0.1, npm/find-up@5.0.0, npm/flat-cache@3.2.0, npm/flat@5.0.2, npm/flatted@3.3.1, npm/forwarded@0.2.0, npm/fraction.js@4.3.7, npm/fresh@0.5.2, npm/fs-extra@10.1.0, npm/fs-monkey@1.0.5, npm/get-func-name@2.0.2, npm/get-own-enumerable-property-symbols@3.0.2, npm/get-stdin@9.0.0, npm/github-slugger@1.5.0, npm/glob-parent@6.0.2, npm/glob-to-regexp@0.4.1, npm/globals@13.24.0, npm/globby@11.1.0, npm/gopd@1.0.1, npm/graphemer@1.4.0, npm/gzip-size@6.0.0, npm/handle-thing@2.0.1, npm/has-property-descriptors@1.0.2, npm/has-proto@1.0.3, npm/has-symbols@1.0.3, npm/hasown@2.0.2, npm/he@1.2.0, npm/html-minifier-terser@6.1.0, npm/html-tags@3.3.1, npm/http-cache-semantics@4.1.1, npm/http-deceiver@1.2.7, npm/iconv-lite@0.4.24, npm/icss-utils@5.1.0, npm/ignore@5.3.1, npm/immer@9.0.21, npm/import-meta-resolve@4.0.0, npm/indent-string@4.0.0, npm/inflight@1.0.6, npm/invariant@2.2.4, npm/is-binary-path@2.1.0, npm/is-core-module@2.13.1, npm/is-docker@2.2.1, npm/is-extendable@0.1.1, npm/is-extglob@2.1.1, npm/is-glob@4.0.3, npm/is-obj@2.0.0, npm/is-path-cwd@2.2.0, npm/is-path-inside@3.0.3, npm/is-plain-obj@2.1.0, npm/is-plain-object@2.0.4, npm/is-regexp@1.0.0, npm/is-typedarray@1.0.0, npm/is-unicode-supported@0.1.0, npm/is-wsl@2.2.0, npm/isarray@0.0.1, npm/isobject@3.0.1, npm/jiti@1.21.0, npm/js-yaml@4.1.0, npm/json-buffer@3.0.1, npm/json-schema-traverse@0.4.1, npm/json-stable-stringify-without-jsonify@1.0.1, npm/keyv@4.5.4, npm/kind-of@6.0.3, npm/levn@0.4.1, npm/lilconfig@2.1.0, npm/loader-runner@4.3.0, npm/loader-utils@2.0.4, npm/locate-path@6.0.0, npm/lodash.debounce@4.0.8, npm/lodash.memoize@4.1.2, npm/lodash.merge@4.6.2, npm/lodash.uniq@4.5.0, npm/lodash@4.17.21, npm/longest-streak@3.1.0, npm/loose-envify@1.4.0, npm/loupe@2.3.7, npm/lower-case@2.0.2, npm/lru-cache@6.0.0, npm/make-error@1.3.6, npm/markdown-table@3.0.3, npm/mdast-util-to-string@2.0.0, npm/mdn-data@2.0.14, npm/media-typer@0.3.0, npm/memfs@3.6.0, npm/merge-descriptors@1.0.1, npm/merge2@1.4.1, npm/methods@1.1.2, npm/micromark-util-encode@2.0.0, npm/micromark-util-html-tag-name@2.0.0, npm/micromark-util-types@2.0.0, npm/micromatch@4.0.5, npm/mime@1.6.0, npm/minimalistic-assert@1.0.1, npm/minimist@1.2.8, npm/mrmime@2.0.0, npm/nanoid@3.3.7, npm/negotiator@0.6.3, npm/neo-async@2.6.2, npm/no-case@3.0.4, npm/node-forge@1.3.1, npm/normalize-range@0.1.2, npm/npm-run-path@4.0.1, npm/nth-check@2.1.1, npm/object-assign@4.1.1, npm/object-inspect@1.13.1, npm/object-keys@1.1.1, npm/object.assign@4.1.5, npm/obuf@1.1.2, npm/on-headers@1.0.2, npm/once@1.4.0, npm/onetime@5.1.2, npm/open@8.4.2, npm/opener@1.5.2, npm/optionator@0.9.3, npm/p-limit@3.1.0, npm/p-locate@5.0.0, npm/p-map@4.0.0, npm/param-case@3.0.4, npm/parse5@6.0.1, npm/parseurl@1.3.3, npm/pascal-case@3.1.2, npm/path-type@4.0.0, npm/pathval@1.1.1, npm/pkg-dir@4.2.0, npm/postcss-modules-values@4.0.0, npm/postcss-selector-parser@6.0.16, npm/postcss-value-parser@4.2.0, npm/postcss@8.4.38, npm/prelude-ls@1.2.1, npm/prettier-linter-helpers@1.0.0, npm/prettier@3.2.5, npm/pretty-error@4.0.0, npm/process-nextick-args@2.0.1, npm/prompts@2.4.2, npm/pump@3.0.0, npm/punycode@2.3.1, npm/qs@6.11.0, npm/queue-microtask@1.2.3, npm/randombytes@2.1.0, npm/react-is@16.13.1, npm/react@17.0.2, npm/readable-stream@3.6.2, npm/readdirp@3.6.0, npm/regenerate-unicode-properties@10.1.1, npm/regenerate@1.4.2, npm/regenerator-runtime@0.14.1, npm/regenerator-transform@0.15.2, npm/relateurl@0.2.7, npm/require-from-string@2.0.2, npm/requires-port@1.0.0, npm/resolve@1.22.8, npm/reusify@1.0.4, npm/run-parallel@1.2.0, npm/rxjs@7.8.1, npm/safe-buffer@5.2.1, npm/safer-buffer@2.1.2, npm/scheduler@0.20.2, npm/select-hose@2.0.0, npm/setprototypeof@1.2.0, npm/shebang-command@2.0.0, npm/shell-quote@1.8.1, npm/side-channel@1.0.6, npm/sirv@2.0.4, npm/source-map-js@1.2.0, npm/source-map@0.5.7, npm/stable@0.1.8, npm/statuses@2.0.1, npm/std-env@3.7.0, npm/strip-bom-string@1.0.0, npm/supports-color@7.2.0, npm/svg-parser@2.0.4, npm/tapable@2.2.1, npm/terser@5.30.3, npm/text-table@0.2.0, npm/tiny-invariant@1.3.3, npm/to-regex-range@5.0.1, npm/toidentifier@1.0.1, npm/totalist@3.0.1, npm/trim-lines@3.0.1, npm/trough@1.0.5, npm/tslib@2.6.2, npm/type-check@0.4.0, npm/type-fest@0.20.2, npm/typedarray-to-buffer@3.1.5, npm/typescript@5.4.5, npm/unicode-canonical-property-names-ecmascript@2.0.0, npm/unicode-match-property-ecmascript@2.0.0, npm/unicode-match-property-value-ecmascript@2.1.0, npm/unicode-property-aliases-ecmascript@2.1.0, npm/unist-util-is@4.1.0, npm/universalify@2.0.1, npm/unpipe@1.0.0, npm/update-browserslist-db@1.0.13, npm/uri-js@4.4.1, npm/util-deprecate@1.0.2, npm/utila@0.4.0, npm/utils-merge@1.0.1, npm/uuid@8.3.2, npm/v8-compile-cache-lib@3.0.1, npm/vary@1.1.2, npm/vfile-message@2.0.4, npm/vscode-languageserver-textdocument@1.0.11, npm/vscode-uri@3.0.8, npm/watchpack@2.4.1, npm/webpack-sources@3.2.3, npm/which@2.0.2, npm/workerpool@6.2.1, npm/write-file-atomic@3.0.3, npm/ws@7.5.9, npm/xtend@4.0.2, npm/yaml@2.4.1, npm/yargs-parser@20.2.4, npm/yn@3.1.1

View full report↗︎

Copy link
Contributor

github-actions bot commented Apr 2, 2024

@TomAFrench TomAFrench linked an issue Apr 4, 2024 that may be closed by this pull request
@TomAFrench TomAFrench mentioned this pull request Apr 5, 2024
5 tasks
github-merge-queue bot pushed a commit that referenced this pull request Apr 5, 2024
# Description

## Problem\*

Resolves <!-- Link to GitHub Issue -->

## Summary\*

This set of workflows aren't really usable currently due to lack of
caching. They're not being run on PRs so it's constantly breaking but
putting it on PRs would blow up our CI times.

We're likely to move instead to earthly (#4696) if we are moving to a
docker-based system so we should remove this.

## Additional Context



## Documentation\*

Check one:
- [x] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[For Experimental Features]** Documentation to be submitted in a
separate PR.

# PR Checklist\*

- [x] I have tested the changes locally.
- [x] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.
Copy link
Contributor

FYI @noir-lang/developerrelations on Noir doc changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate using cargo-chef and docker to speedup build times
1 participant