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
| { | |
| "vagrant": { | |
| "plugins": { | |
| "vagrant-hostmanager": { | |
| "version": ">= 1.8.9", | |
| "enabled": true, | |
| "config": { | |
| "hostmanager.enabled": true, | |
| "hostmanager.manage_host": true, | |
| "hostmanager.manage_guest": true |
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
| git clone git@github.com:French-Exception-2/vagranti-dev.php.git vagranti-dev.php.git | |
| https://github.com/French-Exception-2/vagranti-dev.php/blob/develop/provisioning/Debian_64/10.7.0/k8s.install.sh | |
| https://github.com/French-Exception-2/vagranti-dev.php/blob/develop/provisioning/Debian_64/10.7.0/k8s.configure.sh | |
| ==> vdi-01-dev-worker-01: Running provisioner: k8s.configure (shell)... | |
| vdi-01-dev-worker-01: Running: script: k8s.configure | |
| vdi-01-dev-worker-01: [preflight] Running pre-flight checks | |
| vdi-01-dev-worker-01: [WARNING SystemVerification]: missing optional cgroups: hugetlb | |
| vdi-01-dev-worker-01: [preflight] Reading configuration from the cluster... |
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
| <?php | |
| namespace App\Command; | |
| use Symfony\Component\Console\Command\Command; | |
| use Symfony\Component\Console\Input\InputInterface; | |
| use Symfony\Component\Console\Output\OutputInterface; | |
| class InitCommand extends Command | |
| { |
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
| #!/usr/bin/env bash | |
| k_iface=${k_iface:=enp0s8} | |
| k_apiserver_advertise_address=${k_apiserver_advertise_address:=$(ip addr show $k_iface | grep -Po 'inet \K[\d.]+')} | |
| k_pod_network_cidr=${k_pod_network_cidr:="172.18.0.0/16"} | |
| ROLE=${ROLE:="master"} | |
| sudo swapoff -a | |
| if [[ $MASTER == $(hostname) ]]; then |
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
| #!/usr/bin/env bash | |
| k_apiserver_advertise_address=${k_apiserver_advertise_address:=$(ip addr show $k_iface | grep -Po 'inet \K[\d.]+')} | |
| k_pod_network_cidr=${k_pod_network_cidr:="172.18.0.0/16"} | |
| sudo swapoff -a | |
| if [[ $MASTER == $(hostname) ]]; then | |
| (rm /vagrant/instance/$MASTER/k8s.join.command.create.sh) || true | |
| sudo kubeadm init --apiserver-advertise-address=${k_apiserver_advertise_address} --pod-network-cidr=${k_pod_network_cidr} |
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
| vagrant@cc-dcmp-dev-infra-00:~/code/dcmp-api/dcmp-api-i1$ composer require behat/behat behat/mink behat/mink-extension laracasts/behat-laravel-extension symfony/config --dev -W | |
| Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:9003 (fallback through xdebug.client_host/xdebug.client_port) :-( | |
| Using version ^3.8 for behat/behat | |
| Using version ^1.8 for behat/mink | |
| Using version ^2.3 for behat/mink-extension | |
| Using version ^1.1 for laracasts/behat-laravel-extension | |
| Using version ^5.2 for symfony/config | |
| ./composer.json has been updated | |
| Running composer update behat/behat behat/mink behat/mink-extension laracasts/behat-laravel-extension symfony/config --with-all-dependencies | |
| Loading composer repositories with package information |
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
| version: '3.3' | |
| services: | |
| traefik: | |
| image: "traefik" | |
| container_name: "traefik" | |
| command: | |
| - "--log.level=DEBUG" | |
| - "--api.insecure=true" | |
| - "--providers.docker=true" | |
| - "--providers.docker.exposedbydefault=false" |
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
| version: '3.3' | |
| services: | |
| traefik: | |
| image: "traefik:v2.3" | |
| container_name: "traefik" | |
| command: | |
| #- "--log.level=DEBUG" | |
| - "--api.insecure=true" | |
| - "--providers.docker=true" | |
| - "--providers.docker.exposedbydefault=false" |
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
| $npm = @("config-lib", "config-api", "config-cli") | |
| try { | |
| $processes = foreach ($package in $npm) { | |
| Start-Process -FilePath powershell -ArgumentList 'npm run watch' -WorkingDirectory "$psscriptroot\..\src\$package" -nonewwindow | |
| } | |
| $processes | Wait-Process | |
| } | |
| finally { |
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
| $npm = @("config-lib", "config-api", "config-cli") | |
| $processes = [System.Collections.ArrayList]@() | |
| $location = get-location | |
| try { | |
| foreach ($package in $npm) { | |
| set-location $psscriptroot\..\src\$package | |
| $process = ./node_modules/.bin/tsc --watch & |