52 Commits
Author SHA1 Message Date
Eric Schultz e9d2a06e65 Update actions/cache to v4 2024-10-06 00:20:51 -05:00
Jacob Weisz 4f9d6d7a09 Merge pull request #3706 from wwahammy/add-workflow-dispatch-to-doc-ci
Add workflow-dispatch to doc-ci to run manually
2024-01-13 22:05:32 -06:00
Jacob Weisz 7e87e6e91f Merge pull request #3705 from wwahammy/fix-build
Build on Ubuntu 20.04
2024-01-13 22:04:47 -06:00
Eric Schultz be238a4bd9 Add workflow-dispatch to doc-ci to run manually 2024-01-13 14:40:24 -06:00
Eric Schultz c36f68eb48 Build on Ubuntu 20.04 2024-01-13 14:32:33 -06:00
Eric Schultz e9326ce6be Update github actions to latest 2024-01-13 14:02:22 -06:00
Jacob Weisz 253beca874 Add ability to run build action manually 2023-08-03 18:56:45 -05:00
Kenton Varda 41ad1a1914 Merge pull request #3637 from zenhack/backpressure
Apply backpressure when installing packages.
2022-08-14 10:17:07 -05:00
ocdtrekkie 6b412bd36e Docs: Remove graphviz 2022-07-30 20:50:28 -05:00
Ian Denhardt fb0517b0ff Merge remote-tracking branch 'origin/master' into xfail 2022-07-09 13:21:41 -04:00
Ian Denhardt b93d21338f Clean up some warnings 2022-06-26 02:09:05 -04:00
Ian Denhardt c38ad534c7 Properly import/export doClientUpload.
This fixes two warnings.
2022-06-26 01:01:07 -04:00
Kenton Varda 58a408f925 Merge pull request #3631 from sandstorm-io/clean-about-page
Cleanup about page
2022-06-11 09:51:04 -05:00
Jacob Weisz e97761a96c Remove unused import, adjust lint count 2022-06-05 15:38:38 -05:00
Ian Denhardt 5d591993df Separate typecheck and lint scripts/targets
I'm finding it useful to be able to run these separately.
2022-05-31 01:38:28 -04:00
Ian Denhardt 39c35fe824 Stop allowing CI to fail.
...now that we are disabling the flaky/failing tests anyway, there is no
need for this.
2022-04-10 18:52:51 -04:00
Jim Garrison c9635c258d Install python3 specifically on CI
Following https://github.com/sandstorm-io/sandstorm/pull/3591#issuecomment-981153386
2021-11-28 18:27:26 -05:00
Ian Denhardt 96ea9200e6 Revert "Fix CI."
This reverts commit a97df8e54b.
2021-11-21 20:05:38 -05:00
Jim Garrison eeecef324d Add a workflow for previewing doc changes 2021-10-08 12:23:17 -04:00
Ian Denhardt c1d0a5dad8 Merge remote-tracking branch 'origin/master' into grain-settings 2021-06-11 21:34:37 -04:00
Ian Denhardt 4c2e4bcaac Increase number of expected warnings.
The new ones are spurrious unused-variable warnings for things only used
in types; we need to figure out how to fix these at some point, but this
doesn't represent an actually regression and I don't want to debug it
right now.
2021-05-02 18:56:39 -04:00
Jacob Weisz af8a54dc5c Update upload-artifact to v2 2021-04-18 11:55:07 -05:00
Ian Denhardt 565a169c8a Fix some linter warnings
Explicitly import/export updateStripeData, and deal with some unused
variable/parameter warnings.
2021-01-20 15:53:26 -05:00
Robert Schmid 327ba92a4b Fix number of linter warnings 2020-11-23 12:23:01 +01:00
Robert Schmid 0bcc102885 Lower number of known linker warnings 2020-11-16 23:28:20 +01:00
Robert Schmid 67d5e71eb1 Fix linter errors due to code duplication 2020-10-14 21:14:17 +02:00
Ian Denhardt 6622ed7558 Remove unused variables 2020-08-27 16:52:43 -04:00
Kenton Varda 8128ae42c9 Reduce expected lint errors. 2020-08-01 11:17:48 -05:00
Ian Denhardt 1750ce4bf7 Merge remote-tracking branch 'origin/master' into clone-grain 2020-07-05 01:16:01 -04:00
Kenton Varda cf5c2f30db Apparently I fixed a lint error. 2020-07-04 17:22:07 -05:00
Ian Denhardt f8d2bde65b Merge remote-tracking branch 'origin/master' into clone-grain 2020-07-04 14:06:16 -04:00
Kenton Varda 79161c7234 Merge pull request #3376 from zenhack/fix-3375
ACME: don't request cert for baseHost if covered by wildcard.
2020-06-27 20:47:15 -05:00
Ian Denhardt 2532bb9608 Fix a warning and tweak the expected number.
The number of warnings is up by 3, because each use of globalGrains
triggers another undefined variable warning.

eslint had actually detected 4 additional warnings; this also fixes the
one we can easily do something about.
2020-06-26 02:23:03 -04:00
Ian Denhardt e9cc80d049 CI: upload the build tarball as an artifact 2020-06-25 18:41:29 -04:00
Ian Denhardt acaded2096 Get rid of an unused .then(...)
eslint complained about the unused parameter... but we actually just
don't need to chain a callback here at all; it doesn't do anything.
2020-06-08 22:54:34 -04:00
Ian Denhardt e0b6d73211 Silence another benign unused parameter warning. 2020-06-08 22:50:46 -04:00
Ian Denhardt 16df0b4f2b Quiet some unused parameter warnings.
The functions themselves are stubs for no longer supported hacks, so of
course they don't use their arguments!
2020-06-08 22:46:22 -04:00
Ian Denhardt f0b1ad4daa Fix bug re: mass transfers resulting in tokens not being deleted.
As-written the function is called with nothing bound to `this`, so this
would probably just throw an exception. But clearly the intent was to
use the parameter.

Caught this via an unused variable warning.
2020-06-04 13:42:19 -04:00
Ian Denhardt ce898d3926 Update problem count 2020-06-03 21:02:56 -04:00
Ian Denhardt 5e76e6ba99 Silence a bunch of unused-argument warnings
A migration is just a function that takes a SandstormDb and a backend,
but the majority of these functions don't actually use the backend.

This patch updates our eslint config to allow silencing an unused
argument warning by prefixing the argument with an underscore, then uses
this throughout migrations.js. This way we can start cutting down on
the noise.
2020-05-28 15:41:09 -04:00
Ian Denhardt ad9d92d927 Actually run the removeFeatureKeys migration.
Eslint caught this (with an unused-variable warning); apparently this
has been defined for a long time but never actually set to *run*.
2020-05-27 21:10:46 -04:00
Ian Denhardt aa7e67aaa8 Fail CI if the number of eslint warnings increases.
This also re-enables the remaining eslint:recommended rules, in
warn-only mode. Ideally these will all be gone someday, but in the
meantime let's have CI tell us if we're getting colder.
2020-05-21 15:52:58 -04:00
Ian Denhardt 010dcce62d Convert the permissions tests over to mocha & chai.
Fixes #3188

Nothing of substance has really changed in the bodies of the tests
themselves; they are the same except for some find & replace changes
like:

    s/test.isTrue/chai.assert.isOk/g

...but they pass now.

This also adds explicit imports & exports for the `SandstormPermissions`
global, and adds a side-effect only import of another module to the
tests. This was done now because:

* Unless we pass `--full-app` to `meteor test`, meteor does not
  implicitly load all of our modules.
* Passing `--full-app` runs into problems trying to start the smtp
  server on startup, because our code is written to assume it was passed
  FDs by the gateway, but `meteor test` is running it in a more
  conventional fashion.
* It was easier to just fix the imports (which is what we want to do
  long term anyway) than to fight with `--full-app`.

This also turns the tests back on in CI.
2020-04-27 16:12:28 -04:00
Ian Denhardt 9b49cc5c02 GitHub action: Upload screenshots of failed tests as an artifact. 2020-04-18 13:09:56 -04:00
Ian Denhardt a7ec2ab7b9 Add basic eslint config, fix some issues.
These issues were caught by eslint and fixed:

- In a couple places were were setting global variables without
  explicitly declaring them. We now actually declare variables for
  these. One such case was of the form 'Foo = class Foo {', and is
  now just 'class Foo {', since the assignment was redundant anyway.
- A few files that used said globals did not explicitly import them; now
  they do.
- In once place we were using what is apparently deprecated syntax
  for octal literals. We now use the current 0oXXX syntax.
2020-03-20 19:25:22 -04:00
Kenton Varda a97df8e54b Fix CI. 2020-03-15 19:15:20 -05:00
Jacob Weisz 0c38a5d5b7 Remove last remnants of env.BUILD 2020-02-22 23:33:19 -06:00
Jacob Weisz 0a89e812b7 Also here 2020-02-22 15:19:09 -06:00
Jacob Weisz 0e8f088d0b Dpm 2020-02-22 15:16:20 -06:00
Jacob Weisz 0e4012c9ff Actions: Don't upload every build, BUILD 0 2020-02-22 14:01:17 -06:00