@@ -184,7 +184,6 @@ jobs:
184184 run : edr --help
185185
186186 - name : Run monitor
187- if : ${{ !contains(fromJSON('["postgres", "clickhouse"]'), inputs.warehouse-type) }}
188187 env :
189188 SLACK_WEBHOOK : ${{ secrets.CI_SLACK_WEBHOOK }}
190189 run : >
@@ -196,42 +195,36 @@ jobs:
196195 --slack-webhook "$SLACK_WEBHOOK"
197196
198197 - name : Validate alerts statuses were updated
199- if : ${{ !contains(fromJSON('["postgres", "clickhouse"]'), inputs.warehouse-type) }}
200198 working-directory : ${{ env.CLI_INTERNAL_DBT_PKG_DIR }}
201199 run : |
202200 dbt deps
203201 dbt run-operation validate_alert_statuses_are_updated -t "${{ inputs.warehouse-type }}"
204202
205203 - name : Run report
206- if : ${{ !contains(fromJSON('["postgres", "clickhouse"]'), inputs.warehouse-type) }}
207204 run : >
208205 edr monitor report
209206 -t "${{ inputs.warehouse-type }}"
210207 --project-dir "${{ env.E2E_DBT_PROJECT_DIR }}"
211208 --project-profile-target "${{ inputs.warehouse-type }}"
212209
213210 - name : Set report artifact name
214- if : ${{ !contains(fromJSON('["postgres", "clickhouse"]'), inputs.warehouse-type) }}
215211 id : set_report_artifact_name
216212 run : |
217213 ARTIFACT_NAME=$(echo "report_${{ inputs.warehouse-type }}_${BRANCH_NAME}_dbt_${{ inputs.dbt-version || '' }}.html" | awk '{print tolower($0)}' | sed 's#[":/\\<>|*?-]#_#g')
218214 echo "artifact_name=$ARTIFACT_NAME" >> "$GITHUB_OUTPUT"
219215
220216 - name : Upload report artifact
221- if : ${{ !contains(fromJSON('["postgres", "clickhouse"]'), inputs.warehouse-type) }}
222217 uses : actions/upload-artifact@v4
223218 with :
224219 name : ${{ steps.set_report_artifact_name.outputs.artifact_name }}
225220 path : elementary/edr_target/elementary_report.html
226221
227222 - name : Write GCS keyfile
228- if : ${{ !contains(fromJSON('["postgres", "clickhouse"]'), inputs.warehouse-type) }}
229223 env :
230224 GCS_KEYFILE : ${{ secrets.GCS_KEYFILE }}
231225 run : echo "$GCS_KEYFILE" | base64 -d > /tmp/gcs_keyfile.json
232226
233227 - name : Run send report
234- if : ${{ !contains(fromJSON('["postgres", "clickhouse"]'), inputs.warehouse-type) }}
235228 env :
236229 SLACK_TOKEN : ${{ secrets.CI_SLACK_TOKEN }}
237230 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -256,19 +249,17 @@ jobs:
256249 --update-bucket-website true
257250
258251 - name : Set artifact name
259- if : ${{ !contains(fromJSON('["postgres", "clickhouse"]'), inputs.warehouse-type) }}
260252 id : set_artifact_name
261253 run : |
262254 ARTIFACT_NAME=$(echo "edr_${{ inputs.warehouse-type }}_${BRANCH_NAME}_dbt_${{ inputs.dbt-version || '' }}.log" | awk '{print tolower($0)}' | sed 's#[":/\\<>|*?-]#_#g')
263255 echo "artifact_name=$ARTIFACT_NAME" >> "$GITHUB_OUTPUT"
264256
265257 - name : Upload edr log
266- if : ${{ always() && !contains(fromJSON('["postgres", "clickhouse"]'), inputs.warehouse-type) }}
258+ if : ${{ always() }}
267259 uses : actions/upload-artifact@v4
268260 with :
269261 name : ${{ steps.set_artifact_name.outputs.artifact_name }}
270262 path : elementary/edr_target/edr.log
271263
272264 - name : Run Python package e2e tests
273- if : ${{ !contains(fromJSON('["postgres", "clickhouse"]'), inputs.warehouse-type) }}
274265 run : pytest -vv tests/e2e --warehouse-type ${{ inputs.warehouse-type }}
0 commit comments