Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate train-ticket with enable/disable tracepoint's open telemetry #1

Open
wants to merge 48 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
6c21d4c
add vaif support
Shihao-Zhong Jun 11, 2022
edd0b04
add enable.json
Shihao-Zhong Jun 14, 2022
8dd810e
add shihao's k8s
Shihao-Zhong Jun 16, 2022
b78e68a
add vaif
Shihao-Zhong Jun 16, 2022
afc2b48
add vaif
Shihao-Zhong Jun 16, 2022
090c6e6
add vaif
Shihao-Zhong Jun 16, 2022
73fe812
add vaif
Shihao-Zhong Jun 16, 2022
37d9578
add vaif
Shihao-Zhong Jun 16, 2022
55cbf6c
add vaif
Shihao-Zhong Jun 16, 2022
7f7f914
add vaif
Shihao-Zhong Jun 16, 2022
03df3f0
use new jar
Shihao-Zhong Jun 28, 2022
8a273b9
Update Dockerfile
Shihao-Zhong Jun 28, 2022
f60dbba
Update Dockerfile
Shihao-Zhong Jun 28, 2022
4c1dcae
Update ts-deployment-part2.yml
Shihao-Zhong Jun 28, 2022
359627d
update sdk
Shihao-Zhong Jun 30, 2022
18b6f7c
Merge branch 'vaif-new-sdk' of https://github.com/Shihao-Zhong/train-…
Shihao-Zhong Jun 30, 2022
1a5e92a
update docker
Shihao-Zhong Jun 30, 2022
c2e9309
add docker
Shihao-Zhong Jun 30, 2022
40c047c
add docker
Shihao-Zhong Jun 30, 2022
0277198
add docker
Shihao-Zhong Jun 30, 2022
f4dbc1a
add docker
Shihao-Zhong Jun 30, 2022
a8941ba
update sdk
Shihao-Zhong Jul 1, 2022
45bf6fe
update sdk
Shihao-Zhong Jul 3, 2022
dd72852
new sdk
Shihao-Zhong Jul 3, 2022
539cfb6
update sdk
Shihao-Zhong Jul 3, 2022
bdf29f2
update sdk
Shihao-Zhong Jul 3, 2022
a0757db
update sdk
Shihao-Zhong Jul 3, 2022
f485b57
update workflow
Shihao-Zhong Aug 10, 2022
6aa8a4f
update workflow
Shihao-Zhong Aug 10, 2022
a9a7840
Merge branch 'master' of https://github.com/Shihao-Zhong/train-ticket
Shihao-Zhong Aug 10, 2022
65f29a7
update workflow
Shihao-Zhong Aug 10, 2022
ada084d
update workflow
Shihao-Zhong Aug 10, 2022
e9ebce6
update config
Shihao-Zhong Aug 10, 2022
11f70ad
update workflow
Shihao-Zhong Aug 10, 2022
8374632
update workflow
Shihao-Zhong Aug 10, 2022
9710394
update workflow
Shihao-Zhong Aug 10, 2022
f478d8c
update workflow
Shihao-Zhong Aug 10, 2022
4bd1a53
update workflow
Shihao-Zhong Aug 10, 2022
2ba75bf
update workflow
Shihao-Zhong Aug 10, 2022
54e443f
update workflow
Shihao-Zhong Aug 10, 2022
9c6252f
update config
Shihao-Zhong Aug 10, 2022
f7a6318
update config
Shihao-Zhong Aug 10, 2022
21563c1
update config
Shihao-Zhong Aug 10, 2022
4d6f00e
update config
Shihao-Zhong Aug 10, 2022
30b90c6
update
Shihao-Zhong Aug 10, 2022
851671b
update config
Shihao-Zhong Aug 10, 2022
379d0eb
update config
Shihao-Zhong Aug 10, 2022
5c55efc
update config
Shihao-Zhong Aug 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/deploy-docker-images.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Deploy Docker Images

on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
pull_request_review:
types: [submitted]
pull_request:
types: [opened, reopened, edited, synchronize]

jobs:
build-and-deploy:
Expand Down Expand Up @@ -38,4 +39,6 @@ jobs:
restore-keys: |
${{ runner.os }}-buildx-

- run: make package publish-image Repo=${{ secrets.DOCKER_HUB_USERNAME }} Tag=${GITHUB_REF#refs/tags/v}
- run: make package

- run: make publish-image Repo=${{ secrets.DOCKER_HUB_USERNAME }} Tag=${GITHUB_HEAD_REF}
43 changes: 43 additions & 0 deletions .github/workflows/merge-image.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Deploy Docker Images

on:
push:
branches:
- master

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '8'
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-

- uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- uses: docker/setup-buildx-action@v1
with:
install: true
- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-

- run: make package

- run: make publish-image Repo=${{ secrets.DOCKER_HUB_USERNAME }} Tag=latest
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
> TrainTicket with Jaeger

We provide a Tracing System based on [Jaeger](https://www.jaegertracing.io).

After the deployment, you can visit the Jaeger Webpage at [http://[Node-IP]:32688](http://[Node-IP]:32688) to view traces in the system.

![Jaeger](<https://raw.githubusercontent.com/FudanSELab/train-ticket/master/image/jaeger.png>)

If you'd like to see the source code which uses Jaeger, it's in the [jaeger branch](https://github.com/FudanSELab/train-ticket/tree/jaeger).
Loading