Devon Mackay
c9bd3a4328
Only generat IMAGE_NAME if it is undefined
2018-10-15 14:48:03 -04:00
Devon Mackay
7dc87e5fe8
Adjust timeout flags for Alpine specific version
2018-10-15 14:48:02 -04:00
Devon Mackay
2ba9745c2e
Add time limit for successfully deploying
...
- Add config var for max wait time for a deployment
- Move exit function and trap to the beginning of the script
- Execute the rollout status command using timeout
-- Use signal 2 (SIGINT; same pressing CTRL+C)
-- Abort the command if it is still running when max time is reached
-- If the command was aborted, rollback this deployment
2018-10-15 14:48:02 -04:00
Devon Mackay
1c5c75a0ac
Fix resource names
2018-10-15 14:48:02 -04:00
Devon Mackay
3ebf047e70
Sync debugger config with app config
2018-10-15 14:48:02 -04:00
Devon Mackay
4a99889a67
Add script that checks the k8s deployment without changing anything
2018-10-15 14:48:02 -04:00
Devon Mackay
7e0b3ce520
Adjust base64 params to be more portable (alpine compatible)
2018-10-15 14:48:02 -04:00
Patrick Smith
1594103847
Update secret key for atst-config-ini
2018-08-28 16:14:51 -04:00
Patrick Smith
949cb33b7a
Specify two replicas in deployment
2018-08-21 10:44:16 -04:00
Patrick Smith
e96f5cd3b4
Lower memory request for atst container
2018-08-21 10:44:06 -04:00
Patrick Smith
2f3a0a4db1
Attempt to fix permissions on rollout status
2018-08-16 16:08:47 -04:00
Patrick Smith
1cb68ecdaf
Wait for deployment to roll out before finishing
2018-08-16 15:37:37 -04:00
Patrick Smith
265b128255
Build remote image name in update-deploy script
2018-08-16 14:17:54 -04:00
Patrick Smith
1acd5fb73a
Use full remote image name when setting deployed image
2018-08-16 13:59:30 -04:00
Patrick Smith
b82bbae0c5
base64 decode user token
2018-08-16 13:40:54 -04:00
Patrick Smith
9deb602d22
Update image sha in deploy yml
2018-08-16 11:59:29 -04:00
Patrick Smith
71a8c06c22
Even more memory please
2018-08-16 10:36:27 -04:00
Patrick Smith
cba435c233
Bump up memory requirement
2018-08-16 10:22:07 -04:00
Patrick Smith
21b442ce3e
Shuffle around kubectl setup commands
2018-08-14 15:49:42 -04:00
Patrick Smith
717f67cee5
Update kubernetes endpoint var name
2018-08-14 15:16:35 -04:00
Patrick Smith
47baa270ce
Make deploy script executable
2018-08-14 14:35:09 -04:00
Devon Mackay
531cef233d
Add namespace to kubectl command
2018-08-14 12:10:16 -04:00
Devon Mackay
94d88d795e
Add script for updating source image of ATST deploy
2018-08-12 15:31:00 -04:00
Devon Mackay
6a776b4087
Add atat-deployer user for travis to use
2018-08-12 15:08:02 -04:00
Devon Mackay
b18c853f62
Update code version and add memory requirement
2018-08-12 14:17:18 -04:00
Devon Mackay
d741c4e37c
Add pod spec for debuggable ATST container
2018-08-12 14:17:18 -04:00
Devon Mackay
6f1cd6276d
Update deployed code version
2018-08-12 14:17:17 -04:00
Devon Mackay
0619e02042
Pull ca-chain.pem from Kubernetes
2018-08-12 14:17:17 -04:00
Devon Mackay
bfe3e18531
Update atst code version
2018-08-12 14:17:17 -04:00
Devon Mackay
e098dc8619
Fix file path
2018-08-12 14:17:17 -04:00
Devon Mackay
be653fd702
Fix reference
2018-08-12 14:17:17 -04:00
Devon Mackay
323eefd121
Update code version deployed
2018-08-12 14:17:17 -04:00
Devon Mackay
c00db63f40
Enable client cert validation
2018-08-12 14:17:17 -04:00
Devon Mackay
5bd39e1a15
Add client ca bundle to nginx container
2018-08-12 14:17:17 -04:00
Devon Mackay
bad0e1f098
Add script for managing client ca bundle
2018-08-12 14:17:17 -04:00
Devon Mackay
df6c563262
Enable redirects for login route and non-ssl traffic
2018-08-08 10:49:26 -04:00
Devon Mackay
5c647a5c41
Switch htpasswd to use a secret
2018-08-08 10:12:46 -04:00
Devon Mackay
3277386ae1
Add reference script for setting the htpasswd file contents
2018-08-08 10:10:37 -04:00
Devon Mackay
aecb310a9b
Set gid for mounted files to 101 (nginx)
2018-08-08 10:05:01 -04:00
Devon Mackay
ae2c6b01ff
Enable basic auth for /login-dev
2018-08-08 10:05:01 -04:00
Devon Mackay
2822ff16c5
Set FLASK_DEV to dev for staging
2018-08-08 10:05:01 -04:00
Devon Mackay
bde339871a
Add delete secret before recreating
2018-08-08 10:05:01 -04:00
Devon Mackay
3a377dcb11
Convert atst ini config into a secret
2018-08-08 10:05:01 -04:00
Devon Mackay
e5567bf3c3
Switch to passing in the file name
2018-08-08 10:05:01 -04:00
Devon Mackay
880b145747
Make helper scripts executable
2018-08-08 10:05:01 -04:00
Devon Mackay
e1a49b2e72
Switch auth.atat to direct nodeport service
2018-08-08 10:05:01 -04:00
Devon Mackay
84b0bda701
Move atst ini config into secret
2018-08-08 10:05:01 -04:00
Devon Mackay
f628460001
Rename reference script
2018-08-08 10:05:01 -04:00
Devon Mackay
e9c43f61e3
Temp: remove basic auth for testing
2018-08-08 10:05:01 -04:00
Devon Mackay
b83b62aea0
Downgrade from http2 for testing
2018-08-08 10:05:01 -04:00