1. 03 Jan, 2019 5 commits
    • Thong Kuah's avatar
      DRY up some functions in Auto-DevOps script · df6354b8
      Thong Kuah authored
      - DRY up setting deploy name
      - DRY up application_secret_name
    • Thong Kuah's avatar
    • Thong Kuah's avatar
      Simplify bash function · 23b6a2ae
      Thong Kuah authored
      Use --from-env-file with bash process substitution
      We still need bash as process substition (`<()`) is not available in sh
    • Thong Kuah's avatar
      Solve multi word CI variables not quoted properly · dddbc353
      Thong Kuah authored
      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
    • Thong Kuah's avatar
      Create K8S_SECRET_* CI variables as a K8s Secret · 4b92b550
      Thong Kuah authored
      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
  2. 01 Jan, 2019 1 commit
  3. 31 Dec, 2018 9 commits
  4. 29 Dec, 2018 2 commits
  5. 28 Dec, 2018 1 commit
  6. 27 Dec, 2018 3 commits
  7. 24 Dec, 2018 1 commit
  8. 22 Dec, 2018 1 commit
  9. 21 Dec, 2018 4 commits
    • Stan Hu's avatar
      Bump Gitaly version to v1.12.0 · f5847911
      Stan Hu authored
    • Oswaldo Ferreira's avatar
      Cache diff highlight in discussions · 7cf49477
      Oswaldo Ferreira authored
      This commit handles note diffs caching, which considerably improves
      the performance on merge requests with lots of comments.
      Important to note that the caching approach taken here is different
      from `Gitlab::Diff::HighlightCache`. We do not reset the whole cache
      when a new push is sent or anything else. That's because discussions
      diffs are persisted and do not change.
    • Michael Kozono's avatar
      Avoid extra storage bucket perm and query · d2d85c31
      Michael Kozono authored
      Specifically, the `ListAllMyBuckets` permission.
      This works if you know the directory exists.
      See more:
      * !23981
      * https://stackoverflow.com/a/12288581/1992201
    • Reuben Pereira's avatar
      Correct ordering of metrics · 2cd7b783
      Reuben Pereira authored
      Correct the ordering of metrics on performance dashboard. Before common
      metrics were moved into the DB, metric groups were ordered by the
      priority defined in the common_metrics.yml file.
      This commit adds a priority to each metric group in the PrometheusMetric
      It also combines title, priority and required_metrics into one frozen
      GROUP_DETAILS hash so that the code is clearer.
      This can be done since there is a fixed set of groups which are not
  10. 20 Dec, 2018 2 commits
  11. 19 Dec, 2018 11 commits