Find a file
Rémy Coutable f0c7e6713f Merge branch '22191-delete-dynamic-envs-mr' into 'master'
Delete dynamic environments

- Adds "close environment" action to a merge request
- Adds tabs to environments list
- Adds close button to each environment row in environments list
- Replaces Destroy button with Close button inside an environment
- Adds close button to builds list inside an environment

#### Configuration

In order to enable stopping environments a valid `.gitlab-ci.yml` syntax has to be used:

```
review:
  environment:
    name: review/$app
    on_stop: stop_review

stop_review:
  script: echo Delete My App
  when: manual
  environment:
    name: review/$app
    action: stop
```

This MR requires that `stop_review` has to have: `when`, `environment:name` and `environment:action` defined.
The next MR after this one will verify that and enforce that these settings are configured.

It will also implicitly configure these settings, making it possible to define it like this:

```
review:
  environment:
    name: review/$app
    on_stop: stop_review

stop_review:
  script: echo Delete My App
```

Closes #22191 

See merge request !6669
2016-10-19 07:53:05 +00:00
.github
.gitlab remove a period that can be annoying 2016-10-14 15:16:18 +02:00
app Merge branch '22191-delete-dynamic-envs-mr' into 'master' 2016-10-19 07:53:05 +00:00
bin
builds
changelogs
config Merge remote-tracking branch 'origin/master' into 22191-delete-dynamic-envs-mr 2016-10-18 11:56:48 +02:00
db Merge remote-tracking branch 'origin/master' into 22191-delete-dynamic-envs-mr 2016-10-18 17:48:27 +02:00
doc Merge branch 'dz-rename-user-routes' into 'master' 2016-10-17 20:47:46 +02:00
docker Update README.md 2016-10-13 14:43:05 +00:00
features Wait for ajax for every merge request spinach test 2016-10-18 18:55:11 +03:00
fixtures/emojis
generator_templates/active_record/migration
lib Merge branch '22191-delete-dynamic-envs-mr' into 'master' 2016-10-19 07:53:05 +00:00
log
public
rubocop
scripts Convert CHANGELOG to Markdown 2016-10-16 21:05:24 +02:00
shared
spec Merge branch '22191-delete-dynamic-envs-mr' into 'master' 2016-10-19 07:53:05 +00:00
tmp
vendor Update templates for 8.13 2016-09-30 12:16:41 +02:00
.csscomb.json Remove SCSS rules for short hex chars. 2016-10-03 20:40:22 -04:00
.flayignore Tell Flay to ignore Gitlab::Diff::PositionTracer 2016-09-27 14:31:33 +02:00
.foreman
.gitattributes Convert CHANGELOG to Markdown 2016-10-16 21:05:24 +02:00
.gitignore
.gitlab-ci.yml Merge branch 'master' into merge-conflicts-editor-2 2016-10-17 10:56:55 +01:00
.haml-lint.yml
.mailmap
.pkgr.yml
.rspec
.rubocop.yml Update RuboCop to 0.43.0 and update configuration 2016-10-04 13:28:01 +02:00
.rubocop_todo.yml Update RuboCop to 0.43.0 and update configuration 2016-10-04 13:28:01 +02:00
.ruby-version
.scss-lint.yml Enforce TrailingSemicolon and EmptyLineBetweenBlocks in scss-lint 2016-10-14 16:28:10 -05:00
CHANGELOG.md Merge branch '22191-delete-dynamic-envs-mr' into 'master' 2016-10-19 07:53:05 +00:00
config.ru
CONTRIBUTING.md Convert CHANGELOG to Markdown 2016-10-16 21:05:24 +02:00
doc_styleguide.md
docker-compose.yml
Gemfile Enable activerecord_sane_schema_dumper for test 2016-10-17 17:10:37 +02:00
Gemfile.lock Re-run specs if failed 2016-10-14 14:26:12 +02:00
GITLAB_SHELL_VERSION Update to gitlab-shell 3.6.6 2016-10-12 16:44:47 +02:00
GITLAB_WORKHORSE_VERSION Use gitlab-workhorse 0.8.5 2016-10-14 14:47:13 +01:00
LICENSE
MAINTENANCE.md
PROCESS.md
Procfile
Rakefile
README.md Add link to test coverage report to README 2016-10-10 15:22:09 +02:00
VERSION

GitLab

Build status CE coverage report Code Climate Core Infrastructure Initiative Best Practices

Canonical source

The canonical source of GitLab Community Edition is hosted on GitLab.com.

Open source software to collaborate on code

To see how GitLab looks please see the features page on our website.

  • Manage Git repositories with fine grained access controls that keep your code secure
  • Perform code reviews and enhance collaboration with merge requests
  • Each project can also have an issue tracker and a wiki
  • Used by more than 100,000 organizations, GitLab is the most popular solution to manage Git repositories on-premises
  • Completely free and open source (MIT Expat license)
  • Powered by Ruby on Rails

Hiring

We're hiring developers, support people, and production engineers all the time, please see our jobs page.

Editions

There are two editions of GitLab:

  • GitLab Community Edition (CE) is available freely under the MIT Expat license.
  • GitLab Enterprise Edition (EE) includes extra features that are more useful for organizations with more than 100 users. To use EE and get official support please become a subscriber.

Website

On about.gitlab.com you can find more information about:

Requirements

Please see the requirements documentation for system requirements and more information about the supported operating systems.

Installation

The recommended way to install GitLab is with the Omnibus packages on our package server. Compared to an installation from source, this is faster and less error prone. Just select your operating system, download the respective package (Debian or RPM) and install it using the system's package manager.

There are various other options to install GitLab, please refer to the installation page on the GitLab website for more information.

You can access a new installation with the login root and password 5iveL!fe, after login you are required to set a unique password.

Install a development environment

To work on GitLab itself, we recommend setting up your development environment with the GitLab Development Kit. If you do not use the GitLab Development Kit you need to install and setup all the dependencies yourself, this is a lot of work and error prone. One small thing you also have to do when installing it yourself is to copy the example development unicorn configuration file:

cp config/unicorn.rb.example.development config/unicorn.rb

Instructions on how to start GitLab and how to run the tests can be found in the development section of the GitLab Development Kit.

Software stack

GitLab is a Ruby on Rails application that runs on the following software:

  • Ubuntu/Debian/CentOS/RHEL
  • Ruby (MRI) 2.3
  • Git 2.7.4+
  • Redis 2.8+
  • MySQL or PostgreSQL

For more information please see the architecture documentation.

Third-party applications

There are a lot of third-party applications integrating with GitLab. These include GUI Git clients, mobile applications and API wrappers for various languages.

GitLab release cycle

For more information about the release process see the release documentation.

Upgrading

For upgrading information please see our update page.

Documentation

All documentation can be found on doc.gitlab.com/ce/.

Getting help

Please see Getting help for GitLab on our website for the many options to get help.

Is it any good?

Yes

Is it awesome?

Thanks for asking this question Joshua. These people seem to like it.