Skip to content

Commit d844872

Browse files
committed
Keep consistency around the naming pattern prefix
1 parent bde6529 commit d844872

8 files changed

+90
-90
lines changed

.circleci/config.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -189,30 +189,30 @@ jobs:
189189
name: Run Docker build
190190
working_directory: ~/project/contracts/solidity/dashboard
191191
command: |
192-
docker build --tag keep-token-dashboard-dapp .
192+
docker build --tag keep-dapp-token-dashboard .
193193
- run:
194-
name: Save keep-token-dashboard-dapp image
194+
name: Save keep-dapp-token-dashboard image
195195
working_directory: ~/project/contracts/solidity/dashboard
196196
command: |
197-
mkdir -p /tmp/keep-token-dashboard-dapp/docker-images/
198-
docker save -o /tmp/keep-token-dashboard-dapp/docker-images/keep-token-dashboard-dapp.tar keep-token-dashboard-dapp
197+
mkdir -p /tmp/keep-dapp-token-dashboard/docker-images/
198+
docker save -o /tmp/keep-dapp-token-dashboard/docker-images/keep-dapp-token-dashboard.tar keep-dapp-token-dashboard
199199
- persist_to_workspace:
200-
root: /tmp/keep-token-dashboard-dapp
200+
root: /tmp/keep-dapp-token-dashboard
201201
paths:
202202
- docker-images
203203
publish_token_dashboard_dapp:
204204
executor: gcp-gcr/default
205205
steps:
206206
- attach_workspace:
207-
at: /tmp/keep-token-dashboard-dapp
207+
at: /tmp/keep-dapp-token-dashboard
208208
- run:
209-
name: Load keep-token-dashboard-dapp image
209+
name: Load keep-dapp-token-dashboard image
210210
command: |
211-
docker load -i /tmp/keep-token-dashboard-dapp/docker-images/keep-token-dashboard-dapp.tar
211+
docker load -i /tmp/keep-dapp-token-dashboard/docker-images/keep-dapp-token-dashboard.tar
212212
- run:
213213
name: Tag Docker image
214214
command: |
215-
docker tag keep-token-dashboard-dapp $GCR_REGISTRY_URL/$GOOGLE_PROJECT_ID/keep-token-dashboard-dapp
215+
docker tag keep-dapp-token-dashboard $GCR_REGISTRY_URL/$GOOGLE_PROJECT_ID/keep-dapp-token-dashboard
216216
- gcp-gcr/gcr-auth:
217217
google-project-id: GOOGLE_PROJECT_ID
218218
google-compute-zone: GOOGLE_COMPUTE_ZONE_A
@@ -221,7 +221,7 @@ jobs:
221221
- gcp-gcr/push-image:
222222
google-project-id: GOOGLE_PROJECT_ID
223223
registry-url: $GCR_REGISTRY_URL
224-
image: keep-token-dashboard-dapp
224+
image: keep-dapp-token-dashboard
225225
tag: latest
226226

227227
generate_docs_tex:
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
apiVersion: extensions/v1beta1
3+
kind: Deployment
4+
metadata:
5+
name: keep-dapp-token-dashboard
6+
labels:
7+
keel.sh/policy: all
8+
app: keep-dapp
9+
type: keep-token-dashboard
10+
spec:
11+
replicas: 1
12+
selector:
13+
matchLabels:
14+
app: keep-dapp
15+
type: keep-token-dashboard
16+
template:
17+
metadata:
18+
labels:
19+
app: keep-dapp
20+
type: keep-token-dashboard
21+
spec:
22+
containers:
23+
- name: keep-dapp-token-dashboard
24+
image: gcr.io/keep-dev-fe24/keep-dapp-token-dashboard
25+
ports:
26+
- containerPort: 80
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
apiVersion: v1
3+
kind: Service
4+
metadata:
5+
name: keep-dapp-token-dashboard
6+
labels:
7+
app: keep-dapp
8+
type: keep-token-dashboard
9+
spec:
10+
ports:
11+
- port: 80
12+
targetPort: 80
13+
name: tcp-80
14+
selector:
15+
app: keep-dapp
16+
type: keep-token-dashboard

infrastructure/kube/keep-dev/keep-token-dashboard-dapp-deployment.yaml

Lines changed: 0 additions & 26 deletions
This file was deleted.

infrastructure/kube/keep-dev/keep-token-dashboard-dapp-service.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
apiVersion: extensions/v1beta1
3+
kind: Deployment
4+
metadata:
5+
name: keep-dapp-token-dashboard
6+
labels:
7+
keel.sh/policy: all
8+
app: keep-dapp
9+
type: keep-token-dashboard
10+
spec:
11+
replicas: 1
12+
selector:
13+
matchLabels:
14+
app: keep-dapp
15+
type: keep-token-dashboard
16+
template:
17+
metadata:
18+
labels:
19+
app: keep-dapp
20+
type: keep-token-dashboard
21+
spec:
22+
containers:
23+
- name: keep-dapp-token-dashboard
24+
image: gcr.io/keep-test-f3e0/keep-dapp-token-dashboard
25+
ports:
26+
- containerPort: 80

infrastructure/kube/keep-test/keep-token-dashboard-dapp-service.yaml renamed to infrastructure/kube/keep-test/keep-dapp-token-dashboard-service.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,34 @@
22
apiVersion: extensions/v1beta1
33
kind: Ingress
44
metadata:
5-
name: keep-token-dashboard-dapp-http
6-
namespace: keep-token-dashboard-dapp
5+
name: keep-dapp-token-dashboard-http
6+
namespace: keep-dapp-token-dashboard
77
labels:
8-
app: keep-token-dashboard
9-
type: dapp
8+
app: keep-dapp
9+
type: keep-token-dashboard
1010
annotations:
1111
kubernetes.io/ingress.class: "gce"
1212
kubernetes.io/ingress.allow-http: "true"
1313
spec:
1414
backend:
1515
# This assumes service eth-dashboard-http exists and routes to healthy endpoints
16-
serviceName: keep-token-dashboard-dapp-http
16+
serviceName: keep-dapp-token-dashboard-http
1717
servicePort: 80
1818
---
1919
apiVersion: v1
2020
kind: Service
2121
metadata:
22-
name: keep-token-dashboard-dapp
23-
namespace: keep-token-dashboard-dapp
22+
name: keep-dapp-token-dashboard
23+
namespace: keep-dapp-token-dashboard
2424
labels:
25-
app: keep-token-dashboard
26-
type: dapp
25+
app: keep-dapp
26+
type: keep-token-dashboard
2727
spec:
2828
type: NodePort
2929
ports:
30-
- name: keep-token-dashboard-dapp-http
30+
- name: keep-dapp-token-dashboard-http
3131
port: 80
3232
targetPort: 80
3333
selector:
34-
app: keep-token-dashboard
35-
type: dapp
34+
app: keep-dapp
35+
type: keep-token-dashboard

infrastructure/kube/keep-test/keep-token-dashboard-dapp-deployment.yaml

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)