This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: StatefulSet | |
metadata: | |
name: es-cluster | |
namespace: kube-logging | |
spec: | |
serviceName: elasticsearch | |
replicas: 3 | |
selector: | |
matchLabels: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
php: | |
build: | |
context: . | |
args: | |
- NEW_RELIC_AGENT_VERSION: "9.12.0.268" | |
- NEW_RELIC_LICENSE_KEY: ${NEW_RELIC_LICENSE_KEY} | |
- NEW_RELIC_APPNAME: "My application - Production" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7.4.5-fpm | |
ARG NEW_RELIC_AGENT_VERSION | |
ARG NEW_RELIC_LICENSE_KEY | |
ARG NEW_RELIC_APPNAME | |
ARG NEW_RELIC_DAEMON_ADDRESS | |
# Download and install NewRelic PHP extension. This generates newrelic.ini file at /usr/local/etc/php/conf.d/newrelic.ini | |
RUN curl -L "https://download.newrelic.com/php_agent/archive/${NEW_RELIC_AGENT_VERSION}/newrelic-php5-${NEW_RELIC_AGENT_VERSION}-linux.tar.gz" | tar -C /tmp -zx \ | |
&& export NR_INSTALL_USE_CP_NOT_LN=1 \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
agent any | |
triggers { | |
cron('5 0 * * *') | |
} | |
stages { | |
stage('Process Price Feed') { | |
steps { | |
timeout(time: 10, unit: 'MINUTES') { | |
retry(3) { |