@@ -80,36 +80,36 @@ runs:
8080 echo "SENTRY_MIGRATIONS_MD5=$SENTRY_MIGRATIONS_MD5" >> $GITHUB_OUTPUT
8181 SNUBA_MIGRATIONS_MD5=$(docker run --rm --entrypoint bash $SNUBA_IMAGE -c '{ ls -Rv1rpq snuba/snuba_migrations/**/*.py; grep -Poz "(?s)(?<=class Topic\\(Enum\\):\\n).+?(?=\\n\\n\\n)" snuba/utils/streams/topics.py; }' | md5sum | cut -d ' ' -f 1)
8282 echo "SNUBA_MIGRATIONS_MD5=$SNUBA_MIGRATIONS_MD5" >> $GITHUB_OUTPUT
83+ echo "ARCH=$(uname -m)" >> $GITHUB_OUTPUT
8384
8485 - name : Restore Sentry Volume Cache
8586 id : restore_cache_sentry
8687 uses : BYK/docker-volume-cache-action/restore@be89365902126f508dcae387a32ec3712df6b1cd
8788 with :
88- key : db-volumes-sentry-v2 -${{ steps.cache_key.outputs.SENTRY_MIGRATIONS_MD5 }}
89+ key : db-volumes-sentry-v3-${{ steps.cache_key.outputs.ARCH }}-${{ inputs.compose_profiles }} -${{ steps.cache_key.outputs.SENTRY_MIGRATIONS_MD5 }}
8990 restore-keys : |
90- db-volumes-sentry-v1-
91+ key: db-volumes-sentry-v3-${{ steps.cache_key.outputs.ARCH }}-${{ inputs.compose_profiles }}
9192 volumes : |
9293 sentry-postgres
9394
9495 - name : Restore Snuba Volume Cache
9596 id : restore_cache_snuba
9697 uses : BYK/docker-volume-cache-action/restore@be89365902126f508dcae387a32ec3712df6b1cd
9798 with :
98- key : db-volumes-snuba-v2 -${{ steps.cache_key.outputs.SNUBA_MIGRATIONS_MD5 }}
99+ key : db-volumes-snuba-v3-${{ steps.cache_key.outputs.ARCH }}-${{ inputs.compose_profiles }} -${{ steps.cache_key.outputs.SNUBA_MIGRATIONS_MD5 }}
99100 restore-keys : |
100- db-volumes-snuba-v1-
101+ key: db-volumes-snuba-v3-${{ steps.cache_key.outputs.ARCH }}-${{ inputs.compose_profiles }}
101102 volumes : |
102103 sentry-clickhouse
103104
104105 - name : Restore Kafka Volume Cache
105106 id : restore_cache_kafka
106107 uses : BYK/docker-volume-cache-action/restore@be89365902126f508dcae387a32ec3712df6b1cd
107108 with :
108- key : db-volumes-kafka-v1 -${{ steps.cache_key.outputs.SENTRY_MIGRATIONS_MD5 }}-${{ steps.cache_key.outputs.SNUBA_MIGRATIONS_MD5 }}
109+ key : db-volumes-kafka-v2-${{ steps.cache_key.outputs.ARCH }}-${{ inputs.compose_profiles }} -${{ steps.cache_key.outputs.SENTRY_MIGRATIONS_MD5 }}-${{ steps.cache_key.outputs.SNUBA_MIGRATIONS_MD5 }}
109110 restore-keys : |
110- db-volumes-kafka-v1-${{ steps.cache_key.outputs.SENTRY_MIGRATIONS_MD5 }}-${{ steps.cache_key.outputs.SNUBA_MIGRATIONS_MD5 }}
111- db-volumes-kafka-v1-${{ steps.cache_key.outputs.SENTRY_MIGRATIONS_MD5 }}-
112- db-volumes-kafka-v1-
111+ db-volumes-kafka-v2-${{ steps.cache_key.outputs.ARCH }}-${{ inputs.compose_profiles }}-${{ steps.cache_key.outputs.SENTRY_MIGRATIONS_MD5 }}
112+ db-volumes-kafka-v2-${{ steps.cache_key.outputs.ARCH }}-${{ inputs.compose_profiles }}
113113 volumes : |
114114 sentry-kafka
115115
0 commit comments