layer5labs / meshmap-snapshot Goto Github PK
View Code? Open in Web Editor NEWInfrastructure as Diagram delivered to your pull requests.
Home Page: https://layer5.io/cloud-native-management/gitops
License: Apache License 2.0
Infrastructure as Diagram delivered to your pull requests.
Home Page: https://layer5.io/cloud-native-management/gitops
License: Apache License 2.0
Describe the bug
Running: loadDesign.js (1 of 1)
Infra Shot Automated Runner
1) "before each" hook for "load a design/application with ID"
0 passing (250ms)
1 failing
1) Infra Shot Automated Runner
"before each" hook for "load a design/application with ID":
TypeError: Cypress.env(...).replace is not a function
Because this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Infra Shot Automated Runner`
at Context.eval (webpack:///./cypress/e2e/e2e/loadDesign.js:9:108)
Log - https://github.com/meshery/meshery/actions/runs/7071587027/job/19249462551#step:5:128
Get the list of most recent templates, PR body, issue body, release drafts etc from the meshery/meshery
Describe the bug
Relationships in Snapshots seem to be lost - meshery/meshery#8414 (comment).
Expected behavior
Edge and hierarchical relationships to visualized in the snapshot, which should look like this - meshery/meshery#8256 (comment)
We are using composite github action to deal with different type of operations from running a script, calling action within the project, to calling another action from different source. To get all the benefits of composite nature of github action, it is required to separate some logic in its own github action yaml and reference from the main yaml.
Like, managing cypress could be one action, managing uploads to cloud another action and so on.
Describe the bug
https://meshery.layer5.io/catalog/applications is empty to unauthenticated users.
Describe the bug
Snapshots are failing.
Example - https://github.com/meshery/meshery/actions/runs/5718720204/job/15495104794#step:5:176
name: 'MeshMap Snapshot With URL-Upload'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main
- master
- 'releases/*'
jobs:
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- name: Set PR number # To comment the final status on the Pull-request opened in any repository
run: |
export pull_number=$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")
echo "PULL_NO=$pull_number" >> $GITHUB_ENV
- uses: actions/checkout@v3 #this step would go and would be no longer needed to be written
with:
path: action
repository: layer5labs/meshmap-snapshot
- id: test_result
uses: layer5labs/[email protected]
with:
githubToken: ${{ secrets.GITHUB_TOKEN }} # github's personal access token example: "ghp_...."
providerToken: ${{ secrets.PROVIDER_TOKEN }} # Meshery Cloud Authentication token, signin to meshery-cloud to get one, example: ey.....
prNumber: ${{ env.PULL_NO }} # auto-filled from the above step
application_type: "Helm Chart" # your application type, could be any of three: "Kubernetes Manifest", "Docker Compose", "Helm Chart"
application_url: "https://github.com/meshery/meshery.io/raw/master/charts/meshery-v0.6.88.tgz"
In the example yaml above, remove the step to resolve pr number and checkout the repository code. Put this steps in the action.yaml
.
Running the MeshMap snapshot action in forked repositories fails because of unavailability of secrets and other credentials. Add the code that prevents the action from running in forked repositories.
The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master
branch.
Join the Layer5 Community by submitting your community member form.
What might be done in terms of ensuring that the overlap in rendering of designs is avoided? Does the snapshot need more time to process or does the default spacing in the default layout need to be increased in size?
screenshot -
Error:
Run export request=$(curl --fail -d "$(base64 -i screenshot.png)" 'https://meshery.layer5.io/api/integration/github/meta/artifacts' \
/home/runner/work/_temp/bd9fd19e-d7bd-4e93-a586-623bccb8b09a.sh: line 3: /usr/bin/curl: Argument list too long
Describe the bug
[Invalid workflow file: .github/workflows/meshmap.yml#L46](https://github.com/meshery/meshery/actions/runs/7255261582/workflow)
The workflow is not valid. .github/workflows/meshmap.yml (Line: 46, Col: 21): Unexpected symbol: '/tree/master/install/deployment_yamls/k8s'. Located at position 26 within expression: inputs.fileName == '' && /tree/master/install/deployment_yamls/k8s || inputs.fileName
Example - https://github.com/meshery/meshery/actions/runs/7255261582/workflow
This needs to be fixed not in the workflow, but in the configuration wizard / action.
Templates: #25
Copy/paste this workflow and this configuration into the .github folder, so that this repo will also have an automated commenter.
Self assigning this issue
Describe the bug
Update pr-target-test.yml to use the latest action pattern
Describe the bug
See meshery/meshery#10484 (comment)
Most folks don't know how to interpret the visual snapshots.
A comment that links to a "How to interpret Meshery Designs" would be helpful. - - a legend is needed.
The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master
branch.
Join the Layer5 Community by submitting your community member form.
TODOS:
Originally posted by @Abhishek-kumar09 in #15 (comment)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.