Travis Ralston
a978a6734f
Fix CI tests
...
There's a bunch of generated files that webpack relies on to work, and Karma works off webpack. To make both happy we've added
a new `build:genfiles` script which takes care of this for us. We also have to install and build our other layers to get the
same effect (like generating the react-sdk's component index, while we still have one).
This commit also fixes all the imports in the tests because they were just wrong. They should have been caught in the ES6ification
earlier, but were missed.
6 years ago
Dale Harvey
a41484cb35
Add stub service worker so users can install on desktop with Chrome
...
Signed-off-by: Dale Harvey <dale@arandomurl.com>
7 years ago
Travis Ralston
ec66069e96
Update build scripts for new process
...
We have to convert *something* to TypeScript so it doesn't complain that there's nothing to compile, so this converts the easiest utility library.
Many of the scripts are copied from the react-sdk.
7 years ago
Travis Ralston
3389f7afc9
Fix version file for Docker images
...
Fixes https://github.com/vector-im/riot-web/issues/11642
7 years ago
Travis Ralston
831522d02d
Update Lithuanian language name
...
By request: https://matrix.to/#/!yvhoprZiKmhjxKfNHa:matrix.org/$E_5Waedui4X866edAWmYVAjg6vv-vwAXRHN4h0DKY6s?via=matrix.eclabs.de&via=matrix.org&via=dodsorf.as
7 years ago
Travis Ralston
e4bf84701d
Use ISO code table as a source instead
...
https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes
7 years ago
Travis Ralston
a76f897171
Enable more languages
...
Enabled (riot-web % / react-sdk %):
* Lithuanian: 100% / 48.1% translated
* Hindi: 69.6% / 36.5% translated
* Ukrainian: 100% / 28.5% translated
* Icelandic: 43.5% / 27.7% translated
They aren't the highest languages, but they are more than our lowest translated & enabled languages.
7 years ago
Travis Ralston
726bf35b76
Fix Docker build for develop and publish a /version file
...
Fixes https://github.com/vector-im/riot-web/issues/10426
7 years ago
RiotRobot
b93b6b448e
Restore creation of the dist directory
7 years ago
RiotRobot
d0c8a6af50
Copy signed Windows installers to pub directory
7 years ago
RiotRobot
dd9305140b
Only log signing command when it fails
7 years ago
RiotRobot
cde5c9c027
Remove redundant Windows installer signing
...
The signing in `electron-package.sh` is no longer needed, since it's already
handled in the new sign script for `electron-builder`.
7 years ago
RiotRobot
99ee0fc72d
Fix Windows signing args
...
The hash arg seems to only accept the short `-h` form. In addition, the args in
the environment contained a fixed hash type which is removed here.
7 years ago
David Baker
070d5fc6e8
Sign all of the Windows executable files
...
We can actually just supply a custom signing module here to do our
signing rather than manually signing things in the afterSign hook.
This means all 4 executable files get signed (the main exe, the
stub exe, Update.exe and the installer).
7 years ago
David Baker
a84de0bae2
Sign all of the Windows executable files
...
We can actually just supply a custom signing module here to do our
signing rather than manually signing things in the afterSign hook.
This means all 4 executable files get signed (the main exe, the
stub exe, Update.exe and the installer).
7 years ago
David Baker
64c23ae18d
Fix error/exception in electron signing script
...
'Exception' isn't a thing: Error is
7 years ago
David Baker
94e721acf2
Update cert name & do bash globbing correctly
7 years ago
David Baker
3545b2751d
typo
...
Co-Authored-By: Travis Ralston <travpc@gmail.com>
7 years ago
Nazım Can Altınova
dd9898e687
Fix the label of Turkish language
...
Türk means Turkish as nationality and Türkçe means Turkish as language.
7 years ago
David Baker
1ff06c4be4
Missing space
...
also don't print the signing command line as it has the token password
7 years ago
David Baker
5a7efcd738
Sign the main executable on windows
...
and automate the signing of the installers
7 years ago
David Baker
071223120b
Warn that this might be a while
7 years ago
David Baker
2bab328f8d
Check everything's in place for the notarising dance
...
...before we start the build process.
7 years ago
David Baker
7faba49f66
fix quotes
7 years ago
David Baker
bad97db302
remove random spaces
7 years ago
David Baker
ff70339aad
Working branch for notarisation
7 years ago
J. Ryan Stinnett
54767b5a65
Clean Yarn cache during Electron builds
7 years ago
Travis Ralston
6b07186078
Verify i18n in CI
7 years ago
J. Ryan Stinnett
aaceaf097c
Add Albanian language
7 years ago
J. Ryan Stinnett
1c42ee1a30
Add West Flemish language
7 years ago
Matthew Hodgson
4cbe6c1000
remove emojione
7 years ago
Travis Ralston
3123b429f7
Increase timeout for yarn install in Docker builds
...
Otherwise we run into problems where Docker Hub's limited machines timeout trying to download our dependencies
7 years ago
David Baker
a7756fc876
Respond quickly to buildkite pokes
...
Otherwise it thinks they have failed, as per comment.
7 years ago
David Baker
77dff119db
Fix variable scope in redeployer
7 years ago
David Baker
0718d438b8
Fix more typos in redeployer
7 years ago
David Baker
3a2541d3bf
more logging for auto-deployer
7 years ago
David Baker
f49732b036
Link to buildkite webhook docs
7 years ago
J. Ryan Stinnett
73144c3493
Typing is hard
...
Co-Authored-By: dbkr <dbkr@users.noreply.github.com>
7 years ago
J. Ryan Stinnett
c5e7e82b46
I can't type buildkite
...
Co-Authored-By: dbkr <dbkr@users.noreply.github.com>
7 years ago
David Baker
af6ad9355d
Convert redeploy.py to buildkite
7 years ago
David Baker
c62da0eda6
Don't fail if there's no local config to remove
...
The script has a set -e so don't fail if there's nothing to rm
7 years ago
David Baker
afc2b48073
combine sets
7 years ago
David Baker
1b8583fa51
Change jenkins script to package script
...
Take the useful part of the jenkins script and put it in a script
that makes a package with the git hashes as its version.
7 years ago
J. Ryan Stinnett
8002d98f50
Remove config.json from package dir
7 years ago
David Baker
addca871ad
Fix default for --include arg
...
nargs options are arrays and we assume it's an array later, so it
would iterate over each char of the string if left as the default
7 years ago
Travis Ralston
1bb70930fa
Support custom SDKs and use yarn
7 years ago
J. Ryan Stinnett
52ad757cf4
Switch to `git` protocol for CI dependencies
...
If you try to clone a repo that doesn't exist via `https`, `git` will prompt for
auth credentials and hang forever. Using `git` avoids this and fails immediately
instead, which is what we want for a missing repo.
Part of https://github.com/vector-im/riot-web/issues/9221
7 years ago
J. Ryan Stinnett
f5c28a19e1
Support CI for matching branches on forks
...
Currently, people with push access to the main Riot repos can push matching
branch names to Riot and the SDKs, and CI will test all the branches together.
This change allows contributors to access the same ability when submitting
several matching PRs from their fork of each repo.
Part of https://github.com/vector-im/riot-web/issues/9041
7 years ago
Travis Ralston
df7b617881
Fix downstream branch fetching
...
We should be giving the PR the best possible chance at passing the build.
7 years ago
Travis Ralston
ef6313fbb4
Use the right CI branch
7 years ago