This file contains hidden or 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
deb http://mirror.1000mbps.com/ubuntu/ jammy main restricted | |
deb http://mirror.1000mbps.com/ubuntu/ jammy-updates main restricted | |
deb http://mirror.1000mbps.com/ubuntu/ jammy universe | |
deb http://mirror.1000mbps.com/ubuntu/ jammy-updates universe | |
deb http://mirror.1000mbps.com/ubuntu/ jammy multiverse | |
deb http://mirror.1000mbps.com/ubuntu/ jammy-updates multiverse |
This file contains hidden or 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
apiVersion: batch/v1beta1 | |
kind: CronJob | |
metadata: | |
name: magento-upgrade | |
spec: | |
concurrencyPolicy: Forbid | |
failedJobsHistoryLimit: 0 | |
jobTemplate: | |
spec: | |
activeDeadlineSeconds: 600 |
This file contains hidden or 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
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: elasticsearch | |
namespace: production | |
spec: | |
externalName: es-elasticsearch-coordinating-only.default.svc.cluster.local | |
ports: | |
- port: 9200 | |
protocol: TCP |
This file contains hidden or 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
.deploy: | |
image: git.gracious.nl:4567/docker/kubectl | |
before_script: | |
- gcloud config set project $GC_PROJECT | |
- gcloud auth activate-service-account --key-file $SA_GOOGLE_KUBERNETES | |
- gcloud --quiet container clusters get-credentials $GKE_CLUSTER --zone=$GKE_ZONE | |
- kubectl config set-context --current --namespace=$GKE_NAMESPACE | |
- kubectl delete job magento-upgrade --ignore-not-found | |
script: | |
- kubectl set image deployment $DEPLOYMENT_MAGENTO magento=$GCR_ZONE/$GC_PROJECT/$CI_PROJECT_NAME:$CI_COMMIT_SHA |
This file contains hidden or 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
build: | |
stage: build | |
services: | |
- docker:dind | |
only: | |
- develop | |
- tags | |
script: | |
- | | |
docker build --build-arg MAGE_MODE=production \ |
This file contains hidden or 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
install: | |
stage: install | |
services: | |
- mariadb:10.2 | |
- redis | |
variables: | |
DB_HOST: "127.0.0.1" | |
DB_NAME: "magento" | |
DB_USER: "root" | |
DB_PASSWORD: $CI_JOB_TOKEN |
This file contains hidden or 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
apiVersion: autoscaling/v1 | |
kind: HorizontalPodAutoscaler | |
metadata: | |
name: pubsub | |
namespace: default | |
spec: | |
maxReplicas: 5 | |
minReplicas: 2 | |
scaleTargetRef: | |
apiVersion: apps/v1 |
This file contains hidden or 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
apiVersion: batch/v1beta1 | |
kind: CronJob | |
metadata: | |
name: magento-cron | |
namespace: production | |
spec: | |
concurrencyPolicy: Forbid | |
failedJobsHistoryLimit: 3 | |
jobTemplate: | |
spec: |
This file contains hidden or 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
apiVersion: v1 | |
items: | |
- apiVersion: networking.gke.io/v1beta1 | |
kind: ManagedCertificate | |
metadata: | |
name: acc | |
namespace: acceptance | |
spec: | |
domains: | |
- acc.gracious.nl |
This file contains hidden or 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
apiVersion: v1 | |
items: | |
- apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
annotations: | |
kubernetes.io/ingress.global-static-ip-name: x.x.x.x | |
networking.gke.io/managed-certificates: acc | |
name: acceptance-ingress | |
namespace: acceptance |
NewerOlder