mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 14:12:36 -05:00
Merge pull request #114 from tokens-studio/feat/port-tracking-and-smoke
Add port label tracking and add a smoke test
This commit is contained in:
commit
5954a8698b
2 changed files with 51 additions and 2 deletions
|
@ -139,4 +139,38 @@ manifests: |
|
||||||
existingSecret: db-penpot-secrets
|
existingSecret: db-penpot-secrets
|
||||||
secretKeys:
|
secretKeys:
|
||||||
usernameKey: username
|
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 }}
|
GIMLET_TOKEN: ${{ secrets.GIMLET_TOKEN }}
|
||||||
with:
|
with:
|
||||||
ENV: "prod"
|
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