-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #283 from helxplatform/develop
Creating Release for UI Adding: Readiness probe on Kubernetes Cluster Non-root image for UI A few bugs related to UI experience Dug changes
- Loading branch information
Showing
66 changed files
with
1,481 additions
and
519 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,25 +44,25 @@ jobs: | |
run: echo ${{ steps.vars.outputs.short_sha }} | ||
|
||
# https://github.com/marketplace/actions/git-semantic-version | ||
- name: Semver Check | ||
uses: paulhatch/[email protected] | ||
id: version | ||
with: | ||
# The prefix to use to identify tags | ||
tag_prefix: "v" | ||
# A string which, if present in a git commit, indicates that a change represents a | ||
# major (breaking) change, supports regular expressions wrapped with '/' | ||
major_pattern: "/breaking:|major:/" | ||
# A string which indicates the flags used by the `major_pattern` regular expression. Supported flags: idgs | ||
major_regexp_flags: "ig" | ||
# Same as above except indicating a minor change, supports regular expressions wrapped with '/' | ||
minor_pattern: "/feat:|feature:|minor:/" | ||
# A string which indicates the flags used by the `minor_pattern` regular expression. Supported flags: idgs | ||
minor_regexp_flags: "ig" | ||
# A string to determine the format of the version output | ||
# version_format: "${major}.${minor}.${patch}-prerelease${increment}" | ||
version_format: "${major}.${minor}.${patch}-prerelease${increment}" | ||
search_commit_body: false | ||
# - name: Semver Check | ||
# uses: paulhatch/[email protected] | ||
# id: version | ||
# with: | ||
# # The prefix to use to identify tags | ||
# tag_prefix: "v" | ||
# # A string which, if present in a git commit, indicates that a change represents a | ||
# # major (breaking) change, supports regular expressions wrapped with '/' | ||
# major_pattern: "/breaking:|major:/" | ||
# # A string which indicates the flags used by the `major_pattern` regular expression. Supported flags: idgs | ||
# major_regexp_flags: "ig" | ||
# # Same as above except indicating a minor change, supports regular expressions wrapped with '/' | ||
# minor_pattern: "/feat:|feature:|minor:/" | ||
# # A string which indicates the flags used by the `minor_pattern` regular expression. Supported flags: idgs | ||
# minor_regexp_flags: "ig" | ||
# # A string to determine the format of the version output | ||
# # version_format: "${major}.${minor}.${patch}-prerelease${increment}" | ||
# version_format: "${major}.${minor}.${patch}-prerelease${increment}" | ||
# search_commit_body: false | ||
|
||
# Docker Buildx is important to caching in the Build And Push Container | ||
# step | ||
|
@@ -102,8 +102,6 @@ jobs: | |
tags: | | ||
${{ github.repository }}:develop | ||
${{ github.repository }}:${{ steps.vars.outputs.short_sha }} | ||
${{ github.repository }}:v${{ steps.version.outputs.version }} | ||
containers.renci.org/${{ github.repository }}:v${{ steps.version.outputs.version }} | ||
containers.renci.org/${{ github.repository }}:develop | ||
containers.renci.org/${{ github.repository }}:${{ steps.vars.outputs.short_sha }} | ||
cache-from: type=registry,ref=${{ github.repository }}:buildcache | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ -z "$1" ] | ||
then | ||
echo "Usage: create_index /path/to/build" | ||
exit 1 | ||
fi | ||
|
||
title="${META_TITLE:-HeLx UI}" | ||
description="${META_DESCRIPTION:-HeLx UI}" | ||
brand_name="${REACT_APP_UI_BRAND_NAME}" | ||
appstore_asset_branch="${REACT_APP_APPSTORE_ASSET_BRANCH}" | ||
|
||
cat "$1/index_template.html" | sed \ | ||
-e "s/%META_TITLE%/$title/" \ | ||
-e "s/%META_DESCRIPTION%/$description/" \ | ||
-e "s/%BRAND%/$brand_name/" \ | ||
-e "s/%APPSTORE_ASSET_BRANCH%/$appstore_asset_branch/" \ | ||
> $1/index.html |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
server { | ||
listen 8080 default_server; | ||
listen [::]:8080 default_server; | ||
|
||
server_name _; | ||
root /usr/share/nginx/html; | ||
index index.html index.htm; | ||
|
||
charset UTF-8; | ||
|
||
location /static/ { | ||
root /usr/share/nginx/; | ||
} | ||
|
||
location / { | ||
try_files $uri /index.html; | ||
} | ||
|
||
# access_log off; | ||
# log_not_found off; | ||
# error_log /var/log/nginx/error.log error; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,41 @@ | ||
server { | ||
listen 80 default_server; | ||
listen [::]:80 default_server; | ||
|
||
server_name _; | ||
root /usr/share/nginx/html; | ||
index index.html index.htm; | ||
|
||
charset UTF-8; | ||
|
||
location /static/ { | ||
root /usr/share/nginx/; | ||
} | ||
|
||
location / { | ||
try_files $uri /index.html; | ||
} | ||
|
||
# access_log off; | ||
# log_not_found off; | ||
# error_log /var/log/nginx/error.log error; | ||
# /etc/nginx/nginx.conf | ||
|
||
user nginx; | ||
worker_processes auto; | ||
|
||
error_log /var/log/nginx/error.log notice; | ||
# pid /var/run/nginx.pid; | ||
pid /tmp/nginx.pid; | ||
|
||
|
||
events { | ||
worker_connections 1024; | ||
} | ||
|
||
|
||
http { | ||
# added to run as non-root | ||
client_body_temp_path /tmp/client_temp; | ||
proxy_temp_path /tmp/proxy_temp_path; | ||
fastcgi_temp_path /tmp/fastcgi_temp; | ||
uwsgi_temp_path /tmp/uwsgi_temp; | ||
scgi_temp_path /tmp/scgi_temp; | ||
|
||
include /etc/nginx/mime.types; | ||
default_type application/octet-stream; | ||
|
||
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' | ||
'$status $body_bytes_sent "$http_referer" ' | ||
'"$http_user_agent" "$http_x_forwarded_for"'; | ||
|
||
access_log /var/log/nginx/access.log main; | ||
|
||
sendfile on; | ||
#tcp_nopush on; | ||
|
||
keepalive_timeout 65; | ||
|
||
#gzip on; | ||
|
||
include /etc/nginx/conf.d/*.conf; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.