| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
'49056-configure-auto-devops-deployed-applications-with-secrets-that-aren-t-committed-to-the-repo' into 'master'
Configure Auto DevOps deployed applications with secrets from prefixed CI variables
See merge request gitlab-org/gitlab-ce!23719
|
| |
| |
| |
| |
| |
| | |
- DRY up setting deploy name
- DRY up application_secret_name
|
| | |
|
| |
| |
| |
| |
| |
| | |
Use --from-env-file with bash process substitution
We still need bash as process substition (`<()`) is not available in sh
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ie. fix below quoting issue:
```
kubectl create secret -n project-with-autodevops-900057eb1ce34399-77 \
generic production-secret \
'--from-literal=OPTIONAL_MESSAGE=You' can see this secret \
-o yaml --dry-run
```
With fix, it should be generating:
```
kubectl create secret -n project-with-autodevops-900057eb1ce34399-77 \
generic production-secret \
--from-literal 'OPTIONAL_MESSAGE=You can see this secret' \
-o yaml --dry-run
```
Call via bash -c, instead of assuming bash
The shell is /bin/sh, so we cannot asssume bash. Hence we use `bash -c`
bash is installed for deploy jobs in a prior step
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Find any CI variables from `env` which has a prefix. If there are any
such CI variables, strip prefix from variable name then create a generic
Kubernetes secret containing all these CI variables as key-value pairs.
Also, Pass in secretname to application container
The secretname may be present, if nil, the chart does nothing. If
present, the chart will load the key-value pairs from the secret into
the application container. See
https://gitlab.com/charts/auto-deploy-app/blob/master/README.md#configuration
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Support new issue creation by email without subaddressing
Closes #29951
See merge request gitlab-org/gitlab-ce!23523
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
including verifying the project_slug
|
| | | |
|
| | |
| | |
| | |
| | | |
We now use `-issue` in order to support catch all email addresses
|
| | |
| | |
| | |
| | |
| | | |
We now use `-merge-request` instead of `+merge-request+`
in order to support catch all email addresses
|
| | |
| | |
| | |
| | |
| | | |
We now use `-unsubscribe` instead of `+unsubscribe`
in order to support catch all email addresses
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
[CE] Don't run checks for changed refs when specific changes are unknown
See merge request gitlab-org/gitlab-ce!23990
|
| | |
| | |
| | |
| | |
| | |
| | | |
# Conflicts:
# ee/lib/ee/gitlab/git_access.rb
# lib/gitlab/git_access.rb
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When the `changes` passed to `GitAccess` are the literal string `_any`,
which indicates that this is a pre-authorization check, we now check
whether the user can push to any branch in the project in question,
instead of running the per-change check with `oldrev` `_any`, `newrev`
`nil`, and `ref` `nil`.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Webhook URLs were recently encrypted in the database via
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21645, and as a
result they are no longer exported. When an exported project with
Webhooks is imported, the project import service will fail with
`URI::InvalidURIError: bad URI(is not URI?)` due to a blank URL.
We avoid this by disabling the export/import of Webhooks in
the first place.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53513
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/
|/| |
|
|\ \
| | |
| | |
| | |
| | | |
Avoid extra storage bucket perm and query
See merge request gitlab-org/gitlab-ce!23995
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Specifically, the `ListAllMyBuckets` permission.
This works if you know the directory exists.
See more:
* https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23981
* https://stackoverflow.com/a/12288581/1992201
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
Handle 'git push -o ci.skip'
Closes #18667
See merge request gitlab-org/gitlab-ce!15643
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
gitlab-org/gitlab-shell!166 added support for collecting push options
from the environment, and passing them along to the
/internal/post_receive API endpoint.
This change handles the new push_options JSON element in the payload,
and passes them on through to the GitPushService and GitTagPushService
services.
Futhermore, it adds support for the first push option, ci.skip. With
this change, one can use 'git push -o ci.skip' to skip CI pipe
execution. Note that the pipeline is still created, but in the "skipped"
state, just like with the 'ci skip' commit message text.
Implements #18667
|
|\ \ \ |
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
[master] Escape html entities when no label found
See merge request gitlab/gitlabhq!2706
|
| | | | | |
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
[master] Secret CI variables can exposed by creating a tag with the same name as an existing protected branch
See merge request gitlab/gitlabhq!2596
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This reverts commit ec4730478b798270781257913ee4cede673d4d4e.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This implements Repository#ambiguous_ref? and checks if a ref is
ambiguous before trying to resolve the ref in Project#protected_for?
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Reworks Project#resolve_ref to return Gitlab::Git::Branch,
Gitlab::Git::Tag or raise an AmbiguousRef error.
|
| | | | | | |
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
[master] Set URL rel attribute for broken URLs
See merge request gitlab/gitlabhq!2695
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
It's possible that URI fails to parse a link, but browsers
still recognize given URL as a link, we should make sure
that 'rel' attribute is set also in this case.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Use directories.new when getting S3 directory
Closes gitlab-com/gl-infra/infrastructure#5807
See merge request gitlab-org/gitlab-ce!23981
|