|
44 | 44 | tag: ${{ steps.tag.outputs.tag }}
|
45 | 45 | slim_tag: ${{ steps.tag.outputs.slim_tag }}
|
46 | 46 | full_tag: ${{ steps.tag.outputs.full_tag }}
|
| 47 | + short_sha: ${{ steps.tag.outputs.short_sha }} # needed for auto-deploy |
47 | 48 | unique_tag: ${{ steps.tag.outputs.unique_tag }}
|
48 | 49 | unique_slim_tag: ${{ steps.tag.outputs.unique_slim_tag }}
|
49 | 50 | unique_full_tag: ${{ steps.tag.outputs.unique_full_tag }}
|
|
65 | 66 | postgres_setup_change: ${{ steps.ci-optimize.outputs.postgres-setup-change == 'true' }}
|
66 | 67 | elasticsearch_setup_change: ${{ steps.ci-optimize.outputs.elasticsearch-setup-change == 'true' }}
|
67 | 68 | smoke_test_change: ${{ steps.ci-optimize.outputs.smoke-test-change == 'true' }}
|
| 69 | + integrations_service_change: "false" |
| 70 | + datahub_executor_change: "false" |
68 | 71 | steps:
|
69 | 72 | - name: Check out the repo
|
70 | 73 | uses: acryldata/sane-checkout-action@v3
|
@@ -864,7 +867,8 @@ jobs:
|
864 | 867 | context: .
|
865 | 868 | file: ./docker/datahub-ingestion/Dockerfile
|
866 | 869 | platforms: linux/amd64,linux/arm64/v8
|
867 |
| - depot-project: ${{ vars.DEPOT_PROJECT_ID }} |
| 870 | + # Workaround 2025-01-25 - Depot publishing errors |
| 871 | + depot-project: ${{ (startsWith(github.ref, 'refs/tags/') || github.event_name == 'release') && '' || vars.DEPOT_PROJECT_ID }} |
868 | 872 | - name: Compute Tag
|
869 | 873 | id: tag
|
870 | 874 | run: echo "tag=${{ needs.setup.outputs.ingestion_change == 'true' && needs.setup.outputs.unique_slim_tag || 'head-slim' }}" >> "$GITHUB_OUTPUT"
|
@@ -963,7 +967,8 @@ jobs:
|
963 | 967 | context: .
|
964 | 968 | file: ./docker/datahub-ingestion/Dockerfile
|
965 | 969 | platforms: linux/amd64,linux/arm64/v8
|
966 |
| - depot-project: ${{ vars.DEPOT_PROJECT_ID }} |
| 970 | + # Workaround 2025-01-25 - Depot publishing errors |
| 971 | + depot-project: ${{ (startsWith(github.ref, 'refs/tags/') || github.event_name == 'release') && '' || vars.DEPOT_PROJECT_ID }} |
967 | 972 | - name: Compute Tag (Full)
|
968 | 973 | id: tag
|
969 | 974 | run: echo "tag=${{ needs.setup.outputs.ingestion_change == 'true' && needs.setup.outputs.unique_tag || 'head' }}" >> "$GITHUB_OUTPUT"
|
@@ -1178,11 +1183,6 @@ jobs:
|
1178 | 1183 | docker pull '${{ env.DATAHUB_ELASTIC_SETUP_IMAGE }}:head'
|
1179 | 1184 | docker tag '${{ env.DATAHUB_ELASTIC_SETUP_IMAGE }}:head' '${{ env.DATAHUB_ELASTIC_SETUP_IMAGE }}:${{ needs.setup.outputs.unique_tag }}'
|
1180 | 1185 | fi
|
1181 |
| - if [ '${{ needs.setup.outputs.integrations_service_change }}' == 'false' ]; then |
1182 |
| - echo 'datahub-integration-service head images' |
1183 |
| - docker pull '${{ env.DATAHUB_INTEGRATIONS_IMAGE }}:head' |
1184 |
| - docker tag '${{ env.DATAHUB_INTEGRATIONS_IMAGE }}:head' '${{ env.DATAHUB_INTEGRATIONS_IMAGE }}:${{ needs.setup.outputs.unique_tag }}' |
1185 |
| - fi |
1186 | 1186 | - name: CI Slim Head Images
|
1187 | 1187 | run: |
|
1188 | 1188 | if [ '${{ needs.setup.outputs.ingestion_change }}' == 'false' ]; then
|
|
0 commit comments