Code Monkey home page Code Monkey logo

splunk-forwarder-images's Introduction

splunk-forwarder-images

Build and push container images for splunk universal forwarder.

Local Build/Test

The following make variables affect building/pushing:

  • IMAGE_REGISTRY (default quay.io)
  • IMAGE_REPOSITORY (default app-sre)
  • FORWARDER_NAME (default splunk-forwarder)
  • HEAVYFORWARDER_NAME (default splunk-heavyforwarder)

Images will be tagged and pushed as ${IMAGE_REGISTRY}/${IMAGE_REPOSITORY}/${[HEAVY]FORWARDER_NAME}:${VERSION}-${HASH}-${COMMIT}, where ${VERSION} and ${HASH} are gleaned from .splunk-version and .splunk-version-hash, respectively, and ${COMMIT} is the 7 char short current commit hash of this repository. Therefore, for local building and testing, you should create personal image repositories and point to them by overriding at least IMAGE_REPOSITORY.

Build images using make build-forwarder and make build-heavyforwarder.

Push images using make push-forwarder and push-heavyforwarder.

Run vulnerability checks using make vuln-check.

Versioning and Tagging

This repository builds container images around the splunk universal forwarder at the version and hash specified in the .splunk-version and .splunk-version-hash files, respectively. To build around a new version, simply commit a PR updating those files.

CICD

After a PR merges, an integration job is run by app-sre triggering build/push of both images to quay.io/app-sre/splunk-(heavy)forwarder.

To test the app-sre pipeline:

  • Create personal repositories and override variables as described above.
  • Obtain credentials from your personal repository and set the QUAY_USER and QUAY_TOKEN variables.
  • Run make build-push.

splunk-forwarder-images's People

Contributors

openshift-merge-robot avatar 2uasimojo avatar gsleeman avatar karthikperu7 avatar tonytheleg avatar feichashao avatar sam-nguyen7 avatar dobbymoodge avatar openshift-ci[bot] avatar openshift-merge-bot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.