7979 # arch: x64
8080 # hadron-platform: linux
8181
82+ # Install the update server for auto-update tests
83+ - test : auto-update-from
84+ install-update-server : true
85+ - test : auto-update-to
86+ install-update-server : true
87+
8288 exclude :
8389 # TODO: The RPM package require a docker container
8490 - package : linux_rpm
@@ -111,7 +117,7 @@ jobs:
111117 run : npx lerna run bootstrap --scope @mongodb-js/compass-smoke-tests --include-dependencies
112118
113119 - name : Create GitHub App Token
114- if : matrix.test == 'auto -update-from'
120+ if : matrix.install -update-server
115121 uses : actions/create-github-app-token@v1
116122 id : app-token
117123 with :
@@ -120,7 +126,7 @@ jobs:
120126 owner : 10gen
121127 repositories : compass-mongodb-com
122128 - name : Checkout Compass Update server
123- if : matrix.test == 'auto -update-from'
129+ if : matrix.install -update-server
124130 uses : actions/checkout@v4
125131 with :
126132 repository : 10gen/compass-mongodb-com
@@ -129,7 +135,7 @@ jobs:
129135 persist-credentials : false
130136 path : ' compass-mongodb-com'
131137 - name : Install Compass Update server
132- if : matrix.test == 'auto -update-from'
138+ if : matrix.install -update-server
133139 run : npm install --no-save --workspace packages/compass-smoke-tests ${{ github.workspace }}/compass-mongodb-com
134140
135141 - name : Run tests
@@ -138,8 +144,8 @@ jobs:
138144 EVERGREEN_BUCKET_KEY_PREFIX : ${{ inputs.bucket_key_prefix }}
139145 DEV_VERSION_IDENTIFIER : ${{ inputs.version }}
140146 HADRON_DISTRIBUTION : ${{ matrix.hadron-distribution }}
141- PLATFORM : ${{ matrix.platform. hadron-platform }}
142- ARCH : ${{ matrix.platform. arch }}
147+ PLATFORM : ${{ matrix.hadron-platform }}
148+ ARCH : ${{ matrix.arch }}
143149 # Exposing token to prevent update server from being rate limited
144150 GITHUB_TOKEN : ${{ github.token }}
145151 working-directory : packages/compass-smoke-tests
0 commit comments