Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Ley
synapse
Commits
8d7fcf9b
Unverified
Commit
8d7fcf9b
authored
2 years ago
by
Erik Johnston
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix latest deps CI (#13734)
parent
dc0e896b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.github/workflows/latest_deps.yml
+17
-3
17 additions, 3 deletions
.github/workflows/latest_deps.yml
.github/workflows/twisted_trunk.yml
+24
-0
24 additions, 0 deletions
.github/workflows/twisted_trunk.yml
changelog.d/13734.misc
+1
-0
1 addition, 0 deletions
changelog.d/13734.misc
with
42 additions
and
3 deletions
.github/workflows/latest_deps.yml
+
17
−
3
View file @
8d7fcf9b
...
...
@@ -5,7 +5,7 @@
#
# As an overview this workflow:
# - checks out develop,
# - installs from source, pulling in the dependencies like a fresh `pip install` would, and
# - installs from source, pulling in the dependencies like a fresh `pip install` would, and
# - runs mypy and test suites in that checkout.
#
# Based on the twisted trunk CI job.
...
...
@@ -26,12 +26,19 @@ jobs:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Install Rust
uses
:
actions-rs/toolchain@v1
with
:
toolchain
:
stable
override
:
true
-
uses
:
Swatinem/rust-cache@v2
# The dev dependencies aren't exposed in the wheel metadata (at least with current
# poetry-core versions), so we install with poetry.
-
uses
:
matrix-org/setup-python-poetry@v1
with
:
python-version
:
"
3.x"
poetry-version
:
"
1.2.0
b1
"
poetry-version
:
"
1.2.0"
extras
:
"
all"
# Dump installed versions for debugging.
-
run
:
poetry run pip list > before.txt
...
...
@@ -53,6 +60,14 @@ jobs:
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Install Rust
uses
:
actions-rs/toolchain@v1
with
:
toolchain
:
stable
override
:
true
-
uses
:
Swatinem/rust-cache@v2
-
run
:
sudo apt-get -qq install xmlsec1
-
name
:
Set up PostgreSQL ${{ matrix.postgres-version }}
if
:
${{ matrix.postgres-version }}
...
...
@@ -187,4 +202,3 @@ jobs:
with
:
update_existing
:
true
filename
:
.ci/latest_deps_build_failed_issue_template.md
This diff is collapsed.
Click to expand it.
.github/workflows/twisted_trunk.yml
+
24
−
0
View file @
8d7fcf9b
...
...
@@ -16,6 +16,14 @@ jobs:
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Install Rust
uses
:
actions-rs/toolchain@v1
with
:
toolchain
:
stable
override
:
true
-
uses
:
Swatinem/rust-cache@v2
-
uses
:
matrix-org/setup-python-poetry@v1
with
:
python-version
:
"
3.x"
...
...
@@ -34,6 +42,14 @@ jobs:
steps
:
-
uses
:
actions/checkout@v2
-
run
:
sudo apt-get -qq install xmlsec1
-
name
:
Install Rust
uses
:
actions-rs/toolchain@v1
with
:
toolchain
:
stable
override
:
true
-
uses
:
Swatinem/rust-cache@v2
-
uses
:
matrix-org/setup-python-poetry@v1
with
:
python-version
:
"
3.x"
...
...
@@ -66,6 +82,14 @@ jobs:
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Install Rust
uses
:
actions-rs/toolchain@v1
with
:
toolchain
:
stable
override
:
true
-
uses
:
Swatinem/rust-cache@v2
-
name
:
Patch dependencies
# Note: The poetry commands want to create a virtualenv in /src/.venv/,
# but the sytest-synapse container expects it to be in /venv/.
...
...
This diff is collapsed.
Click to expand it.
changelog.d/13734.misc
0 → 100644
+
1
−
0
View file @
8d7fcf9b
Add a stub Rust crate.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment