Skip to content

Commit

Permalink
need multiplatform build
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgenon committed Dec 6, 2023
1 parent dea3ad2 commit f9aea48
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
with:
push: true
context: .
platforms: linux/amd64,linux/arm64
file: backend/src/main/docker/Dockerfile.jvm
tags: |
ghcr.io/alexgenon/facebook-live-tracker:${{ github.ref_name }}
Expand All @@ -58,6 +59,7 @@ jobs:
with:
push: true
context: .
platforms: linux/amd64,linux/arm64
file: backend/src/main/docker/Dockerfile.native
tags: |
ghcr.io/alexgenon/facebook-live-tracker:native-${{ github.ref_name }}
Expand Down
28 changes: 14 additions & 14 deletions backend/src/main/kubernetes/live-tracker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: live-tracker
namespace: default
namespace: live-tracker
labels:
app: live-tracker
app: live-tracker-monolith
spec:
selector:
matchLabels:
app: live-tracker
app: live-tracker-monolith
replicas: 1
strategy:
rollingUpdate:
Expand All @@ -18,7 +18,7 @@ spec:
template:
metadata:
labels:
app: live-tracker
app: live-tracker-monolith
spec:
# initContainers:
# Init containers are exactly like regular containers, except:
Expand All @@ -30,18 +30,18 @@ spec:
resources:
requests:
cpu: 100m
memory: 100Mi
memory: 500Mi
limits:
cpu: 100m
memory: 100Mi
livenessProbe:
tcpSocket:
port: 80
initialDelaySeconds: 5
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 3
periodSeconds: 10
memory: 500Mi
# livenessProbe:
# tcpSocket:
# port: 8080
# initialDelaySeconds: 20
# timeoutSeconds: 5
# successThreshold: 1
# failureThreshold: 3
# periodSeconds: 10
env:
- name: FACEBOOK_PAGE_ACCESS_TOKEN
valueFrom:
Expand Down

0 comments on commit f9aea48

Please sign in to comment.