Commit Graph

36 Commits (2f8e98242c6de16cbfb6ebb6bc29cfe404b343cb)

Author SHA1 Message Date
Michael Telatynski f0ee7f7905
Merge matrix-react-sdk into element-web
Merge remote-tracking branch 'repomerge/t3chguy/repomerge' into t3chguy/repo-merge

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 15:32:09 +01:00
Michael Telatynski 1a2d201863
Tweak branch matching to allow not applying outside of PRs for matrix-analytics-events (#11186) 2023-07-04 17:14:29 +01:00
Richard van der Hoff 192e6f6c3d
Fix PR lookup for `fetchdep.sh` (#10990)
Context: `fetchdep.sh` attempts to check out a github repository based on the
details in a pull request. To do this, it needs to know how to find the pull
request. So, the github workflows attempt to set environment variables to tell
it. Unfortunately, they currently disagree about what the names of the
environment variables should be.

This appears to have been introduced by #8498.

To simplify matters, we may as well have the script use `${GITHUB_REPOSITORY}`
directly, and remove te unused `REPOSITORY` env var from the workflows.
2023-05-25 13:50:17 +00:00
Michael Telatynski cda31136b9
Tweak sonar-project.properties (#8498) 2022-05-04 15:29:34 -04:00
Michael Telatynski 92f440d9de
Consolidate deployment management into more maintained action (#8430) 2022-04-29 11:07:42 +01:00
Travis Ralston 7aeb2c3cde Step 10.4: Fix end-to-end test branch matching 2022-03-28 14:33:28 -06:00
Travis Ralston 61a0be7d46
Render events as extensible events (behind labs) (#7462)
* Render events as extensible events (behind labs)

* Include the SDK

* Appease linter

* Update for changed property name

* Fix formatting error

* Fix branch matching for build steps

* Update SDK

* Update scripts/fetchdep.sh

Co-authored-by: Andy Balaam <andyb@element.io>

Co-authored-by: Andy Balaam <andyb@element.io>
2022-01-13 17:03:37 +00:00
Travis Ralston c9619bfe48
Fix documentation to make `yarn test` work out of the box (mk II) (#7075)
* Fix documentation to make `yarn test` work out of the box

Before, invoking `yarn test` croaked on a missing src/component-index.js
file. In another part of the README, the missing instruction to generate
this file was found.

* Fix CI: Unauthenticated git protocol on port 9418 is no longer supported

GitHub is deprecating the service which answered unauthenticated git
protocol requests. Either it happened already, or they are running
brownouts.

* This is where I meant to leave that comment

Co-authored-by: Andreas Motl <andreas.motl@panodata.org>
2021-11-02 20:22:24 +00:00
Travis Ralston e3cb55ce82
Update scripts/fetchdep.sh 2021-09-01 14:43:37 -06:00
Šimon Brandner 5b65528038
Make GH actions clone from the correct fork and cleanup
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-29 17:37:11 +02:00
Germain Souquet b092686453 improve comment grammar 2021-06-22 16:14:01 +01:00
Germain Souquet fca2feaae8 make github env variable check first as it is new home for ci 2021-06-22 16:09:33 +01:00
Germain Souquet c42f0fd2e4 split GITHUB_REPOSITORY rather than using GITHUB_ACTOR 2021-06-22 14:17:11 +01:00
Germain Souquet 660f3900f8 Change if statement syntax to use positive expressions 2021-06-22 14:11:41 +01:00
Germain a7daf558bb
Use proper capitalisation for Buildkite
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-06-22 13:03:55 +01:00
Germain Souquet 8090d2b583 Fix branch matching for BuildKite 2021-06-22 09:31:15 +01:00
Germain Souquet ca5f8f97bb Branch matching support for forked repository on GitHub actions 2021-06-21 16:18:13 +01:00
Germain Souquet 2d9e97a3e1 Fix branch matching to work with GitHub Actions and BuildKite 2021-06-21 09:47:46 +01:00
Šimon Brandner a9853c4f8f
Clone author's deps fork for Netlify previews
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-08 19:09:00 +02:00
David Baker c853085e29 Add support for Netlify to fetchdep script
and remove support for Jenkins
2020-12-03 18:40:33 +00:00
Travis Ralston 708f62784f
Consistency
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2020-01-21 10:59:33 -07:00
Travis Ralston 62b1dd77a6 Fix layering of the riot-web tests pipeline 2020-01-20 16:12:59 -07:00
J. Ryan Stinnett 6f79e8503a 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
2019-03-20 18:06:07 +00:00
J. Ryan Stinnett 02569fca4b 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
2019-03-19 16:59:31 +00:00
Travis Ralston 6d7703dcb6 Re-introduce `yarn test` and fix comments 2019-03-15 11:19:05 -06:00
Travis Ralston 365c8e9fdc Fetch downstream dependencies from as many places as possible
Gives the build the best possible chance at passing
2019-03-15 10:34:30 -06:00
Travis Ralston cab5f7aba4 Use the right branch for fetching dependencies 2019-03-13 22:44:09 -06:00
Travis Ralston 8017f0a4a1 Merge remote-tracking branch 'origin/experimental' into travis/develop-for-real 2019-01-03 16:00:23 -07:00
J. Ryan Stinnett 135a0884c9
Update scripts/fetchdep.sh
Co-Authored-By: turt2live <travpc@gmail.com>
2018-12-28 19:42:13 -07:00
Travis Ralston 310f634a0d Ensure we install the master branch of the e2e tests as a default 2018-12-21 19:24:07 -07:00
J. Ryan Stinnett 7affd5fcff Try fetching more branches for PRs
Attempt both the PR author's branch and the PR's target branch. This resolves
issues on experimental where we need riot-web to also be experimental.
2018-12-20 22:58:09 +00:00
David Baker 9f8202c8a9 Remove directories if they exist 2018-05-02 16:49:08 +01:00
David Baker 82349ec933 Fix sed 2018-05-02 16:43:51 +01:00
David Baker 183947615f Fux up jenkins origin/ branches 2018-05-02 16:39:10 +01:00
David Baker 0040ea0d9f Use develop js-sdk in travis build 2018-05-02 15:53:38 +01:00
David Baker b44582777b Would if I added the script 2018-05-02 11:03:40 +01:00