Skip to content
Snippets Groups Projects
Commit 36b8d450 authored by DJ Mountney's avatar DJ Mountney :red_circle:
Browse files

Merge branch 'gme-as-asset' into 'master'

gitlab-metrics-exporter: convert to asset image

Closes gitlab-org/charts/gitlab#3449

See merge request CNG!1228



Merged-by: DJ Mountney's avatarDJ Mountney <dj@gitlab.com>
Approved-by: default avatarMitchell Nielsen <mnielsen@gitlab.com>
Co-authored-by: default avatarJason Plum <jplum@gitlab.com>
parents f028b2b8 029221c5
No related branches found
No related tags found
No related merge requests found
Pipeline #723025354 passed
......@@ -311,7 +311,7 @@ single stage may build concurrently because they are independent of each other.
* cfssl-self-sign (final)
* gitlab-gomplate (intermediate)
* gitlab-graphicsmagick (intermediate)
* gitlab-logger (intermediate, final)
* gitlab-logger (intermediate)
* gitlab-python(intermediate)
* kubectl (intermediate, final)
* postgresql (intermediate)
......@@ -330,7 +330,7 @@ single stage may build concurrently because they are independent of each other.
* gitlab-exporter (final)
* gitlab-kas (final)
* gitlab-mailroom (final)
* gitlab-metrics-exporter (intermediate, final)
* gitlab-metrics-exporter (intermediate)
* gitlab-pages (final)
* gitlab-shell (final)
......@@ -536,7 +536,8 @@ graph LR;
gitlab-shell-.->gitlab-gomplate;
gitlab-elasticsearch-indexer==>gitlab-go;
gitlab-metrics-exporter==>gitlab-go;
gitlab-metrics-exporter-->gitlab-go;
gitlab-metrics-exporter==>scratch;
gitaly==>gitlab-ruby;
gitaly-.->gitlab-go;
......
......@@ -2,7 +2,7 @@ ARG CI_REGISTRY_IMAGE="registry.gitlab.com/gitlab-org/build/cng"
ARG TAG="master"
ARG FROM_IMAGE="$CI_REGISTRY_IMAGE/gitlab-go"
FROM ${FROM_IMAGE}:${TAG}
FROM ${FROM_IMAGE}:${TAG} as GME
ARG BUILD_DIR=/tmp/build
ARG VERSION
......@@ -27,3 +27,7 @@ RUN cd ${BUILD_DIR} && \
make install && \
cd / && \
rm -rf "${BUILD_DIR}"
FROM scratch as final
COPY --from=GME /usr/local/bin/gitlab-metrics-exporter /usr/local/bin/gitlab-metrics-exporter
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment