Commit Graph

35 Commits

Author SHA1 Message Date
c1cf6a0633 Install and enable pdo_mysql PHP extension 2021-09-05 18:29:14 +02:00
fe8e9a8943 --env only needs the suffix 2021-09-05 18:15:09 +02:00
d9f95f1de9 Apply the env vars to the .env.testing file 2021-09-05 18:08:26 +02:00
ad21930ca0 Migrate database before running tests 2021-09-05 17:53:33 +02:00
d594e264ac Switch to calling phpunit directly to allow coverage-text to be printed, read that text into pipeline report 2021-09-04 14:57:55 +02:00
a40bd89d10 Yarn comes preinstalled with the node docker image 2021-09-04 14:43:38 +02:00
1d4af01bcf Add node-build-job in order to create mix-manifest 2021-09-04 14:39:28 +02:00
02b487191c Artisan undocumented functionality seems to be the cause... 2021-09-04 14:33:10 +02:00
51cd79505c Add even more debugging 2021-09-04 14:29:32 +02:00
87159673a5 Add some debugging of the env files 2021-09-04 14:17:27 +02:00
3f7744e51c Add coverage reporting back in 2021-09-04 14:17:15 +02:00
602729d07c Move env copy to test job 2021-09-04 14:11:06 +02:00
b289a4725b PHPUnit uses .env.testing by default, so that file needs to contain the APP_KEY 2021-09-04 14:06:11 +02:00
a398558614 Read the .env file before running phpunit 2021-09-04 13:55:59 +02:00
c7a6e20fad Cache vendor folder between builds 2021-09-04 13:55:49 +02:00
55f6c5a7e1 Configure env file during php-build 2021-09-04 13:50:11 +02:00
8858cb7a1e Remove the yes pipe, since the pipeline is inexplicably failing 2021-09-04 13:45:51 +02:00
c7704c11b4 First attempt of adding CI/CD for php 2021-09-04 13:32:35 +02:00
1ac555734c Condense docker jobs into docker stage 2021-09-04 00:21:35 +02:00
13ed04fc6d Only do anything CI/CD with docker on the master branch 2021-09-04 00:09:33 +02:00
fbcac2ad76 Remove force redeploy commands from CI/CD as tag change now causes redeploy 2021-09-04 00:07:08 +02:00
b280f1ec52 Only allow deploy on master branch 2021-09-03 21:50:40 +00:00
fe38f88e73 Replace container image dynamically using kustomization.yaml 2021-09-03 23:40:13 +02:00
3f270e0f88 Create docker directory before copying file. Add needs to jobs 2021-09-03 21:24:17 +00:00
aee3e59388 Give up and move to project directory and copy back 2021-09-03 21:18:29 +00:00
87f58b9722 Add some debugging information 2021-09-03 21:15:52 +00:00
ace2beebb8 Hard-code entire absolute artifact path 2021-09-03 21:13:43 +00:00
3680425586 Hard-code absolute artifact path 2021-09-03 21:12:09 +00:00
5d31f3e32e Artifact is not being detected, attempt a fix 2021-09-03 21:11:04 +00:00
4b86de69da Refactor out authentication job from build job 2021-09-03 21:03:02 +00:00
8ee09be3d0 Persist docker-login artifact throughout pipeline process 2021-09-03 20:54:01 +00:00
e312581b1b Fix docker login password not being a variable 2021-09-03 20:45:37 +00:00
43d32c5105 Fix docker login syntax 2021-09-03 20:41:53 +00:00
05d507d175 Fix artifacts yaml error 2021-09-03 20:40:45 +00:00
bda4e04fee Create a Gitlab CI procedure 2021-09-03 20:38:42 +00:00