Commit Graph

17 Commits

Author SHA1 Message Date
Matija Čupić 78ae23045b
Reverse logic of manual and continuous deploy strategies 2018-06-06 19:09:46 +02:00
Matija Čupić 9738b0a42b
Make deploy_strategy zero based 2018-06-06 18:58:26 +02:00
Matija Čupić 39412d0a16
Add deploy strategy related predefined variables 2018-06-01 23:58:39 +02:00
Matija Čupić 5e9687a198
Add deploy_strategy to ProjectAutoDevops 2018-06-01 23:39:24 +02:00
Grzegorz Bizon 769f87eebd Fix rubocop offense in auto devops predefined variables 2018-03-13 15:26:16 +01:00
Grzegorz Bizon 0cf0a7a898 DRY project-level predefined variables 2018-03-13 14:00:14 +01:00
Matija Čupić 5291c0bb51
Use domain.presence instead of domain to avoid empty strings 2018-02-06 15:30:55 +01:00
Matija Čupić 56bcb3e8c8
Use Gitlab::CurrentSettings instead of current_application_settings 2018-02-03 12:20:59 +01:00
Matija Čupić e6487168ea
Read the AutoDevOps instance domain in ProjectAutoDevOps 2018-02-01 23:59:14 +01:00
bokebilly 3017697701 Add warning message if domain or cluster are not configured 2017-09-19 15:32:31 +02:00
Zeger-Jan van de Weg 74bf291c78
Add auto devops enabled/disabled to usage ping 2017-09-12 12:33:48 +02:00
Kamil Trzcinski 632f6ba267 Add tests to cover all introduced changes 2017-09-06 21:00:34 +02:00
Kamil Trzcinski 82ed2a0909 Improve config source handling code 2017-09-06 18:57:07 +02:00
Zeger-Jan van de Weg c288ca78b4
Use hook for setting Pipeline config_source 2017-09-06 15:14:21 +02:00
Zeger-Jan van de Weg 003bfac293
Incorporate another round of feedback 2017-09-06 09:26:47 +02:00
Zeger-Jan van de Weg bcd70c4c46
Incorporate review 2017-09-04 15:44:46 +02:00
Zeger-Jan van de Weg 6ed490401f
Implement the implied CI/CD config for AutoDevOps
Behind an application setting, which defaults to false, this commit
implements the implied CI/CD config. Which means that in the case we
can't find the `.gitlab-ci.yml` on the commit we want to start a
pipeline for, we fall back to an implied configuration.

For now the Bash template has been copied to
`Auto-Devops.gitlab-ci.yml` so the tests actually work.

Fixes #34777
2017-08-31 22:25:25 +02:00