mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 06:02:32 -05:00
Add port label tracking and add a smoke test
This commit is contained in:
parent
ec36e06b7b
commit
851054c617
2 changed files with 51 additions and 2 deletions
|
@ -139,4 +139,38 @@ manifests: |
|
|||
existingSecret: db-penpot-secrets
|
||||
secretKeys:
|
||||
usernameKey: username
|
||||
passwordKey: password
|
||||
passwordKey: password
|
||||
json6902Patches:
|
||||
- target:
|
||||
group: "apps"
|
||||
version: "v1"
|
||||
kind: "Deployment"
|
||||
name: "penpot-frontend"
|
||||
patch: |
|
||||
---
|
||||
- op: add
|
||||
path: /metadata/labels
|
||||
value:
|
||||
portService: tokens-studio-for-penpot
|
||||
- target:
|
||||
group: "apps"
|
||||
version: "v1"
|
||||
kind: "Deployment"
|
||||
name: "penpot-exporter"
|
||||
patch: |
|
||||
---
|
||||
- op: add
|
||||
path: /metadata/labels
|
||||
value:
|
||||
portService: tokens-studio-for-penpot
|
||||
- target:
|
||||
group: "apps"
|
||||
version: "v1"
|
||||
kind: "Deployment"
|
||||
name: "penpot-backend"
|
||||
patch: |
|
||||
---
|
||||
- op: add
|
||||
path: /metadata/labels
|
||||
value:
|
||||
portService: tokens-studio-for-penpot
|
17
.github/workflows/publish.yml
vendored
17
.github/workflows/publish.yml
vendored
|
@ -70,4 +70,19 @@ jobs:
|
|||
GIMLET_TOKEN: ${{ secrets.GIMLET_TOKEN }}
|
||||
with:
|
||||
ENV: "prod"
|
||||
APP: "penpot"
|
||||
APP: "penpot"
|
||||
DEPLOY: "true"
|
||||
smoke:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Check if URL can be accessed
|
||||
run: |
|
||||
URL="https://penpot.tokens.studio"
|
||||
STATUS=$(curl -o /dev/null -s -w "%{http_code}\n" $URL)
|
||||
if [ $STATUS -ne 200 ]; then
|
||||
echo "Error: Unable to access $URL. HTTP Status: $STATUS"
|
||||
exit 1
|
||||
else
|
||||
echo "Success: $URL is accessible. HTTP Status: $STATUS"
|
||||
fi
|
Loading…
Add table
Reference in a new issue