-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Simplify devspace config * Tweak theme * Disable username spellcheck, adjust margins * Update dependencies * Update dependencies * Update dependencies * Use new cookie auth strategy * Add nginx reminder todo * Update dependencies * Update to node 15.5.0 * Upgrade setup-node action * Add sharp dep (required by next 10) * Use multistage build with full fat node image * Update sharp * Add nginx ingress controller * Update dependencies * Remove cors mode * Specify local hosts * Use port 80 * Remove docker build target * Add urql index * Move theme under theme/ * Import client from root urql module * Move graphql types under urql/ * Add ingress-nginx and cert-manager deployments * Update dependencies * Add link styling * Add sign up/log in navigations * Push to base route on sign up/log in success * Use graphcache * Update react hook form * Update node types * Add logout mutation type gen * Add letsencrypt issuer deployments * Correct generated exclude path * Use container for initial sync * Update eslint * Update dependencies * Generate type for the me query * Single stage dockerfile * Update all dependencies * Simplify devspace for local dev only * Remove version field * Redo workflows * Add yamls for flux deployment
- Loading branch information
1 parent
bc605ab
commit 4d58ffa
Showing
21 changed files
with
3,071 additions
and
2,605 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
/build | ||
|
||
# Generated Code | ||
generated | ||
/src/urql/graphql-types.ts |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Release | ||
|
||
on: | ||
pull_request: | ||
push: | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
container: | ||
name: Container | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Generate container metadata | ||
uses: crazy-max/ghaction-docker-meta@v1 | ||
id: container_meta | ||
with: | ||
images: ghcr.io/pokernook/web | ||
tag-latest: false | ||
tag-semver: | | ||
{{version}} | ||
- uses: docker/setup-buildx-action@v1 | ||
|
||
- uses: docker/login-action@v1 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GHCR_PAT }} | ||
|
||
- uses: docker/build-push-action@v2 | ||
with: | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: ${{ steps.container_meta.outputs.tags }} | ||
labels: ${{ steps.container_meta.outputs.labels }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:15.4.0-alpine | ||
FROM node:15.5.1-alpine | ||
WORKDIR /app | ||
COPY package*.json ./ | ||
RUN npm ci | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: web | ||
namespace: flux-system | ||
spec: | ||
type: ClusterIP | ||
selector: | ||
app: web | ||
ports: | ||
- name: http | ||
port: 80 | ||
targetPort: http | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: web | ||
namespace: flux-system | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: web | ||
replicas: 1 | ||
strategy: | ||
rollingUpdate: | ||
maxUnavailable: 0 | ||
maxSurge: 1 | ||
template: | ||
metadata: | ||
labels: | ||
app: web | ||
spec: | ||
containers: | ||
- name: web | ||
image: ghcr.io/pokernook/web:0.0.1 # {"$imagepolicy": "flux-system:graph"} | ||
resources: | ||
limits: | ||
memory: 128Mi | ||
cpu: 500m | ||
ports: | ||
- name: http | ||
containerPort: 3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- app.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.