Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Commit

Permalink
feat: upgrade CI deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Dec 5, 2020
1 parent 541303a commit 1147a8a
Show file tree
Hide file tree
Showing 15 changed files with 3,864 additions and 191 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include:
- project: SocialGouv/gitlab-ci-yml
file: /autodevops.yml
ref: v17.21.0
ref: v19.3.0

variables:
AUTO_DEVOPS_RELEASE_AUTO: "🔖"
Expand Down
152 changes: 152 additions & 0 deletions .k8s/__tests__/__snapshots__/kosko generate --env dev.ts.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`kosko generate --dev 1`] = `
"---
metadata:
annotations:
field.cattle.io/creatorId: gitlab
field.cattle.io/projectId: 'c-f8qps:p-46tj7'
git/branch: beta-db-12
git/remote: >-
https://gitlab-ci-token:[MASKED]@gitlab.factory.social.gouv.fr/SocialGouv/socialgouv-github-io.git
app.gitlab.com/app: socialgouv-emjpm-portail
app.gitlab.com/env: beta-db-12-dev2
app.gitlab.com/env.name: beta-db-12-dev2
labels:
azure-pg-admin-user: emjpm-portail
application: beta-db-12-dev2-emjpm-portail
owner: emjpm-portail
team: emjpm-portail
cert: wildcard
name: emjpm-portail-85-beta-db-12-dev2
apiVersion: v1
kind: Namespace
---
metadata:
annotations:
app.gitlab.com/app: socialgouv-emjpm-portail
app.gitlab.com/env: beta-db-12-dev2
app.gitlab.com/env.name: beta-db-12-dev2
labels:
app: app
application: beta-db-12-dev2-emjpm-portail
owner: emjpm-portail
team: emjpm-portail
cert: wildcard
component: nginx
name: app
namespace: emjpm-portail-85-beta-db-12-dev2
spec:
replicas: 1
selector:
matchLabels:
app: app
template:
metadata:
annotations:
app.gitlab.com/app: socialgouv-emjpm-portail
app.gitlab.com/env: beta-db-12-dev2
app.gitlab.com/env.name: beta-db-12-dev2
labels:
app: app
application: beta-db-12-dev2-emjpm-portail
owner: emjpm-portail
team: emjpm-portail
cert: wildcard
component: nginx
spec:
containers:
- image: >-
registry.gitlab.factory.social.gouv.fr/socialgouv/emjpm-portail/app:c58c0974f7023063b1296d3a5a285b46b92771f8
livenessProbe:
failureThreshold: 6
httpGet:
path: /index.html
port: http
initialDelaySeconds: 30
periodSeconds: 5
timeoutSeconds: 5
name: app
ports:
- containerPort: 80
name: http
readinessProbe:
failureThreshold: 15
httpGet:
path: /index.html
port: http
initialDelaySeconds: 0
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
resources:
limits:
cpu: 500m
memory: 128Mi
requests:
cpu: 5m
memory: 32Mi
startupProbe:
failureThreshold: 12
httpGet:
path: /index.html
port: http
periodSeconds: 5
apiVersion: apps/v1
kind: Deployment
---
metadata:
labels:
app: app
application: beta-db-12-dev2-emjpm-portail
owner: emjpm-portail
team: emjpm-portail
cert: wildcard
name: app
annotations:
app.gitlab.com/app: socialgouv-emjpm-portail
app.gitlab.com/env: beta-db-12-dev2
app.gitlab.com/env.name: beta-db-12-dev2
namespace: emjpm-portail-85-beta-db-12-dev2
spec:
ports:
- name: http
port: 80
targetPort: 80
selector:
app: app
type: ClusterIP
apiVersion: v1
kind: Service
---
metadata:
annotations:
kubernetes.io/ingress.class: nginx
app.gitlab.com/app: socialgouv-emjpm-portail
app.gitlab.com/env: beta-db-12-dev2
app.gitlab.com/env.name: beta-db-12-dev2
labels:
app: app
application: beta-db-12-dev2-emjpm-portail
owner: emjpm-portail
team: emjpm-portail
cert: wildcard
name: app
namespace: emjpm-portail-85-beta-db-12-dev2
spec:
rules:
- host: beta-db-12-dev2-emjpm-portail.dev2.fabrique.social.gouv.fr
http:
paths:
- backend:
serviceName: app
servicePort: 80
path: /
tls:
- hosts:
- beta-db-12-dev2-emjpm-portail.dev2.fabrique.social.gouv.fr
secretName: wildcard-crt
apiVersion: extensions/v1beta1
kind: Ingress
"
`;
152 changes: 152 additions & 0 deletions .k8s/__tests__/__snapshots__/kosko generate --env preprod.ts.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`kosko generate --preprod 1`] = `
"---
metadata:
annotations:
field.cattle.io/creatorId: gitlab
field.cattle.io/projectId: 'c-f8qps:p-46tj7'
git/branch: beta-db-12
git/remote: >-
https://gitlab-ci-token:[MASKED]@gitlab.factory.social.gouv.fr/SocialGouv/socialgouv-github-io.git
app.gitlab.com/app: socialgouv-emjpm-portail
app.gitlab.com/env: preprod-dev2
app.gitlab.com/env.name: preprod-dev2
labels:
azure-pg-admin-user: emjpm-portail
application: v1-2-3-emjpm-portail
owner: emjpm-portail
team: emjpm-portail
cert: wildcard
name: emjpm-portail-site-24-preprod-dev2
apiVersion: v1
kind: Namespace
---
metadata:
annotations:
app.gitlab.com/app: socialgouv-emjpm-portail
app.gitlab.com/env: preprod-dev2
app.gitlab.com/env.name: preprod-dev2
labels:
app: app
application: v1-2-3-emjpm-portail
owner: emjpm-portail
team: emjpm-portail
cert: wildcard
component: nginx
name: app
namespace: emjpm-portail-site-24-preprod-dev2
spec:
replicas: 1
selector:
matchLabels:
app: app
template:
metadata:
annotations:
app.gitlab.com/app: socialgouv-emjpm-portail
app.gitlab.com/env: preprod-dev2
app.gitlab.com/env.name: preprod-dev2
labels:
app: app
application: v1-2-3-emjpm-portail
owner: emjpm-portail
team: emjpm-portail
cert: wildcard
component: nginx
spec:
containers:
- image: >-
registry.gitlab.factory.social.gouv.fr/socialgouv/emjpm-portail/app:1.2.3
livenessProbe:
failureThreshold: 6
httpGet:
path: /index.html
port: http
initialDelaySeconds: 30
periodSeconds: 5
timeoutSeconds: 5
name: app
ports:
- containerPort: 80
name: http
readinessProbe:
failureThreshold: 15
httpGet:
path: /index.html
port: http
initialDelaySeconds: 0
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
resources:
limits:
cpu: 500m
memory: 128Mi
requests:
cpu: 5m
memory: 32Mi
startupProbe:
failureThreshold: 12
httpGet:
path: /index.html
port: http
periodSeconds: 5
apiVersion: apps/v1
kind: Deployment
---
metadata:
labels:
app: app
application: v1-2-3-emjpm-portail
owner: emjpm-portail
team: emjpm-portail
cert: wildcard
name: app
annotations:
app.gitlab.com/app: socialgouv-emjpm-portail
app.gitlab.com/env: preprod-dev2
app.gitlab.com/env.name: preprod-dev2
namespace: emjpm-portail-site-24-preprod-dev2
spec:
ports:
- name: http
port: 80
targetPort: 80
selector:
app: app
type: ClusterIP
apiVersion: v1
kind: Service
---
metadata:
annotations:
kubernetes.io/ingress.class: nginx
app.gitlab.com/app: socialgouv-emjpm-portail
app.gitlab.com/env: preprod-dev2
app.gitlab.com/env.name: preprod-dev2
labels:
app: app
application: v1-2-3-emjpm-portail
owner: emjpm-portail
team: emjpm-portail
cert: wildcard
name: app
namespace: emjpm-portail-site-24-preprod-dev2
spec:
rules:
- host: preprod-emjpm-portail.dev2.fabrique.social.gouv.fr
http:
paths:
- backend:
serviceName: app
servicePort: 80
path: /
tls:
- hosts:
- preprod-emjpm-portail.dev2.fabrique.social.gouv.fr
secretName: wildcard-crt
apiVersion: extensions/v1beta1
kind: Ingress
"
`;
Loading

0 comments on commit 1147a8a

Please sign in to comment.