UNCLASSIFIED

Commit 683ff096 authored by Jeffrey Weatherford's avatar Jeffrey Weatherford
Browse files

Merge branch 'metricbeat-7.10.2' into 'development'

Update to Elastic Stack 7.10.2

See merge request !9
parents c4880c32 4a94379b
Pipeline #157848 passed with stages
in 14 minutes and 48 seconds
# Ignore any locally downloaded or dropped releases
*.tar.gz
dumb-init
\ No newline at end of file
tinit
jq
......@@ -8,7 +8,7 @@ ARG BASE_TAG=8.3
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} as prep_files
ARG ELASTIC_STACK=7.10.0
ARG ELASTIC_STACK=7.10.2
ARG ELASTIC_PRODUCT=metricbeat
ARG OS_AND_ARCH=linux-x86_64
......@@ -45,9 +45,8 @@ ARG ELASTIC_PRODUCT=metricbeat
COPY LICENSE /licenses/elastic-${ELASTIC_PRODUCT}
# Add a dumb init process
WORKDIR /usr/local/bin
COPY dumb-init /usr/local/bin/dumb-init
RUN chmod +x /usr/local/bin/dumb-init
COPY tinit /tinit
RUN chmod +x /tinit
# Bring in product from the initial stage.
COPY --from=prep_files --chown=1000:0 /usr/share/${ELASTIC_PRODUCT} /usr/share/${ELASTIC_PRODUCT}
......@@ -76,15 +75,7 @@ RUN groupadd --gid 1000 ${ELASTIC_PRODUCT} && useradd --uid 1000 --gid 1000 --gr
USER ${ELASTIC_PRODUCT}
ENV ELASTIC_PRODUCT=${ELASTIC_PRODUCT}
LABEL org.label-schema.schema-version="1.0" \
org.label-schema.vendor="Elastic" \
org.label-schema.name="${ELASTIC_PRODUCT}" \
org.label-schema.version="${ELASTIC_STACK}" \
org.label-schema.url="https://www.elastic.co/products/beats/${ELASTIC_PRODUCT}" \
org.label-schema.vcs-url="https://github.com/elastic/${ELASTIC_PRODUCT}" \
org.label-schema.license="Elastic License" license="Elastic License"
ENTRYPOINT ["/usr/local/bin/dumb-init", "--", "/usr/share/metricbeat/metricbeat", "-E", "http.enabled=true", "-E", "http.host=unix:///usr/share/metricbeat/data/metricbeat.sock"]
ENTRYPOINT ["/tinit", "--", "/usr/share/metricbeat/metricbeat", "-E", "http.enabled=true", "-E", "http.host=unix:///usr/share/metricbeat/data/metricbeat.sock"]
CMD ["-environment", "container"]
# see https://www.elastic.co/guide/en/beats/metricbeat/current/http-endpoint.html
......
@Library('DCCSCR@master') _
dccscrPipeline(version: '7.10.0')
{
"resources": [
{
"url": "https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-7.10.0-linux-x86_64.tar.gz",
"filename": "metricbeat-7.10.0-linux-x86_64.tar.gz",
"validation": {
"type": "sha512",
"value": "d29f809ce1fe81aff4a20f8626c2ee4aeec0842ba5346d83b62db7d1bbe22bc7a123bc513c8fbd5f1de2ecf5c064790e72e3da89d9a2691f43b56c84e4bb743d"
}
},
{
"url": "https://github.com/Yelp/dumb-init/releases/download/v1.2.2/dumb-init_1.2.2_amd64",
"filename": "dumb-init",
"validation": {
"type": "sha256",
"value": "37f2c1f0372a45554f1b89924fbb134fc24c3756efaedf11e07f599494e0eff9"
}
}
]
}
---
apiVersion: v1
# The repository name in registry1, excluding /ironbank/
name: "elastic/beats/metricbeat"
# List of tags to push for the repository in registry1
# The most specific version should be the first tag and will be shown
# on ironbank.dsop.io
tags:
- "7.10.2"
- "latest"
# Build args passed to Dockerfile ARGs
args:
BASE_IMAGE: "redhat/ubi/ubi8"
BASE_TAG: "8.3"
BASE_REGISTRY: registry1.dsop.io
ELASTIC_STACK: "7.10.2"
ELASTIC_PRODUCT: "metricbeat"
# Docker image labels
labels:
org.opencontainers.image.title: "metricbeat"
## Human-readable description of the software packaged in the image
org.opencontainers.image.description: "metricbeat Lightweight shipper for metrics"
## License(s) under which contained software is distributed
org.opencontainers.image.licenses: "Elastic License"
## URL to find more information on the image
org.opencontainers.image.url: "https://www.elastic.co/products/beats/metricbeat"
## Name of the distributing entity, organization or individual
org.opencontainers.image.vendor: "Elastic"
org.opencontainers.image.version: "7.10.2"
## Keywords to help with search (ex. "cicd,gitops,golang")
mil.dso.ironbank.image.keywords: "metrics,observabilty,o11y,oblt,beats,elastic,elasticsearch,golang"
## This value can be "opensource" or "commercial"
mil.dso.ironbank.image.type: "commercial"
## Product the image belongs to for grouping multiple images
mil.dso.ironbank.product.name: "beats"
# List of resources to make available to the offline build context
resources:
- filename: metricbeat-7.10.2-linux-x86_64.tar.gz
url: https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-7.10.2-linux-x86_64.tar.gz
validation:
type: sha512
value: 946183c50146146f4f6686e0012333fc8f22d1d6a389cbc8b634521dc99b0441e72c6367b13e5a3291d457bf1f3e01c92cda2af23ea0ce1e69efe5bdc638417b
- filename: tinit
url: https://github.com/krallin/tini/releases/download/v0.19.0/tini-amd64
validation:
type: sha256
value: 93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c
# List of project maintainers
# FIXME: Fill in the following details for the current container owner in the whitelist
# FIXME: Include any other vendor information if applicable
maintainers:
- email: "nassim.kammah@elastic.co"
name: Nassim Kammah
- email: "ivan.fernandez@elastic.co"
name: Ivan Fernandez Calvo
# # The name of the current container owner
# name: "FIXME"
# # The gitlab username of the current container owner
# username: "FIXME"
# cht_member: true # FIXME: Uncomment if the maintainer is a member of CHT
# - name: "FIXME"
# username: "FIXME"
# email: "FIXME"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment