-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Frontend fixes and improvements (#93)
Includes the following work: - #81 - #77 - #71 - #70 - #69 - #67 - #66 - #63 (note this update requires a core-eval proposal to take effect) QA is tracked [here](https://docs.google.com/spreadsheets/d/1bBJhr73o4W2rd3oYNpK_xET_3m6kNYYbeaDvMKIRQRM/edit?usp=sharing) --------- Co-authored-by: Privilege Mendes <[email protected]> Co-authored-by: Axel Verheul <[email protected]> Co-authored-by: Xabier Almazor <[email protected]> Co-authored-by: Xabier Almazor <[email protected]> Co-authored-by: Wietze <[email protected]> Co-authored-by: CARLOS TRIGO <[email protected]> Co-authored-by: Xabier Almazor Telek <[email protected]> Co-authored-by: Nick K <[email protected]> Co-authored-by: Nick Koster <[email protected]> Co-authored-by: carlos-kryha <[email protected]> Co-authored-by: Pandelis Symeonidis <[email protected]> Co-authored-by: Pandelis Symeonidis <[email protected]> Co-authored-by: MangoDream1 <[email protected]> Co-authored-by: Synthetics <[email protected]> Co-authored-by: Synthetics <[email protected]>
- Loading branch information
1 parent
c3af2d1
commit fc95af2
Showing
1,032 changed files
with
11,647 additions
and
165,126 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: CI/CD Emerynet | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
types: | ||
- closed | ||
|
||
jobs: | ||
build_and_deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Skaffold | ||
run: | | ||
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64 | ||
sudo install skaffold /usr/local/bin/ | ||
shell: bash | ||
|
||
- name: Authenticate with Google Cloud | ||
uses: google-github-actions/setup-gcloud@v0 | ||
with: | ||
service_account_key: ${{ secrets.GCP_AUTH_KEY }} | ||
project_id: ${{ secrets.PROJECT_ID }} | ||
export_default_credentials: true | ||
|
||
- name: Activate Service Account | ||
run: | | ||
gcloud auth activate-service-account ${{ secrets.GCP_SA }} --key-file=$GOOGLE_APPLICATION_CREDENTIALS | ||
gcloud components install gke-gcloud-auth-plugin | ||
- name: Login to GCR | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: eu.gcr.io | ||
username: _json_key | ||
password: ${{ secrets.GCP_AUTH_KEY }} | ||
|
||
- name: Login to Kubernetes | ||
uses: azure/k8s-set-context@v1 | ||
with: | ||
kubeconfig: ${{ secrets.KUBECONFIG }} | ||
cluster-context: ${{ secrets.CLUSTER_CONTEXT }} | ||
namespace: ${{ secrets.K8S_NAMESPACE_EMERYNET }} | ||
|
||
- name: Build and push Docker images | ||
run: | | ||
cd frontend | ||
export $(grep -v '^#' .env.emerynet | xargs) | ||
envsubst < ../deployment/emerynet/workloads/config/ui-config.template.yaml > ../deployment/emerynet/workloads/config/ui-config.yaml | ||
envsubst < skaffold.emerynet.template.yaml > skaffold.emerynet.yaml | ||
skaffold run --filename skaffold.emerynet.yaml | ||
shell: bash | ||
|
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,58 @@ | ||
name: CI/CD Mainnet | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
types: | ||
- closed | ||
|
||
jobs: | ||
build_and_deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Skaffold | ||
run: | | ||
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64 | ||
sudo install skaffold /usr/local/bin/ | ||
shell: bash | ||
|
||
- name: Authenticate with Google Cloud | ||
uses: google-github-actions/setup-gcloud@v0 | ||
with: | ||
service_account_key: ${{ secrets.GCP_AUTH_KEY }} | ||
project_id: ${{ secrets.PROJECT_ID }} | ||
export_default_credentials: true | ||
|
||
- name: Activate Service Account | ||
run: | | ||
gcloud auth activate-service-account ${{ secrets.GCP_SA }} --key-file=$GOOGLE_APPLICATION_CREDENTIALS | ||
gcloud components install gke-gcloud-auth-plugin | ||
- name: Login to GCR | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: eu.gcr.io | ||
username: _json_key | ||
password: ${{ secrets.GCP_AUTH_KEY }} | ||
|
||
- name: Login to Kubernetes | ||
uses: azure/k8s-set-context@v1 | ||
with: | ||
kubeconfig: ${{ secrets.KUBECONFIG }} | ||
cluster-context: ${{ secrets.CLUSTER_CONTEXT }} | ||
namespace: ${{ secrets.K8S_NAMESPACE_MAINNET }} | ||
|
||
- name: Build and push Docker images | ||
run: | | ||
cd frontend | ||
export $(grep -v '^#' .env.production | xargs) | ||
envsubst < ../deployment/production/workloads/config/ui-config.template.yaml > ../deployment/production/workloads/config/ui-config.yaml | ||
envsubst < skaffold.production.template.yaml > skaffold.production.yaml | ||
skaffold run --filename skaffold.production.yaml | ||
shell: bash | ||
|
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,33 @@ | ||
name: Skaffold Build PR Check | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
types: | ||
- opened | ||
- synchronize | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Skaffold | ||
run: | | ||
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64 | ||
sudo install skaffold /usr/local/bin/ | ||
shell: bash | ||
|
||
- name: Skaffold build precheck | ||
run: | | ||
cd frontend | ||
export $(grep -v '^#' .env.emerynet | xargs) | ||
envsubst < skaffold.precheck.yaml > skaffold.emerynet.yaml | ||
skaffold build --filename skaffold.emerynet.yaml | ||
shell: bash | ||
|
||
|
Validating CODEOWNERS rules …
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,2 @@ | ||
* @WietzeSlagman | ||
* @carlos-kryha |
Oops, something went wrong.