Skip to content

Commit e040b48

Browse files
Merge branch 'rzp_main' into cartesian_drilldown
2 parents c694b6b + 88aa7c3 commit e040b48

File tree

76 files changed

+1573
-416
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+1573
-416
lines changed

.github/workflows/build-and-test.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
pull_request:
44
push:
55
branches:
6-
- main
6+
- rzp_main
77
jobs:
88
npm-install-if-needed:
99
runs-on: ubuntu-20.04
@@ -121,7 +121,7 @@ jobs:
121121
- name: Upload coverage to Codecov
122122
uses: codecov/codecov-action@v1
123123
with:
124-
fail_ci_if_error: true
124+
fail_ci_if_error: false
125125

126126
- name: Upload Unit Test Results
127127
if: always()
@@ -156,7 +156,6 @@ jobs:
156156
github_token: ${{ secrets.GITHUB_TOKEN }}
157157
files: artifacts/**/*.xml
158158
merge-publish:
159-
if: github.event_name == 'push'
160159
runs-on: ubuntu-20.04
161160
needs: [npm-install-if-needed, build, lint, test, validate-helm-charts]
162161
steps:
@@ -186,11 +185,16 @@ jobs:
186185
- name: Login to Docker Hub
187186
uses: docker/login-action@v1
188187
with:
189-
username: ${{ secrets.DOCKERHUB_READ_USER }}
190-
password: ${{ secrets.DOCKERHUB_READ_TOKEN }}
188+
username: ${{ secrets.PUBLIC_DOCKER_USERNAME }}
189+
password: ${{ secrets.PUBLIC_DOCKER_PASSWORD }}
190+
191+
- name: Push To Dockerhub
192+
uses: docker/build-push-action@v1
193+
with:
194+
username: ${{ secrets.PUBLIC_DOCKER_USERNAME }}
195+
password: ${{ secrets.PUBLIC_DOCKER_PASSWORD }}
196+
repository: ${{ github.repository }}
197+
tags: ${{ github.sha }}
198+
dockerfile: Dockerfile
199+
build_args: GIT_COMMIT_HASH=${{ github.sha }},GIT_TOKEN=${{ secrets.GIT_ACTION_TOKEN }},GIT_USERNAME=rzp
191200

192-
- name: Push docker image
193-
run: ./gradlew dockerPushImages
194-
env:
195-
DOCKER_USERNAME: ${{ secrets.DOCKERHUB_PUBLISH_USER }}
196-
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_PUBLISH_TOKEN }}

conf/default.conf

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
server {
2-
listen 2020;
3-
server_name _;
4-
5-
location / {
6-
root /usr/share/nginx/html;
7-
index index.html index.htm;
8-
try_files $uri $uri/ /index.html;
9-
}
10-
location = /graphql {
11-
proxy_pass http://hypertrace-graphql-service:23431/graphql;
12-
}
13-
14-
# redirect server error pages to the static page /50x.html
15-
#
16-
error_page 500 502 503 504 /50x.html;
17-
location = /50x.html {
18-
root /usr/share/nginx/html;
19-
}
20-
}
2+
listen 2020;
3+
server_name _;
4+
location = /graphql {
5+
proxy_pass http://graphql-service:23431/graphql;
6+
}
7+
location / {
8+
root /usr/share/nginx/html;
9+
index index.html index.htm;
10+
try_files $uri $uri/ /index.html;
11+
}
12+
# redirect server error pages to the static page /50x.html
13+
#
14+
error_page 500 502 503 504 /50x.html;
15+
location = /50x.html {
16+
root /usr/share/nginx/html;
17+
}
18+
}

0 commit comments

Comments
 (0)