Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c19543b15 | ||
|
|
cb59c2d7d0 |
2
.env
2
.env
@@ -1,4 +1,4 @@
|
||||
PINPOINT_VERSION=2.3.0
|
||||
PINPOINT_VERSION=2.3.1
|
||||
SPRING_PROFILES=release
|
||||
#zookeeper information required
|
||||
PINPOINT_ZOOKEEPER_ADDRESS=zoo1
|
||||
|
||||
56
.github/workflows/docker-image.yml
vendored
Normal file
56
.github/workflows/docker-image.yml
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
name: Build And Push Docker Image
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
component:
|
||||
required: true
|
||||
type: string
|
||||
secrets:
|
||||
docker_username:
|
||||
required: true
|
||||
docker_token:
|
||||
required: true
|
||||
docker_password:
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
push_to_registry:
|
||||
name: Push Docker image to Docker Hub
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.docker_username }}
|
||||
password: ${{ secrets.docker_token }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
- name: Extract metadata (tags, labels) for Docker
|
||||
id: meta
|
||||
uses: docker/metadata-action@v3
|
||||
with:
|
||||
images: pinpointdocker/${{ inputs.component }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: ./${{ inputs.component }}
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
- name: Update repo description
|
||||
uses: peter-evans/dockerhub-description@v2
|
||||
with:
|
||||
username: ${{ secrets.docker_username }}
|
||||
password: ${{ secrets.docker_password }}
|
||||
repository: pinpointdocker/${{ inputs.component }}
|
||||
readme-filepath: ./${{ inputs.component }}/Readme.md
|
||||
|
||||
|
||||
69
.github/workflows/release-images.yml
vendored
Normal file
69
.github/workflows/release-images.yml
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
name: Release Images
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [ published ]
|
||||
|
||||
jobs:
|
||||
agent:
|
||||
uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
|
||||
with:
|
||||
component: pinpoint-agent
|
||||
secrets:
|
||||
docker_username: ${{ secrets.DOCKER_USERNAME }}
|
||||
docker_token: ${{ secrets.DOCKER_TOKEN }}
|
||||
docker_password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
collector:
|
||||
uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
|
||||
with:
|
||||
component: pinpoint-collector
|
||||
secrets:
|
||||
docker_username: ${{ secrets.DOCKER_USERNAME }}
|
||||
docker_token: ${{ secrets.DOCKER_TOKEN }}
|
||||
docker_password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
flink:
|
||||
uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
|
||||
with:
|
||||
component: pinpoint-flink
|
||||
secrets:
|
||||
docker_username: ${{ secrets.DOCKER_USERNAME }}
|
||||
docker_token: ${{ secrets.DOCKER_TOKEN }}
|
||||
docker_password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
hbase:
|
||||
uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
|
||||
with:
|
||||
component: pinpoint-hbase
|
||||
secrets:
|
||||
docker_username: ${{ secrets.DOCKER_USERNAME }}
|
||||
docker_token: ${{ secrets.DOCKER_TOKEN }}
|
||||
docker_password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
mysql:
|
||||
uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
|
||||
with:
|
||||
component: pinpoint-mysql
|
||||
secrets:
|
||||
docker_username: ${{ secrets.DOCKER_USERNAME }}
|
||||
docker_token: ${{ secrets.DOCKER_TOKEN }}
|
||||
docker_password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
quickstart:
|
||||
uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
|
||||
with:
|
||||
component: pinpoint-quickstart
|
||||
secrets:
|
||||
docker_username: ${{ secrets.DOCKER_USERNAME }}
|
||||
docker_token: ${{ secrets.DOCKER_TOKEN }}
|
||||
docker_password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
web:
|
||||
uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
|
||||
with:
|
||||
component: pinpoint-web
|
||||
secrets:
|
||||
docker_username: ${{ secrets.DOCKER_USERNAME }}
|
||||
docker_token: ${{ secrets.DOCKER_TOKEN }}
|
||||
docker_password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
@@ -13,6 +13,7 @@ It supports and helps you understand your application in a glance and allow you
|
||||
|
||||
## Supported Tags
|
||||
|
||||
- 2.3.1
|
||||
- 2.3.0
|
||||
- 2.2.2
|
||||
- 2.2.1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
### Pinpoint with Java
|
||||
PINPOINT_VERSION=2.3.0
|
||||
PINPOINT_VERSION=2.3.1
|
||||
SPRING_PROFILES=release
|
||||
AGENT_ID=app-in-docker
|
||||
APP_NAME=quickapp
|
||||
@@ -1,5 +1,5 @@
|
||||
### Pinpoint with Tomcat
|
||||
PINPOINT_VERSION=2.3.0
|
||||
PINPOINT_VERSION=2.3.1
|
||||
SPRING_PROFILES=release
|
||||
APP_PORT=8000
|
||||
AGENT_ID=app-in-docker
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
PINPOINT_VERSION=2.3.0
|
||||
PINPOINT_VERSION=2.3.1
|
||||
SPRING_PROFILES=release
|
||||
|
||||
### Pinpoint-Agent
|
||||
|
||||
@@ -2,7 +2,7 @@ FROM alpine:3.7
|
||||
|
||||
LABEL maintainer="Roy Kim <roy.kim@navercorp.com>"
|
||||
|
||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.3.0}
|
||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.3.1}
|
||||
ARG INSTALL_URL=https://github.com/naver/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-agent-${PINPOINT_VERSION}.tar.gz
|
||||
|
||||
COPY /build/scripts/configure-agent.sh /usr/local/bin/
|
||||
|
||||
@@ -5,6 +5,7 @@ This Docker image contains the Pinpoint Agent component of the Pinpoint applicat
|
||||
|
||||
## Supported Tags
|
||||
|
||||
- 2.3.1
|
||||
- 2.3.0
|
||||
- 2.2.2
|
||||
- 2.2.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
PINPOINT_VERSION=2.3.0
|
||||
PINPOINT_VERSION=2.3.1
|
||||
SPRING_PROFILES=release
|
||||
|
||||
### Pinpoint-Collector
|
||||
|
||||
@@ -2,7 +2,7 @@ FROM openjdk:8-jdk-alpine
|
||||
|
||||
LABEL maintainer="Roy Kim <roy.kim@navercorp.com>"
|
||||
|
||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.3.0}
|
||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.3.1}
|
||||
ARG INSTALL_URL=https://github.com/naver/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-collector-boot-${PINPOINT_VERSION}.jar
|
||||
|
||||
RUN mkdir -p /pinpoint/config \
|
||||
@@ -11,7 +11,7 @@ RUN mkdir -p /pinpoint/config \
|
||||
COPY /build/config/pinpoint-collector.properties /pinpoint/config/
|
||||
COPY /build/scripts/start-collector.sh /pinpoint/scripts/
|
||||
#temporary line for local test
|
||||
#COPY /pinpoint-collector-boot-2.3.0-SNAPSHOT.jar /pinpoint/pinpoint-collector-boot.jar
|
||||
#COPY /pinpoint-collector-boot-2.3.1-SNAPSHOT.jar /pinpoint/pinpoint-collector-boot.jar
|
||||
|
||||
RUN apk --no-cache add curl \
|
||||
&& chmod a+x /pinpoint/scripts/start-collector.sh \
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
This Docker image contains the Pinpoint Collector component of the Pinpoint application monitoring system.
|
||||
|
||||
## Supported Tags
|
||||
|
||||
- 2.3.1
|
||||
- 2.3.0
|
||||
- 2.2.2
|
||||
- 2.2.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
PINPOINT_VERSION=2.3.0
|
||||
PINPOINT_VERSION=2.3.1
|
||||
|
||||
### Pinpoint-flink
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM flink:1.7
|
||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.3.0}
|
||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.3.1}
|
||||
ARG INSTALL_URL=https://github.com/pinpoint-apm/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-flink-job-${PINPOINT_VERSION}.jar
|
||||
|
||||
RUN apt-get update \
|
||||
|
||||
54
pinpoint-flink/Readme.md
Normal file
54
pinpoint-flink/Readme.md
Normal file
@@ -0,0 +1,54 @@
|
||||
|
||||
## Pinpoint Hbase
|
||||
|
||||
This Docker image contains the Pinpoint Hbase component of the Pinpoint application monitoring system.
|
||||
|
||||
## Supported Tags
|
||||
|
||||
- 2.3.1
|
||||
- 2.3.0
|
||||
- 2.2.2
|
||||
- 2.2.1
|
||||
- 2.2.0
|
||||
- 2.1.2
|
||||
- 2.1.0
|
||||
- 2.0.4
|
||||
- 2.0.3
|
||||
- 2.0.2
|
||||
- 2.0.1
|
||||
- 1.8.5
|
||||
- 1.8.4
|
||||
- 1.8.3
|
||||
- 1.8.2
|
||||
- 1.8.1
|
||||
- 1.8.0
|
||||
- 1.7.3
|
||||
- 1.7.2
|
||||
|
||||
Please see the [Pinpoint-Docker GitHub repository](https://github.com/naver/pinpoint-docker) for further information on how to run, configure and build this image.
|
||||
|
||||
## Any Issues or Suggestions?
|
||||
|
||||
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/naver/pinpoint/issues).
|
||||
Contributions on the pinpoint-docker image is also always welcome.
|
||||
|
||||
## License
|
||||
|
||||
Pinpoint is licensed under the Apache License, Version 2.0.
|
||||
See [LICENSE](https://github.com/naver/pinpoint/blob/master/LICENSE) for full license text.
|
||||
|
||||
```
|
||||
Copyright 2018 NAVER Corp.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
```
|
||||
@@ -1,4 +1,4 @@
|
||||
PINPOINT_VERSION=2.3.0
|
||||
PINPOINT_VERSION=2.3.1
|
||||
|
||||
### Pinpoint-Hbase
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ FROM java:8-jdk
|
||||
|
||||
LABEL maintainer="Roy Kim <roy.kim@navercorp.com>"
|
||||
|
||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.3.0}
|
||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.3.1}
|
||||
|
||||
ENV HBASE_REPOSITORY=http://apache.mirrors.pair.com/hbase
|
||||
ENV HBASE_SUB_REPOSITORY=http://archive.apache.org/dist/hbase
|
||||
|
||||
@@ -5,6 +5,7 @@ This Docker image contains the Pinpoint Hbase component of the Pinpoint applicat
|
||||
|
||||
## Supported Tags
|
||||
|
||||
- 2.3.1
|
||||
- 2.3.0
|
||||
- 2.2.2
|
||||
- 2.2.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
PINPOINT_VERSION=2.3.0
|
||||
PINPOINT_VERSION=2.3.1
|
||||
|
||||
### Pinpoint-mysql
|
||||
MYSQL_ROOT_PASSWORD=root123
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
FROM mysql:5.7
|
||||
|
||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.3.0}
|
||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.3.1}
|
||||
|
||||
RUN apt update \
|
||||
&& apt-get install -y --no-install-recommends ca-certificates wget \
|
||||
|
||||
@@ -5,6 +5,7 @@ This Docker image contains the Pinpoint Mysql component of the Pinpoint applicat
|
||||
|
||||
## Supported Tags
|
||||
|
||||
- 2.3.1
|
||||
- 2.3.0
|
||||
- 2.2.2
|
||||
- 2.2.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
PINPOINT_VERSION=2.3.0
|
||||
PINPOINT_VERSION=2.3.1
|
||||
SPRING_PROFILES=release
|
||||
|
||||
### Pinpoint-Agent
|
||||
|
||||
54
pinpoint-quickstart/Readme.md
Normal file
54
pinpoint-quickstart/Readme.md
Normal file
@@ -0,0 +1,54 @@
|
||||
|
||||
## Pinpoint Quickstart
|
||||
|
||||
This Docker image contains the Pinpoint Quickstart sample to test Pinpoint application monitoring system.
|
||||
|
||||
## Supported Tags
|
||||
|
||||
- 2.3.1
|
||||
- 2.3.0
|
||||
- 2.2.2
|
||||
- 2.2.1
|
||||
- 2.2.0
|
||||
- 2.1.2
|
||||
- 2.1.0
|
||||
- 2.0.4
|
||||
- 2.0.3
|
||||
- 2.0.2
|
||||
- 2.0.1
|
||||
- 1.8.5
|
||||
- 1.8.4
|
||||
- 1.8.3
|
||||
- 1.8.2
|
||||
- 1.8.1
|
||||
- 1.8.0
|
||||
- 1.7.3
|
||||
- 1.7.2
|
||||
|
||||
Please see the [Pinpoint-Docker GitHub repository](https://github.com/naver/pinpoint-docker) for further information on how to run, configure and build this image.
|
||||
|
||||
## Any Issues or Suggestions?
|
||||
|
||||
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/naver/pinpoint/issues).
|
||||
Contributions on the pinpoint-docker image is also always welcome.
|
||||
|
||||
## License
|
||||
|
||||
Pinpoint is licensed under the Apache License, Version 2.0.
|
||||
See [LICENSE](https://github.com/naver/pinpoint/blob/master/LICENSE) for full license text.
|
||||
|
||||
```
|
||||
Copyright 2018 NAVER Corp.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
```
|
||||
@@ -1,4 +1,4 @@
|
||||
PINPOINT_VERSION=2.3.0
|
||||
PINPOINT_VERSION=2.3.1
|
||||
SPRING_PROFILES=release
|
||||
|
||||
### Pinpoint-Web
|
||||
|
||||
@@ -2,7 +2,7 @@ FROM openjdk:8-jdk-alpine
|
||||
|
||||
LABEL maintainer="Roy Kim <roy.kim@navercorp.com>"
|
||||
|
||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.3.0}
|
||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.3.1}
|
||||
ARG INSTALL_URL=https://github.com/naver/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-web-boot-${PINPOINT_VERSION}.jar
|
||||
|
||||
RUN mkdir -p /pinpoint/config \
|
||||
@@ -11,7 +11,7 @@ RUN mkdir -p /pinpoint/config \
|
||||
COPY /build/config/pinpoint-web.properties /pinpoint/config/
|
||||
COPY /build/scripts/start-web.sh /pinpoint/scripts/
|
||||
#temporary line for local test
|
||||
#COPY /pinpoint-web-boot-2.3.0-SNAPSHOT.jar /pinpoint/pinpoint-web-boot.jar
|
||||
#COPY /pinpoint-web-boot-2.3.1-SNAPSHOT.jar /pinpoint/pinpoint-web-boot.jar
|
||||
|
||||
RUN apk --no-cache add curl \
|
||||
&& chmod a+x /pinpoint/scripts/start-web.sh \
|
||||
|
||||
@@ -5,6 +5,7 @@ This Docker image contains the Pinpoint Web component of the Pinpoint applicatio
|
||||
|
||||
## Supported Tags
|
||||
|
||||
- 2.3.1
|
||||
- 2.3.0
|
||||
- 2.2.2
|
||||
- 2.2.1
|
||||
|
||||
Reference in New Issue
Block a user