Skip to content

Commit

Permalink
Merge pull request #621 from codex-team/master
Browse files Browse the repository at this point in the history
Update prod
  • Loading branch information
neSpecc authored Dec 4, 2024
2 parents 1790948 + e95005d commit fbb6bc2
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/build-and-push-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,20 @@ jobs:
envkey_VUE_APP_CLOUDPAYMENTS_PUBLIC_ID: ${{ secrets.CP_PUBLIC_ID_PROD }}
envkey_VUE_APP_API_ENDPOINT: "https://api.hawk.so"

- name: Make prod envfile
if: endsWith(github.ref, '/prod-ru')
uses: SpicyPizza/create-envfile@v1
with:
envkey_VUE_APP_HAWK_TOKEN: ${{ secrets.HAWK_TOKEN_PROD }}
envkey_VUE_APP_AMPLITUDE_TOKEN: ${{ secrets.AMPLITUDE_TOKEN_PROD }}
envkey_VUE_APP_CLOUDPAYMENTS_PUBLIC_ID: ${{ secrets.CP_PUBLIC_ID_PROD }}
envkey_VUE_APP_API_ENDPOINT: "https://api.hawk-tracker.ru"

- name: Build and push docker image
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ env.DOCKER_REPO }}
tag_with_ref: true
push: ${{ endsWith(github.ref, '/stage') || endsWith(github.ref, '/prod') }}
push: ${{ endsWith(github.ref, '/stage') || endsWith(github.ref, '/prod') || endsWith(github.ref, '/prod-ru') }}
1 change: 1 addition & 0 deletions src/assets/sprite-icons/fastapi.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/sprite-icons/flask.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 15 additions & 1 deletion src/components/event/Overview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,20 @@
icon="nuxt"
title="Nuxt"
/>
<DetailsAddons
v-if="getIntegrationAddons('flask')"
class="event-overview__section"
:addons="getIntegrationAddons('flask')"
icon="flask"
title="Flask"
/>
<DetailsAddons
v-if="getIntegrationAddons('fastapi')"
class="event-overview__section"
:addons="getIntegrationAddons('fastapi')"
icon="fastapi"
title="FastAPI"
/>
<DetailsAddons
v-if="hasContext"
class="event-overview__section"
Expand Down Expand Up @@ -120,7 +134,7 @@ export default Vue.extend({
return null;
}
const integrationToFilter = [ 'vue', 'nuxt' ];
const integrationToFilter = [ 'vue', 'nuxt', 'flask', 'fastapi'];
const filteredAddons = {};
Object.entries(this.event.payload.addons).forEach(([name, value]) => {
Expand Down
4 changes: 4 additions & 0 deletions src/components/utils/CodeFragment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,10 @@ export default {
flex-grow: 2;
font-size: 12px;
line-height: 21px;
&::-webkit-scrollbar {
display: none;
}
}
&__line-numbers {
Expand Down

0 comments on commit fbb6bc2

Please sign in to comment.