James Fargher
01aa1ef77b
Update dashboards to additionally use new environment selector
...
Deploy boards now will check for app.gitlab.com/env and
app.gitlab.com/app
2019-03-21 08:06:47 +00:00
Clement Ho
6a0702fe93
Merge branch '57115-just-in-time-k8s-resource-creation' into 'master'
...
Create project-specific Kubernetes resources just-in-time
See merge request gitlab-org/gitlab-ce!25586
2019-03-20 22:25:23 +00:00
Grzegorz Bizon
a99fcc0c29
Merge branch '57598-use-vendored-files-for-ci-config' into 'master'
...
Resolve "Use vendored files for CI config"
Closes #57598
See merge request gitlab-org/gitlab-ce!25871
2019-03-20 21:12:30 +00:00
Tiger
325d504c3c
Don't recreate Kubernetes namespaces if they exist
...
Instead of attempting to create or update a Kubernetes
namespace on every deploy, only do so when we know it
doesn't exist yet.
2019-03-20 12:04:46 +11:00
Tiger
89b0bc04b9
Create one Kubernetes namespace for a deployment
...
Instead of creating a Kubernetes namespace on every
cluster related to a project, only create one on the
cluster the project is about to be deployed to.
2019-03-20 12:04:46 +11:00
Tiger
98a14a498d
Add build prerequisite for Kubernetes namespaces
...
Builds that have deployments require Kubernetes resources
to be created before the build can be deployed. These
resources are no longer created when the cluster is
created, which allows us to only create the resources
required by each specific build.
2019-03-20 12:04:46 +11:00
Tiger
00f0d356b7
Create framework for build prerequisites
...
Introduces the concept of Prerequisites for a CI build.
If a build has unmet prerequisites it will go through the
:preparing state before being made available to a runner.
There are no actual prerequisites yet, so current
behaviour is unchanged.
2019-03-20 12:04:40 +11:00
Tiger
42ca9c6f0d
Add :preparing status to HasStatus
...
Introduces a new status for builds between :created and :pending
that will be used when builds require one or more prerequisite
actions to be completed before being picked up by a runner
(such as creating Kubernetes resources before deploying).
The existing :created > :pending transition is unchanged, so
only builds that require preparation will use the :preparing
status.
2019-03-20 11:48:31 +11:00
Victor Zagorodny
53842505ca
Remove before_script from DAST vendored template
2019-03-19 08:35:24 +00:00
Robert Speicher
f012e93482
Merge branch 'resolve-lib-gitlab-differences' into 'master'
...
Move EE specific code out of lib/gitlab
See merge request gitlab-org/gitlab-ce!25741
2019-03-18 15:11:21 +00:00
Matija Čupić
dfacd3a02d
Move gitlab-org specific config to .gitlab-ci.yml
2019-03-15 16:37:27 +01:00
Matija Čupić
3b3b160241
Hardcode CodeQuality version used
2019-03-15 16:37:26 +01:00
Matija Čupić
f2eac81bc8
Add Code-Quality CI template
2019-03-15 16:37:26 +01:00
Matija Čupić
3527e3e43c
Tidy up CI templates
...
Tidies up CI templates to have better formatting.
* Removes redundant whitespace
* Removes redundant newlines
2019-03-15 16:37:21 +01:00
Grzegorz Bizon
51c1a49a66
Merge branch '58482-update-airminc/clair-local-scan-to-2.0.6' into 'master'
...
Update clair-local-scan to 2.0.6
Closes #58482
See merge request gitlab-org/gitlab-ce!25743
2019-03-15 13:25:41 +00:00
Stan Hu
c048422fa2
Merge branch 'update-rubocop' into 'master'
...
Update rubocop target ruby version
See merge request gitlab-org/gitlab-ce!24804
2019-03-13 18:03:12 +00:00
Takuya Noguchi
ba018b52bd
Update clair-local-scan to 2.0.6 to support Ubuntu 18.04
...
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2019-03-14 00:21:19 +09:00
Nick Thomas
9f05e97aad
Run rubocop -a
2019-03-13 13:42:43 +00:00
walkafwalka
7f0f752aab
Use project name and id in review app url instead of project path slug
2019-03-12 18:11:28 -07:00
Yorick Peterse
018fc6c696
Backport allow_mirror_update for Chain::Command
...
This backports the allow_mirror_update update field for Chain::Command
from EE to CE. There's no particular reason to keep this in EE. Doing so
would require refactoring of CE as there currently is no easy way to
inject new Struct members into the Chain::Command class.
2019-03-12 11:10:40 +01:00
Yorick Peterse
0cabb555f0
Backport Gitlab::Ci::Model from EE
...
This backports the EE changes to Gitlab::Ci::Model back into CE,
ensuring the code is the same for both versions.
2019-03-12 11:10:39 +01:00
Takuya Noguchi
37f9cf8a26
Use curl silent/show-error options on Auto DevOps
...
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2019-03-11 16:54:40 +09:00
Victor Zagorodny
2cb0e98401
Use vendored templates for Sec Products
...
Update Dependency Scanning and add other templates
2019-03-08 03:39:35 +00:00
Victor Zagorodny
eb37c34906
Add Dependency Scanning vendored template for EE
2019-03-07 09:31:37 +00:00
Grzegorz Bizon
80fea82f3a
Merge branch 'auto-devops-tags' into 'master'
...
Add Auto DevOps build job for tags
See merge request gitlab-org/gitlab-ce!25718
2019-03-07 08:55:24 +00:00
Andrew Newdigate
3288e1a874
Adds the Rubocop ReturnNil cop
...
This style change enforces `return if ...` instead of
`return nil if ...` to save maintainers a few minor review points
2019-03-06 17:51:56 +02:00
Stan Hu
d11b112664
Merge branch 'fix/gb/fix-bridge-jobs-variables-policy' into 'master'
...
Fix bridge jobs only/except variables policy
Closes #58199
See merge request gitlab-org/gitlab-ce!25710
2019-03-05 22:27:22 +00:00
Grzegorz Bizon
d9fb27f42a
Make serverless template a valid abstract template
2019-03-04 21:09:38 +08:00
Grzegorz Bizon
f5579abc9a
Make it possible to easily deploy serverless functions
...
This commits add a job that is going to be triggered whenever someone
adds `[serverless deploy-functions]` text into their commit message.
This make it really simple to deploy functions in FaaS-only project.
2019-03-04 21:09:38 +08:00
Grzegorz Bizon
27417ccf3c
Add Serverless CI/CD template
2019-03-04 21:09:38 +08:00
Grzegorz Bizon
4b0036b87e
Merge branch 'allow-to-recursively-include' into 'master'
...
Allow to recursively expand includes
Closes #55937 and #56836
See merge request gitlab-org/gitlab-ce!24356
2019-03-04 09:06:42 +00:00
walkafwalka
f6d90ccfb5
Add performance, dast, and review jobs to tags pipeline
2019-03-03 23:50:04 -08:00
walkafwalka
6208d83525
Add build for tags
2019-03-03 23:50:04 -08:00
Grzegorz Bizon
981c248863
Do not raise when adding undefined variables resource
2019-03-02 15:18:14 +01:00
Kamil Trzciński
c78861bc42
Allow to recursively expand includes
...
This change introduces a support for nesting the includes,
allowing to evaluate them in context of the target,
by properly respecting the relative inclusions and user permissions
of another projects, or templates.
2019-03-01 15:55:53 +01:00
Shinya Maeda
f62dc67d26
Add suffix for merge request event
...
Fix
ok
Add spec
Fix
ok
Fix
Add changelog
Fix
Add memoization
a
fix
2019-03-01 22:52:38 +09:00
Jason Lenny
f50b0c05e1
Add iOS-fastlane template for .gitlab-ci.yml
2019-02-28 01:29:43 +00:00
Matija Čupić
316889cb47
Revert "Merge branch 'revert-8baf9e5f' into 'master'"
...
This reverts commit f5201a816f , reversing
changes made to 48e6db0dad .
2019-02-27 12:52:53 +01:00
Grzegorz Bizon
1b10b77bab
Merge branch 'include-ci-yaml' into 'master'
...
fix: validate 'include' keywords in gitlab-ci.yml configuration files
Closes #55863
See merge request gitlab-org/gitlab-ce!24098
2019-02-27 10:29:08 +00:00
Shinya Maeda
314062fec5
Persist source sha and target sha for merge pipelines
...
source_sha and target_sha are used for merge request pipelines
2019-02-27 17:12:04 +09:00
Kamil Trzciński
7b445f9b15
Revert "Merge branch '13784-simple-masking-of-protected-variables-in-logs' into 'master'"
...
This reverts merge request !25293
2019-02-26 17:32:23 +00:00
Matija Čupić
c9125c4786
Add Maskable concern for CI variables
...
This adds a concern that abstracts the concept of masking a variable,
including the RegEx for validation.
2019-02-26 14:03:42 +00:00
Kamil Trzciński
c3b176c5e3
Merge branch '50313-use-kaniko-to-build-containers-in-autodevops' into 'master'
...
Use auto-build-image in AutoDevOps
See merge request gitlab-org/gitlab-ce!24279
2019-02-26 09:10:18 +00:00
Sean McGivern
c39e094bc8
Merge branch '58098-auto-devops-postgres-version-variable' into 'master'
...
Allow configuring POSTGRES_VERSION in Auto DevOps
Closes #58098
See merge request gitlab-org/gitlab-ce!25500
2019-02-25 11:04:59 +00:00
James Fargher
9b2befb65b
Use auto-build-image for build stage
2019-02-25 09:43:06 +13:00
Dylan Griffith
2f599abab0
Allow configuring POSTGRES_VERSION in Auto DevOps
...
We set the default value to 9.6.2 since this was the previous default
being used by `stable/postgresql --version=0.7.1` which is used in
auto-deploy-app.
2019-02-22 17:26:43 -06:00
James Fargher
2d19b1adef
Move ChatOps to Core
...
ChatOps used to be in the Ultimate tier.
2019-02-20 21:29:48 +00:00
Thong Kuah
342707e9a3
Bump kubectl to 1.11.7
...
Bump kubectl in Auto DevOps to 1.11.7. Minor patch upgrade from 1.11.6.
2019-02-20 09:55:33 +13:00
Thong Kuah
2f3079fadf
Bump Helm to 2.12.3
...
Minor bugfix release:
https://github.com/helm/helm/releases/tag/v2.12.3
2019-02-20 09:55:33 +13:00
Dylan Griffith
2d300104c1
Fix Auto DevOps check domain is blank
2019-02-19 10:50:28 -06:00