Skip to content

Commit f5e633d

Browse files
committed
fix: use repo name and pr number for cluster name
1 parent c0ee366 commit f5e633d

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/create-ucluster.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: Uffizzi Cluster Quickstart
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
84
pull_request:
95
types: [opened,reopened,synchronize,closed]
106

@@ -13,21 +9,17 @@ permissions:
139

1410
jobs:
1511
uffizzi:
16-
1712
name: Uffizzi
18-
1913
runs-on: ubuntu-latest
20-
2114
steps:
22-
2315
- name: Create Uffizzi Cluster
2416
env:
2517
UFFIZZI_SERVER: https://pr-1074-deployment-29388-uffizzi-platform.app.uffizzi.com/
2618
UFFIZZI_USER: [email protected]
2719
UFFIZZI_PASSWORD: ${{ secrets.uffizzi_password }}
2820
UFFIZZI_PROJECT: default
2921
UFFIZZI_IMAGE: uffizzi/cli:pr-224
30-
UFFIZZI_CLUSTER: pr-test12345 #pr-${{ github.event.number }}
22+
UFFIZZI_CLUSTER: pr-${{ github.event.repository.name }}-${{ github.event.number }}
3123
run: |
3224
# Identify if a Cluster for this PR exists.
3325
if docker run --rm \

0 commit comments

Comments
 (0)