Skip to content

Commit 33b7969

Browse files
Merge pull request #3753 from SwiftPackageIndex/revert-Swift-6.1
Revert "Merge pull request #3750 from SwiftPackageIndex/swift-6.1"
2 parents c3a804a + bd6b110 commit 33b7969

File tree

9 files changed

+13
-31
lines changed

9 files changed

+13
-31
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.gitlab.com/finestructure/spi-base:1.2.0
1+
FROM registry.gitlab.com/finestructure/spi-base:1.1.1
22

33
# Install SPM build dependencies
44
RUN apt-get update && apt-get install -y curl git make unzip \

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
name: Test
3030
runs-on: ubuntu-latest
3131
container:
32-
image: registry.gitlab.com/finestructure/spi-base:1.2.0
32+
image: registry.gitlab.com/finestructure/spi-base:1.1.1
3333
options: --privileged
3434
services:
3535
postgres:
@@ -64,7 +64,7 @@ jobs:
6464
name: Release build
6565
runs-on: ubuntu-latest
6666
container:
67-
image: registry.gitlab.com/finestructure/spi-base:1.2.0
67+
image: registry.gitlab.com/finestructure/spi-base:1.1.1
6868
options: --privileged
6969
steps:
7070
- name: GH Runner bug workaround

.github/workflows/query-performance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-latest
2929
continue-on-error: true
3030
container:
31-
image: registry.gitlab.com/finestructure/spi-base:1.2.0
31+
image: registry.gitlab.com/finestructure/spi-base:1.1.1
3232
steps:
3333
- name: Checkout code
3434
uses: actions/checkout@v4

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# ================================
1919
# Build image
2020
# ================================
21-
FROM registry.gitlab.com/finestructure/spi-base:1.2.0 as build
21+
FROM registry.gitlab.com/finestructure/spi-base:1.1.1 as build
2222

2323
# Set up a build area
2424
WORKDIR /build
@@ -61,7 +61,7 @@ RUN [ -d /build/Resources ] && { mv /build/Resources ./Resources && chmod -R a-w
6161
# ================================
6262
# Run image
6363
# ================================
64-
FROM registry.gitlab.com/finestructure/spi-base:1.2.0
64+
FROM registry.gitlab.com/finestructure/spi-base:1.1.1
6565

6666
# NB sas 2022-09-23: We're not using a dedicated `vapor` user to run the executable, because it
6767
# makes managing the data in the checkouts volume difficult. See

LOCAL_DEVELOPMENT_SETUP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ The trickiest part of this is to ensure the test or app container can connect to
236236
So, in order to run the tests in a Linux container run:
237237

238238
```
239-
docker run --rm -v "$PWD":/host -w /host --add-host=host.docker.internal:host-gateway registry.gitlab.com/finestructure/spi-base:1.2.0 swift test
239+
docker run --rm -v "$PWD":/host -w /host --add-host=host.docker.internal:host-gateway registry.gitlab.com/finestructure/spi-base:1.1.1 swift test
240240
```
241241

242242
Make sure you use the most recent `spi-base` image. You can find the latest image name in the `test-docker` target, which also provides a convenient way to run all all tests in a docker container.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ test-docker:
6868
@# run tests inside a docker container
6969
docker run --rm -v "$(PWD)":/host -w /host \
7070
--add-host=host.docker.internal:host-gateway \
71-
registry.gitlab.com/finestructure/spi-base:1.2.0 \
71+
registry.gitlab.com/finestructure/spi-base:1.1.1 \
7272
make test
7373

7474
test-e2e: db-reset reconcile ingest analyze

Tests/AppTests/AllTests.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@
1515
@testable import App
1616

1717
import Dependencies
18-
import SnapshotTesting
1918
import Testing
2019

2120

2221
@Suite(
2322
.dependency(\.date.now, .t0),
24-
.dependency(\.metricsSystem, .mock),
25-
.snapshots(record: .failed)
23+
.dependency(\.metricsSystem, .mock)
2624
) struct AllTests { }
2725

2826

Tests/AppTests/__Snapshots__/AnalyzerTests/dumpPackage_format.linux.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,7 @@
2121
"upperBound" : "510.0.0"
2222
}
2323
]
24-
},
25-
"traits" : [
26-
{
27-
"name" : "default"
28-
}
29-
]
24+
}
3025
}
3126
]
3227
}
@@ -209,8 +204,5 @@
209204
],
210205
"toolsVersion" : {
211206
"_version" : "5.9.0"
212-
},
213-
"traits" : [
214-
215-
]
207+
}
216208
}

Tests/AppTests/__Snapshots__/AnalyzerTests/dumpPackage_format.macos.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,7 @@
2121
"upperBound" : "510.0.0"
2222
}
2323
]
24-
},
25-
"traits" : [
26-
{
27-
"name" : "default"
28-
}
29-
]
24+
}
3025
}
3126
]
3227
}
@@ -215,8 +210,5 @@
215210
],
216211
"toolsVersion" : {
217212
"_version" : "5.9.0"
218-
},
219-
"traits" : [
220-
221-
]
213+
}
222214
}

0 commit comments

Comments
 (0)