Skip to content

Commit b343e2e

Browse files
authored
chore: sunset psiphon support (#1762)
## Checklist - [x] I have read the [contribution guidelines](https://github.com/ooni/probe-cli/blob/master/CONTRIBUTING.md) - [x] reference issue for this pull request: #1761 - [ ] if you changed anything related to how experiments work and you need to reflect these changes in the ooni/spec repository, please link to the related ooni/spec pull request: <!-- add URL here --> - [ ] if you changed code inside an experiment, make sure you bump its version number <!-- Reminder: Location of the issue tracker: https://github.com/ooni/probe --> ## Description This diff removes support for psiphon be removing the psiphon configuration file from the probe engine builds
1 parent 7c20ba9 commit b343e2e

File tree

13 files changed

+7
-75
lines changed

13 files changed

+7
-75
lines changed

.github/workflows/android.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@ jobs:
2828
go-version: "${{ steps.goversion.outputs.version }}"
2929
cache-key-suffix: "-android-${{ steps.goversion.outputs.version }}"
3030

31-
- run: |
32-
echo -n $PSIPHON_CONFIG_KEY > ./internal/engine/psiphon-config.key
33-
echo $PSIPHON_CONFIG_JSON_AGE_BASE64 | base64 -d > ./internal/engine/psiphon-config.json.age
34-
env:
35-
PSIPHON_CONFIG_KEY: ${{ secrets.PSIPHON_CONFIG_KEY }}
36-
PSIPHON_CONFIG_JSON_AGE_BASE64: ${{ secrets.PSIPHON_CONFIG_JSON_AGE_BASE64 }}
37-
3831
- run: ./MOBILE/android/ensure
3932

4033
- run: make android

.github/workflows/desktop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
path: ./DESKTOP/oonimkall.jar
3939

4040
build_darwin_desktop_jar:
41-
runs-on: macos-13
41+
runs-on: macos-15
4242

4343
steps:
4444
- uses: actions/checkout@v4

.github/workflows/ios.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414

1515
jobs:
1616
build_ios_mobile:
17-
runs-on: macos-13
17+
runs-on: macos-15
1818
steps:
1919
- uses: actions/checkout@v4
2020
with:
@@ -28,13 +28,6 @@ jobs:
2828
go-version: "${{ steps.goversion.outputs.version }}"
2929
cache-key-suffix: "-ios-${{ steps.goversion.outputs.version }}"
3030

31-
- run: |
32-
echo -n $PSIPHON_CONFIG_KEY > ./internal/engine/psiphon-config.key
33-
echo $PSIPHON_CONFIG_JSON_AGE_BASE64 | base64 -d > ./internal/engine/psiphon-config.json.age
34-
env:
35-
PSIPHON_CONFIG_KEY: ${{ secrets.PSIPHON_CONFIG_KEY }}
36-
PSIPHON_CONFIG_JSON_AGE_BASE64: ${{ secrets.PSIPHON_CONFIG_JSON_AGE_BASE64 }}
37-
3831
# ./internal/cmd/buildtool needs coreutils for sha256 plus GNU build tools
3932
- run: brew install autoconf automake coreutils libtool
4033

.github/workflows/linux.yml

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,6 @@ jobs:
2020
with:
2121
fetch-depth: 0
2222

23-
- run: |
24-
echo -n $PSIPHON_CONFIG_KEY > ./internal/engine/psiphon-config.key
25-
echo $PSIPHON_CONFIG_JSON_AGE_BASE64 | base64 -d > ./internal/engine/psiphon-config.json.age
26-
env:
27-
PSIPHON_CONFIG_KEY: ${{ secrets.PSIPHON_CONFIG_KEY }}
28-
PSIPHON_CONFIG_JSON_AGE_BASE64: ${{ secrets.PSIPHON_CONFIG_JSON_AGE_BASE64 }}
29-
3023
- name: Get GOVERSION content
3124
id: goversion
3225
run: echo "version=$(cat GOVERSION)" >> "$GITHUB_OUTPUT"
@@ -81,13 +74,6 @@ jobs:
8174
with:
8275
fetch-depth: 0
8376

84-
- run: |
85-
echo -n $PSIPHON_CONFIG_KEY > ./internal/engine/psiphon-config.key
86-
echo $PSIPHON_CONFIG_JSON_AGE_BASE64 | base64 -d > ./internal/engine/psiphon-config.json.age
87-
env:
88-
PSIPHON_CONFIG_KEY: ${{ secrets.PSIPHON_CONFIG_KEY }}
89-
PSIPHON_CONFIG_JSON_AGE_BASE64: ${{ secrets.PSIPHON_CONFIG_JSON_AGE_BASE64 }}
90-
9177
- name: Get GOVERSION content
9278
id: goversion
9379
run: echo "version=$(cat GOVERSION)" >> "$GITHUB_OUTPUT"
@@ -180,13 +166,6 @@ jobs:
180166
- run: sudo apt-get update -q
181167
- run: sudo apt-get install -y qemu-user-static
182168

183-
- run: |
184-
echo -n $PSIPHON_CONFIG_KEY > ./internal/engine/psiphon-config.key
185-
echo $PSIPHON_CONFIG_JSON_AGE_BASE64 | base64 -d > ./internal/engine/psiphon-config.json.age
186-
env:
187-
PSIPHON_CONFIG_KEY: ${{ secrets.PSIPHON_CONFIG_KEY }}
188-
PSIPHON_CONFIG_JSON_AGE_BASE64: ${{ secrets.PSIPHON_CONFIG_JSON_AGE_BASE64 }}
189-
190169
- name: Get GOVERSION content
191170
id: goversion
192171
run: echo "version=$(cat GOVERSION)" >> "$GITHUB_OUTPUT"
@@ -244,13 +223,6 @@ jobs:
244223
- run: sudo apt-get update -q
245224
- run: sudo apt-get install -y qemu-user-static
246225

247-
- run: |
248-
echo -n $PSIPHON_CONFIG_KEY > ./internal/engine/psiphon-config.key
249-
echo $PSIPHON_CONFIG_JSON_AGE_BASE64 | base64 -d > ./internal/engine/psiphon-config.json.age
250-
env:
251-
PSIPHON_CONFIG_KEY: ${{ secrets.PSIPHON_CONFIG_KEY }}
252-
PSIPHON_CONFIG_JSON_AGE_BASE64: ${{ secrets.PSIPHON_CONFIG_JSON_AGE_BASE64 }}
253-
254226
- name: Get GOVERSION content
255227
id: goversion
256228
run: echo "version=$(cat GOVERSION)" >> "$GITHUB_OUTPUT"
@@ -308,13 +280,6 @@ jobs:
308280
- run: sudo apt-get update -q
309281
- run: sudo apt-get install -y qemu-user-static
310282

311-
- run: |
312-
echo -n $PSIPHON_CONFIG_KEY > ./internal/engine/psiphon-config.key
313-
echo $PSIPHON_CONFIG_JSON_AGE_BASE64 | base64 -d > ./internal/engine/psiphon-config.json.age
314-
env:
315-
PSIPHON_CONFIG_KEY: ${{ secrets.PSIPHON_CONFIG_KEY }}
316-
PSIPHON_CONFIG_JSON_AGE_BASE64: ${{ secrets.PSIPHON_CONFIG_JSON_AGE_BASE64 }}
317-
318283
- name: Get GOVERSION content
319284
id: goversion
320285
run: echo "version=$(cat GOVERSION)" >> "$GITHUB_OUTPUT"

.github/workflows/macos.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414

1515
jobs:
1616
build_darwin_cli:
17-
runs-on: macos-13
17+
runs-on: macos-15
1818
steps:
1919
- uses: actions/checkout@v4
2020
with:
@@ -28,13 +28,6 @@ jobs:
2828
go-version: "${{ steps.goversion.outputs.version }}"
2929
cache-key-suffix: "-macos-${{ steps.goversion.outputs.version }}"
3030

31-
- run: |
32-
echo -n $PSIPHON_CONFIG_KEY > ./internal/engine/psiphon-config.key
33-
echo $PSIPHON_CONFIG_JSON_AGE_BASE64 | base64 -d > ./internal/engine/psiphon-config.json.age
34-
env:
35-
PSIPHON_CONFIG_KEY: ${{ secrets.PSIPHON_CONFIG_KEY }}
36-
PSIPHON_CONFIG_JSON_AGE_BASE64: ${{ secrets.PSIPHON_CONFIG_JSON_AGE_BASE64 }}
37-
3831
- run: make CLI/darwin
3932

4033
- uses: actions/upload-artifact@v4
@@ -58,7 +51,7 @@ jobs:
5851
path: ./CLI/miniooni-darwin-arm64
5952

6053
test_darwin_cli:
61-
runs-on: macos-13
54+
runs-on: macos-15
6255
needs: build_darwin_cli
6356
steps:
6457
- uses: actions/checkout@v4
@@ -74,7 +67,7 @@ jobs:
7467
shell: bash
7568

7669
publish_darwin_cli:
77-
runs-on: macos-13
70+
runs-on: macos-15
7871
needs: test_darwin_cli
7972
permissions:
8073
contents: write

.github/workflows/netxlite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: "${{ matrix.os }}"
1616
strategy:
1717
matrix:
18-
os: [ "ubuntu-22.04", "windows-2022", "macos-13" ]
18+
os: [ "ubuntu-22.04", "windows-2022", "macos-15" ]
1919
steps:
2020

2121
- uses: actions/checkout@v4

.github/workflows/windows.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@ jobs:
3131
- run: sudo apt-get update -q
3232
- run: sudo apt-get install -y mingw-w64
3333

34-
- run: |
35-
echo -n $PSIPHON_CONFIG_KEY > ./internal/engine/psiphon-config.key
36-
echo $PSIPHON_CONFIG_JSON_AGE_BASE64 | base64 -d > ./internal/engine/psiphon-config.json.age
37-
env:
38-
PSIPHON_CONFIG_KEY: ${{ secrets.PSIPHON_CONFIG_KEY }}
39-
PSIPHON_CONFIG_JSON_AGE_BASE64: ${{ secrets.PSIPHON_CONFIG_JSON_AGE_BASE64 }}
40-
4134
- run: make EXPECTED_MINGW_W64_VERSION="10-win32" CLI/windows
4235

4336
- uses: actions/upload-artifact@v4

internal/cmd/ghgen/android.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ func buildAndPublishAndroid(w io.Writer, job *Job) {
3030
newJob(w, buildJob, runsOnUbuntu, noDependencies, noPermissions)
3131
newStepCheckout(w)
3232
newStepSetupGo(w, "android")
33-
newStepSetupPsiphon(w)
3433
newStepMake(w, "android")
3534
newStepUploadArtifacts(w, artifacts)
3635

internal/cmd/ghgen/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const (
5555
runsOnUbuntu = "ubuntu-22.04"
5656

5757
// runsOnMacOS is the macOS system where to run.
58-
runsOnMacOS = "macos-13"
58+
runsOnMacOS = "macos-15"
5959

6060
// runsOnWindows is the windows system where to run.
6161
runsOnWindows = "windows-2022"

internal/cmd/ghgen/ios.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ func buildAndPublishMobileIOS(w io.Writer, job *Job) {
3333
newJob(w, buildJob, runsOnMacOS, noDependencies, noPermissions)
3434
newStepCheckout(w)
3535
newStepSetupGo(w, "ios")
36-
newStepSetupPsiphon(w)
3736
iosNewStepBrewInstall(w)
3837
newStepMake(w, "EXPECTED_XCODE_VERSION=14.2 ios")
3938
newStepUploadArtifacts(w, artifacts)

0 commit comments

Comments
 (0)