James Polley
36d079f56b
Don't autogenerate certificate
2018-07-28 15:50:07 +10:00
James Polley
f0d14754a7
Rework review app deployment to use ingress per deployment
2018-07-28 15:50:07 +10:00
James Polley
11f4a05011
We do need to build images on the dev/2019 branch
...
These images are later promoted to prod once the commit merges into
the 2019 branch
2018-07-02 02:10:05 +10:00
James Polley
911b12564b
Always quote numerical branch names
...
Gitlab-ci expects to see a string; if not quoted this becomes an int.
2018-07-02 02:07:38 +10:00
James Polley
6781297016
Don't build review deployment for prod
...
But do build docs
2018-07-02 02:06:16 +10:00
James Polley
2e77bb2d60
Don't try to seperate the dev/non-dev image builds
...
The dev image build uses the prod image build as a base. It doesn't
make sense to seperate them as they need to be sequential, and the
fastest way to do them is to re-use the environment from the first build
2018-07-02 02:00:11 +10:00
James Polley
0c58a94323
Add 2019 prod deploy job
...
And streamline the names of the other 2019 jobs
2018-07-02 01:54:59 +10:00
James Polley
0231f3ff46
Set the deployment to use a SHA rather than the SLUG
...
This will ensure that the deployment gets updated when we deploy
2018-06-24 23:23:23 +10:00
James Polley
81db7ff00d
Add patch for certificate
2018-06-24 21:12:37 +10:00
James Polley
3d5ed5c516
Turn review jobs back on
...
Use a new "rego-review" namespace to not interfere with the dev instance.
2018-06-24 14:32:33 +10:00
James Polley
5b093b550f
Disable the review-app jobs for now
...
They broke the ingress; disabling until that can be sorted out.
2018-06-17 19:37:07 +10:00
James Polley
65bed40faf
Switch to building in the rego-dev namespace
2018-06-17 04:43:45 +00:00
James Polley
304436881b
Remove status stanzas
2018-06-17 04:43:45 +00:00
James Polley
de17d506a4
Attempt to build review apps for dev/* branches
2018-06-17 04:43:45 +00:00
James Polley
a81956359b
Auto-deploy dev changes to dev instance
2018-06-17 04:43:45 +00:00
James Polley
3534a8243c
Make the dev job available to dev/lca2019 branch
2018-06-16 12:05:23 +10:00
James Polley
6d50900433
Add staging environment and deploy job
2018-06-10 19:12:14 +10:00
James Polley
c16989d006
Build the test image for all branches except master
2018-06-09 11:22:27 +10:00
Sachi King
c07dc66b3d
Attempt updated CI deployment
2018-05-26 14:47:19 +10:00
James Polley
bbd277c462
Modify build pipeline for 2019 dev branch
2018-05-26 11:43:25 +10:00
James Polley
9d60934153
Rename 2019 deploy job to not clash with ticket-testing deploy
2018-04-19 07:41:22 +10:00
James Polley
6e35fec262
Update gitlab CI to build test images for the lca2019 branch
2018-04-19 07:34:48 +10:00
James Polley
4570eb1665
Test sphinx generation on every commit
...
Produces a downloadable artifact
2017-10-15 16:20:36 +10:00
James Polley
06eae1df07
Add environment labels for deploy jobs
2017-10-14 10:32:46 +11:00
James Polley
df389b9ce5
Revert "Split out dev/prod docker builds into parallel jobs."
...
This reverts commit d7065ee43d
.
Dev build re-uses prod build, so they can't be split (and dev build
won't take much extra time anyway)
2017-10-04 23:56:28 +11:00
James Polley
d7065ee43d
Split out dev/prod docker builds into parallel jobs.
2017-10-04 23:49:16 +11:00
James Polley
75a4bf673f
Add gitlab ci config to build docs
2017-09-21 12:23:17 +10:00
Sachi King
71a612baa4
Build dev container for ticket testing
2017-08-16 13:44:23 +10:00
Sachi King
7b58bfafa6
Fix container name reference for deploy command
...
In the pod, the container is not called frontend
2017-08-08 18:36:47 +10:00
Sachi King
c32dbb2a07
Build an ephemeral dev container for rego testing
...
Create a ephemeral dev container to facilitate testing of
populate_inventory. It can be created, tweeked in the admin interface,
files updated in admin's populate_inventory, then redeployed to deal
with those changes.
A branch based one will need to be created to so we can do this work
without polluting the master branch.
2017-08-07 11:50:03 +10:00
Sachi King
db1f3f9792
Improve image update workflow
...
This improves the administrative workflow of deploying updated images to
the k8s cluster. Still tag latest however, as that's important to
old-workflow.
Would be good to block this and have it fail on a db migration so it
doesn't happen accidently, and make the deployer deal with it.
2017-08-07 11:30:11 +10:00
Sachi King
b3ca520a7a
Lets try to automate this build a bit
...
This doesn't rebuild on subproject changes... this is something that
will need fixed.
2017-04-29 20:21:25 +10:00