Creating Tag does not trigger build
Summary
Gitlab CI is not queuing builds for tags. I have included .gitlab-ci.yml, which was working properly on 8.2.x, but is not on 8.3.0
Steps to reproduce
Create a project with the specified .gitlab-ci.yml file. Create a branch called production make at least one commit on that branch.. Create a tag from the tip commit of production.
Expected behavior
I expect a build to queue for the tag. On 8.2.x, it would queue up a Test build for the tag, and then if the test passes it would queue up a Deploy Production build. Now creating a tag does not queue up any builds at all. This is possibly because of the "except production" markup, though on previous versions of Gitlab creating a tag would still trigger a build, even if the tag was on a commit in the production branch.
Relevant logs and/or screenshots
#.gitlab-ci.yml
Test:
script:
- fab test
except:
- production
Deploy Staging:
script:
- fab deploy_staging
type: deploy
only:
- master
Deploy Production:
script:
- fab deploy_production_web
- fab deploy_production_worker
type: deploy
only:
- tags
Out of checks
Results of GitLab Application Check
Checking GitLab Shell ...
GitLab Shell version >= 2.6.9 ? ... OK (2.6.9)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
hooks directories in repos are links: ...
6/2 ... ok
6/3 ... ok
6/4 ... ok
6/5 ... ok
6/6 ... ok
6/7 ... ok
6/8 ... ok
6/9 ... ok
6/10 ... ok
6/11 ... ok
6/12 ... ok
6/13 ... ok
6/14 ... ok
6/15 ... ok
6/16 ... ok
6/17 ... ok
6/18 ... ok
6/19 ... ok
6/20 ... ok
6/21 ... ok
6/22 ... ok
6/23 ... ok
6/24 ... ok
6/25 ... ok
6/26 ... ok
6/27 ... ok
6/28 ... ok
6/29 ... ok
6/30 ... ok
6/31 ... ok
6/32 ... ok
6/33 ... ok
6/34 ... ok
6/35 ... ok
6/36 ... ok
6/37 ... ok
6/38 ... ok
6/39 ... ok
6/40 ... ok
6/42 ... ok
6/43 ... ok
6/44 ... ok
6/45 ... ok
6/46 ... ok
6/47 ... ok
6/48 ... ok
6/49 ... ok
6/50 ... ok
6/51 ... ok
6/52 ... ok
6/53 ... ok
6/54 ... ok
6/55 ... ok
6/57 ... ok
6/58 ... ok
6/59 ... ok
6/60 ... ok
6/62 ... ok
6/63 ... ok
6/64 ... ok
6/67 ... ok
6/69 ... ok
6/70 ... ok
6/71 ... ok
6/73 ... ok
6/74 ... repository is empty
6/75 ... ok
6/78 ... ok
6/79 ... ok
11/80 ... ok
6/83 ... ok
11/84 ... ok
10/87 ... ok
10/88 ... ok
6/93 ... ok
10/94 ... ok
6/95 ... ok
10/97 ... ok
6/99 ... ok
6/100 ... ok
6/101 ... ok
6/102 ... ok
10/103 ... ok
10/104 ... ok
6/107 ... ok
6/108 ... repository is empty
6/109 ... ok
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Check directories and files:
/var/opt/gitlab/git-data/repositories: OK
/var/opt/gitlab/.ssh/authorized_keys: OK
Test redis-cli executable: redis-cli 2.8.21
Send ping to redis server: PONG
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Reply by email ...
Reply by email is disabled in config/gitlab.yml
Checking Reply by email ... Finished
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured with autocrlf=input? ... yes
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory setup correctly? ... yes
Init script exists? ... skipped (omnibus-gitlab has no init script)
Init script up-to-date? ... skipped (omnibus-gitlab has no init script)
projects have namespace: ...
6/2 ... yes
6/3 ... yes
6/4 ... yes
6/5 ... yes
6/6 ... yes
6/7 ... yes
6/8 ... yes
6/9 ... yes
6/10 ... yes
6/11 ... yes
6/12 ... yes
6/13 ... yes
6/14 ... yes
6/15 ... yes
6/16 ... yes
6/17 ... yes
6/18 ... yes
6/19 ... yes
6/20 ... yes
6/21 ... yes
6/22 ... yes
6/23 ... yes
6/24 ... yes
6/25 ... yes
6/26 ... yes
6/27 ... yes
6/28 ... yes
6/29 ... yes
6/30 ... yes
6/31 ... yes
6/32 ... yes
6/33 ... yes
6/34 ... yes
6/35 ... yes
6/36 ... yes
6/37 ... yes
6/38 ... yes
6/39 ... yes
6/40 ... yes
6/42 ... yes
6/43 ... yes
6/44 ... yes
6/45 ... yes
6/46 ... yes
6/47 ... yes
6/48 ... yes
6/49 ... yes
6/50 ... yes
6/51 ... yes
6/52 ... yes
6/53 ... yes
6/54 ... yes
6/55 ... yes
6/57 ... yes
6/58 ... yes
6/59 ... yes
6/60 ... yes
6/62 ... yes
6/63 ... yes
6/64 ... yes
6/67 ... yes
6/69 ... yes
6/70 ... yes
6/71 ... yes
6/73 ... yes
6/74 ... yes
6/75 ... yes
6/78 ... yes
6/79 ... yes
11/80 ... yes
6/83 ... yes
11/84 ... yes
10/87 ... yes
10/88 ... yes
6/93 ... yes
10/94 ... yes
6/95 ... yes
10/97 ... yes
6/99 ... yes
6/100 ... yes
6/101 ... yes
6/102 ... yes
10/103 ... yes
10/104 ... yes
6/107 ... yes
6/108 ... yes
6/109 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.1.7)
Your git bin path is "/opt/gitlab/embedded/bin/git"
Git version >= 1.7.10 ? ... yes (2.6.1)
Active users: 21
Checking GitLab ... Finished
Results of GitLab Environment Info
System information
System: Ubuntu 14.04
Current User: git
Using RVM: no
Ruby Version: 2.1.7p400
Gem Version: 2.2.5
Bundler Version:1.10.6
Rake Version: 10.4.2
Sidekiq Version:4.0.1
GitLab information
Version: 8.3.0-ee
Revision: a810cc5
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: http://git.pigeon.ly
HTTP Clone URL: http://git.pigeon.ly/some-group/some-project.git
SSH Clone URL: git@git.pigeon.ly:some-group/some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 2.6.9
Repositories: /var/opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git: /opt/gitlab/embedded/bin/git