1. 19 1月, 2016 2 次提交
  2. 18 1月, 2016 16 次提交
  3. 17 1月, 2016 3 次提交
  4. 16 1月, 2016 12 次提交
  5. 15 1月, 2016 7 次提交
    • D
      Merge branch 'ci/build_dependencies' into 'master' · c19795df
      Douwe Maan 提交于
      Let the CI runner know about builds that this build depends on
      
      This allows us to implement artifacts passing: runner will download artifacts from all prior builds. It will happen automatically, and always, as long as artifacts are enabled.
      
      ## The changes:
      
      This MR exposes list of prior builds in CI::API::Builds.
      
      **The API response when asking for builds**
      
      ```json
      {
        "id": 48584,
        "ref": "0.1.1",
        "tag": true,
        "sha": "d63117656af6ff57d99e50cc270f854691f335ad",
        "status": "success",
        "name": "pages",
        "token": "9dd60b4f1a439d1765357446c1084c",
        "stage": "test",
        "project_id": 479,
        "project_name": "test",
        "commands": "echo commands",
        "repo_url": "http://gitlab-ci-token:token@gitlab.example/group/test.git",
        "before_sha": "0000000000000000000000000000000000000000",
        "allow_git_fetch": false,
        "options": {
          "image": "docker:image",
          "artifacts": {
            "paths": [
              "public"
            ]
          },
          "cache": {
            "paths": [
              "vendor"
            ]
          }
        },
        "timeout": 3600,
        "variables": [
          {
            "key": "CI_BUILD_TAG",
            "value": "0.1.1",
            "public": true
          }
        ],
        "dependencies": {
          "builds": [
            {
              "id": 48584,
              "ref": "0.1.1",
              "tag": true,
              "sha": "d63117656af6ff57d99e50cc270f854691f335ad",
              "status": "success",
              "name": "build",
              "token": "9dd60b4f1a439d1765357446c1084c",
              "stage": "build",
              "project_id": 479,
              "project_name": "test",
              "artifacts_file": {
                "filename": "artifacts.zip",
                "size": 0
              }
            }
          ]
        }
      }
      ```
      
      ## How it will work?
      
      **Example:**
      ```
      build:
        type: build
        script:
        - echo TEST > test_file
        artifacts:
          untracked: true
      
      rspec:
        type: test
        script:
        - test-my-project
      
      staging:
        type: deploy
        script:
        - scp test_file root@server.com:
      ```
      
      **The flow:**
      1. We run `build`. The `build` creates a file `test_file`. This file gets archived and send us build artifacts.
      2. We run `rspec`. The `rspec` downloads build artifacts from `build`. Uses the `test_file`.
      3. We run `staging`. The `staging` downloads build artifacts from `build` and `rspec`, but since the `rspec` doesn't have build artifacts we skip that build. Deploys the `test_file`.
      
      This partially implements the https://gitlab.com/gitlab-org/gitlab-ce/issues/3423.
      
      In the next release we will introduce option to configure what artifacts are received.
      
      /cc @grzesiek @DouweM @sytse @rspeicher
      
      
      See merge request !2437
      c19795df
    • D
      Merge branch 'feature/allow-artifacts-for-reporters' into 'master' · 57d8faf6
      Douwe Maan 提交于
      Allow access to artifacts for users with reporter role
      
      This is originally introduced by @ajohnsn in this merge request: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2259
      
      I've added and refactored specs, original commit by @ajohnsn has been cherry picked here.
      
      See merge request !2448
      57d8faf6
    • J
      Merge branch 'no-mail-during-dev-bootstrap' into 'master' · 5cb321c8
      Jacob Vosmaer 提交于
      Don't send (fake) email during dev bootstrap
      
      This allows you to do:
      
          rake dev:setup BOOTSTRAP=1
      
      and prevent dozens of letter_opener email popups in your browser.
      
      In the latest GDK we automatically set BOOTSTRAP=1 during `make`.
      
      [ci skip]
      
      See merge request !2447
      5cb321c8
    • R
      Replace strong by span for .item-title elements · ef3d5a27
      Rémy Coutable 提交于
      ef3d5a27
    • K
      Change dependencies.builds to depends_on_builds · 1ce76636
      Kamil Trzcinski 提交于
      1ce76636
    • J
      Merge branch 'simplify-procfile' into 'master' · aeb5ef20
      Jacob Vosmaer 提交于
      Simplify Procfile
      
      These changes are meant to make development easier.
      
      [ci skip]
      
      See merge request !2429
      aeb5ef20
    • D
      Merge branch 'fixKerberosSignUp' into 'master' · 20106834
      Drew Blessing 提交于
      Fix signup using kerberos
      
      kerberos only provides a username and an email, but no name. Therefore a signup fails because the name is empty. Best guess for the name is probably the username, therefore use it as name.
      
      I also created an issue for this: #5945
      
      See merge request !2336
      20106834