Commit graph

19 commits

Author SHA1 Message Date
Vinicius Fortuna
4537fddc75
fix(server): make temp file names longer (#1464) 2024-01-10 08:43:02 -05:00
Daniel LaCosse
e157315aa0
chore: upgrade node to lts/hydrogen (#1365)
* chore: upgrade to lts/hydrogen

* update github workflows

* fix attempt #1

* ssl, restify upgrade

* more openssl options

* ah thanks sander, using middleware2

* fix ci

* reset package-lock.json

* revert middleware2

* fix optional chaining

* okay cool tests run, but fail

* partially update the node image (i can't find the other one)

* Update test.action.sh

* Update build.action.sh

* Update test.action.sh

* Update build.action.sh

* Update package.json

* Update webpack.config.js

* Update webpack.config.js

* Update build.action.sh

* Update build.action.sh

* Update package.json

* Update README.md
2023-10-16 11:47:42 -04:00
Sander Bruens
61a8f7d290
chore(sentry_webhook): create tests for sentry webhook (#1417)
* Create tests for sentry webhook.

* Add GitHub workflow for new tests.

* Fix package lock files.

* Fix typos.

* Move webhook check up.

* Remove extra `/`.
2023-10-06 11:53:56 -04:00
Danil Shaymurzin ⚡️
e2b446d349
feat(server): add codeql security and quality queries and fix config (#1307)
* ci: fix query-filters

* ci: fix codeql workflow

* ci(codeql): security and quality queries
2023-03-29 15:53:47 -04:00
Danil Shaymurzin ⚡️
508a5a2af5
feat(server): add vulnerability analysis by CodeQL (#1271) 2023-02-28 19:00:45 -05:00
Daniel LaCosse
710e40f58c
feat(manager/web): chunked invite flow - phase zero (#1198)
* phase 0 init

* copy translations from internal TC

* update pr checks, change to link

* Update src/server_manager/web_app/ui_components/outline-share-dialog.ts

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>

Co-authored-by: jyyi1 <yijunyi@google.com>
Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>
2022-11-01 09:23:50 -04:00
Daniel LaCosse
96ffaac53c
chore(devtools): update codeowners (#1178)
* update codeowners

* Update .github/CODEOWNERS

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>
2022-10-05 12:24:21 -04:00
Daniel LaCosse
baf9ad0039
fix(devtools): only run the size label on internal PRs (#1153)
* fix(ci): only run the size label on internal PRs

* better

* there

* ?

* hm

* test opposite case

* great it works
2022-08-25 16:05:33 -04:00
Daniel LaCosse
15cf404361
feat(devtools): partial import restrictions (#1114)
* add restrictions - bypassing for draft

* this feels like the correct list?

* this feels like the actual actual correct list?

* comment out rules for later fixing

* upgrade node setup for windows
2022-06-23 17:52:30 -05:00
Daniel LaCosse
2d3481574f
chore(devtools): non-build updates from client (#1103)
* okay put this up see where we're at

* update builds here

* check browserslist

* add badge

* Update build_and_test_debug.yml

* scopes & electron version
2022-06-03 10:08:21 -04:00
Daniel LaCosse
144c533f14
feat(release): Linux Manager (#1056)
* start release process for linux

* re-org

* add get_version

* fix for file name conventions

* break out func, revert file

* fix get_version.mjs

* equals

* update readme
2022-03-10 10:23:56 -05:00
Daniel LaCosse
5a4966cf7c
feat(release): manager debug workflow (#1055)
* basic workflow sketch

* metrics server also needs lint

* update names

* latest?

* that's weird.

* ok that's a start. refactor next

* fix path

* oops

* ah

* no op

* make it like the other ones

* refactor scripts

* fix shellcheck

* ah okay

* upload mac artifact

* Update .travis.yml

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>

* comments

* add todo

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>
2022-03-08 14:01:08 -05:00
Ben Schwartz
d16f218b10 Add an OWNERS file 2022-02-22 22:27:56 -05:00
Daniel LaCosse
9d80b6d448
Migrate from Yarn to Node lts/gallium (#1004)
* attempt upgrade over CI

update shadowbox build node version

wild guess

try other image, not holding my breath

switch image back, try no --upgrade? lol

whoops wrong SHA

trying this tip out of hand - will make platform a env var next

apparently buildx is supposed to detect the platform - lets see

find replace yarn w/ npm

fix git hook

cache npm deps

proper lock and enforce engine

licenses are... generated by yarn lmao

some weird leftovers

explode out test workflow jobs

Title Case and check for cache hit

upgrade NPM

check version...

eh, worth a try

reinstall deps for now so we can debug downstream issues

use root bin

fix npm workspace, merge lint w/ setup

HMMM

attempt cache load

fix keys

remove restore-keys

regular install

attempt more "correct" npm approach

annoyingly caching ~/.npm doesn't cache the global npm version

less correct node_module cache, will roll back if doesn't work

er... node 15 :/, restore keys

changing key...?

permission setting so cache can properly hit

separate dependecy permission task

verbose chmod

fix sentry webhook

consistency thing

* print architecture

* attempt amd64-explicit node image

* attempt nodev16 upgrade

* ah, okay, let's try picking this hash

* fix node version reference and npm run clean

* revert untouched files caught in squash

* remove yarn from travis.yml

* testing ci

* npmrc comment, revert one of cis

* Update src/server_manager/web_app/run_gallery_action.sh

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>

* Update src/server_manager/web_app/run_action.sh

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>

* licenses change

* fix package-lock regression

* fix webpack-dev-server properly

* set install to ci in Dockerfile

* forgot to include the README

* add ci where it makes sense

* delete this part of the README

* missed one

* testing sub-node_modules

* better chmod

* prefer glob

* reset .github/workflows/test.yml

* oops, yarn in ci

* rename everything (#1006)

* Update test.yml

* check_requirements (#1008)

* reqcheck draft

* finish drafting script - need to test and add to hooks

* attempt to roll our own setup...

* remove setup script and rename a couple things

* remove this nightmare lol

* Update release_manager.yml

* Update test.yml

* 'do' -> 'action'

* run -> start

* Update src/shadowbox/docker/build.action.sh

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>

* Update README.md

* Update README.md

Co-authored-by: Benjamin M. Schwartz <bemasc@google.com>

* rename 'action' to action

* add action list to run action itself

* Update src/shadowbox/README.md

Co-authored-by: Benjamin M. Schwartz <bemasc@google.com>

* Update README.md

Co-authored-by: Benjamin M. Schwartz <bemasc@google.com>

* Update scripts/run_action.sh

Co-authored-by: Benjamin M. Schwartz <bemasc@google.com>

* Update src/server_manager/scripts/fill_packaging_opts.sh

Co-authored-by: Benjamin M. Schwartz <bemasc@google.com>

* style guide fixes

* lower case fixes

* enforce major version

* Update scripts/run_action.sh

Co-authored-by: Benjamin M. Schwartz <bemasc@google.com>

* Update package.json

Co-authored-by: Benjamin M. Schwartz <bemasc@google.com>

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>
Co-authored-by: Benjamin M. Schwartz <bemasc@google.com>
2021-11-05 16:40:34 -04:00
Daniel LaCosse
f342bca31f
add yarn actions, fix ShadowsocksConfig macro, webpack bin (#993)
* add yarn actions, fix ShadowsocksConfig macro, webpack bin

reverting unnecessary specificity

* tweak action trigger
2021-09-30 13:07:56 -04:00
Jonathan Cohen
c9d3a48b62
Release Outline Manager on Github Actions (#978)
Release Outline Manager on Github Actions
2021-09-23 16:28:11 -04:00
Ben Schwartz
850dba3454 Define SENTRY_DSN in the presubmit 2021-06-16 13:02:03 -04:00
Ben Schwartz
60d25e2aae Fix electron-builder release builds
electron-builder cannot tolerate electron versions that are specified
with semantic versioning syntax: https://github.com/electron-userland/electron-builder/issues/3984#issuecomment-547115107

This change also adds release builds to the presubmit, to prevent
regressions.
2021-06-16 12:56:04 -04:00
Jonathan Cohen
48e52787a8
CI Updates (#804)
* Fix broken Travis config

* Doesn't also build the Linux or Mac manager on server deploy
* Correctly builds a Windows binary on manager release (although we still have to manually upload build artifacts)
* Renames the Shadowbox deployment step

* Run Linux unit tests on Github Actions

* Run manager tests on mac, linux, and windows

* Fix syntax, use correct node version

* Don't test Shadowbox on Windows or Mac

* Don't cancel other jobs in the matrix when the build on one platform fails

* Use bash on all platforms.  This uses Git for Windows bash on Windows

* Remove Windows tests for now.  This is not a downgrade as we were only testing on linux before anyways

* Reduce code duplication

* Remove test config from Travis

* Respond to review comments:
 * Remove redundant build step in the shadowbox unit testing workflow
 * Add a testing step to the shadowbox release Travis workflow

* Pin to Ubuntu 16.04 to match our release infrastructure on Travis

* Run daily releases of the manager on all platforms

* Verbose mode on docker-compose

* try turning off Docker Content Trust

* Pin to a version of distroless Python and stop removing temp files at the end

* Remove verbose from compose

* Use Ubuntu 16.04

* Comment the pinned python image

* Add temp state cleanup back
2021-02-09 13:34:32 -05:00