Skip to content

Commit 5a00d77

Browse files
Initial commit
0 parents  commit 5a00d77

26 files changed

+1102
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: 🐛 General Bug Report
3+
about: Report an issue to help improve the project.
4+
title: ''
5+
labels: 'kind/bug'
6+
assignees: ''
7+
---
8+
#### Current Behavior
9+
<!-- A brief description of the issue. -->
10+
11+
#### Expected Behavior
12+
<!-- A brief description of what you expected to happen. -->
13+
14+
#### Screenshots/Logs
15+
<!-- Add screenshots, if applicable, to help explain your problem. -->
16+
17+
#### Environment
18+
19+
- **Host OS:** Mac Linux Windows
20+
- **Platform:** Docker or Kubernetes
21+
- **Meshery Server Version:** stable-v
22+
- **Meshery Client Version:** stable-v
23+
24+
<!-- Optional
25+
#### To Reproduce
26+
1. Go to '...'
27+
2. Click on '....'
28+
3. Scroll down to '....'
29+
4. See error
30+
-->
31+
32+
---
33+
#### Contributor [Guides](https://docs.meshery.io/project/contributing) and Resources
34+
- 🛠 [Meshery Build & Release Strategy](https://docs.meshery.io/project/build-and-release)
35+
- 📚 [Instructions for contributing to documentation](https://github.com/meshery/meshery/blob/master/CONTRIBUTING.md#documentation-contribution-flow)
36+
- Meshery documentation [site](https://docs.meshery.io/) and [source](https://github.com/meshery/meshery/tree/master/docs)
37+
- 🎨 Wireframes and [designs for Layer5 site](https://www.figma.com/file/5ZwEkSJwUPitURD59YHMEN/Layer5-Designs) in Figma [(open invite)](https://www.figma.com/team_invite/redeem/qJy1c95qirjgWQODApilR9)
38+
- 🙋🏾🙋🏼 Questions: [Layer5 Discussion Forum](https://discuss.layer5.io) and [Layer5 Community Slack](http://slack.layer5.io)

.github/ISSUE_TEMPLATE/ci.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: 🛠 Continuous Integration / DevOps
3+
about: Improve or update workflows or other automation
4+
title: '[CI]'
5+
labels: 'area/ci'
6+
assignees: ''
7+
---
8+
#### Current Behavior
9+
<!-- A brief description of what the problem is. (e.g. I need to be able to...) -->
10+
11+
#### Desired Behavior
12+
<!-- A brief description of what you expected to happen. -->
13+
14+
#### Implementation
15+
<!-- Specifics on the approach to fulfilling the feature request. -->
16+
17+
#### Acceptance Tests
18+
<!-- Stipulations of functional behavior or non-functional items that must be in-place in order for the issue to be closed. -->
19+
20+
---
21+
#### Contributor [Guides](https://docs.meshery.io/project/contributing) and Resources
22+
- 🛠 [Meshery Build & Release Strategy](https://docs.meshery.io/project/build-and-release)
23+
- 🎨 Wireframes and [designs for Layer5 site](https://www.figma.com/file/5ZwEkSJwUPitURD59YHMEN/Layer5-Designs) in Figma [(open invite)](https://www.figma.com/team_invite/redeem/qJy1c95qirjgWQODApilR9)
24+
- 🙋🏾🙋🏼 Questions: [Layer5 Discussion Forum](https://discuss.layer5.io) and [Layer5 Community Slack](http://slack.layer5.io)
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: 📄 Documentation issue
3+
about: Issues related to documentation.
4+
title: '[Docs]'
5+
labels: 'area/docs, framework/jekyll, language/markdown'
6+
assignees: ''
7+
---
8+
#### Current State
9+
10+
11+
#### Desired State
12+
13+
14+
---
15+
16+
#### [Contributor Guides](https://docs.meshery.io/project/contributing) and Resources
17+
- 📚 [Instructions for contributing to documentation](https://docs.meshery.io/project/contributing/contributing-docs)
18+
- Meshery documentation [site](https://docs.meshery.io/) and [source](https://github.com/meshery/meshery/tree/master/docs)
19+
- 🛠 [Meshery Build & Release Strategy](https://docs.meshery.io/project/build-and-release)
20+
- 🎨 Wireframes and [designs for Layer5 site](https://www.figma.com/file/5ZwEkSJwUPitURD59YHMEN/Layer5-Designs) in Figma [(open invite)](https://www.figma.com/team_invite/redeem/qJy1c95qirjgWQODApilR9)
21+
- 🙋🏾🙋🏼 Questions: [Layer5 Discussion Forum](https://discuss.layer5.io) and [Layer5 Community Slack](http://slack.layer5.io)
+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: 💡 Feature Request
3+
about: Suggest an enhancement to Meshery.
4+
title: ''
5+
labels: 'kind/enhancement'
6+
assignees: ''
7+
---
8+
#### Current Behavior
9+
<!-- A brief description of what the problem is. (e.g. I need to be able to...) -->
10+
11+
#### Desired Behavior
12+
<!-- A brief description of the enhancement. -->
13+
14+
#### Implementation
15+
<!-- [Optional] Specifics on the approach to fulfilling the feature request. -->
16+
17+
#### Acceptance Tests
18+
<!-- [Optional] Stipulations of functional behavior or non-functional items that must be in-place in order for the issue to be closed. -->
19+
20+
#### Mockups
21+
<!-- [Optional] Any visual diagrams of the desired user interface. -->
22+
23+
---
24+
**[Contributor Guide](https://docs.meshery.io/project/contributing)**
25+
- 🎨 Wireframes and [designs for Layer5 site](https://www.figma.com/file/5ZwEkSJwUPitURD59YHMEN/Layer5-Designs) in Figma [(open invite)](https://www.figma.com/team_invite/redeem/qJy1c95qirjgWQODApilR9)

.github/ISSUE_TEMPLATE/question.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 🙋🏾🙋🏼‍Question
4+
url: https://github.com/layer5io/meshery/discussions/new
5+
about: Submit your question using GitHub Discussions.
6+
- 🎨 Wireframes and [designs for Layer5 site](https://www.figma.com/file/5ZwEkSJwUPitURD59YHMEN/Layer5-Designs) in Figma [(open invite)](https://www.figma.com/team_invite/redeem/qJy1c95qirjgWQODApilR9)

.github/PULL_REQUEST_TEMPLATE.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Notes for Reviewers**
2+
3+
This PR fixes #
4+
5+
6+
7+
8+
**[Signed commits](../blob/master/CONTRIBUTING.md#signing-off-on-commits-developer-certificate-of-origin)**
9+
- [ ] Yes, I signed my commits.
10+
11+
12+
<!--
13+
Thank you for contributing to Meshery!
14+
15+
Contributing Conventions:
16+
17+
1. Include descriptive PR titles with [<component-name>] prepended.
18+
2. Build and test your changes before submitting a PR.
19+
3. Sign your commits
20+
21+
By following the community's contribution conventions upfront, the review process will
22+
be accelerated and your PR merged more quickly.
23+
-->

.github/config.yml

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
#-------------------------------------------------------------------------------
2+
# Configuration for new-issue-welcome - https://github.com/behaviorbot/new-issue-welcome
3+
# Comment to be posted to on first time issues
4+
newIssueWelcomeComment: >
5+
Thanks for opening this issue. A contributor will be by to give feedback soon. In the meantime, please review the [Layer5 Community Welcome Guide](https://docs.google.com/document/d/17OPtDE_rdnPQxmk2Kauhm3GwXF1R5dZ3Cj8qZLKdo5E/edit?usp=sharing) and sure to join the [community Slack](http://slack.layer5.io/).
6+
# Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome
7+
# Comment to be posted to on PRs from first time contributors in your repository
8+
newPRWelcomeComment: >
9+
Yay, your first pull request! :thumbsup: A contributor will be by to give feedback soon. In the meantime, please review the [Layer5 Community Welcome Guide](https://docs.google.com/document/d/17OPtDE_rdnPQxmk2Kauhm3GwXF1R5dZ3Cj8qZLKdo5E/edit?usp=sharing) and sure to join the [community Slack](http://slack.layer5.io/).
10+
11+
Be sure to double-check that you have signed your commits. Here are instructions for [making signing an implicit activity while peforming a commit](../CONTRIBUTING.md#signing-off-on-commits-developer-certificate-of-origin).
12+
13+
14+
#-------------------------------------------------------------------------------
15+
# Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge
16+
# Comment to be posted to on pull requests merged by a first time user
17+
firstPRMergeComment: >
18+
&nbsp; &#9; &nbsp; &#9; &nbsp; &#9; &nbsp; &#9; Thank you for contributing to the Layer5 community! :tada:
19+
\
20+
\
21+
![Congrats!](https://github.com/layer5io/layer5/blob/master/.github/welcome/Layer5-celebration.png)
22+
\
23+
\
24+
&nbsp; &#9; &nbsp; &#9; &nbsp; &#9; &nbsp; &#9; :star: Please leave a [star on the project](../stargazers). :smile:
25+
26+
27+
#-------------------------------------------------------------------------------
28+
# Configuration for request-info - https://github.com/behaviorbot/request-info
29+
# Comment to reply with
30+
requestInfoReplyComment: >
31+
Thanks for opening this issue. We welcome all input! If you could provide a little more information, this will greatly aide in its resolution. :thumbsup:
32+
# *OPTIONAL* Add a list of people whose Issues/PRs will not be commented on
33+
# keys must be GitHub usernames
34+
#requestInfoUserstoExclude:
35+
# - layer5io/maintainers
36+
37+
38+
#-------------------------------------------------------------------------------
39+
# Configuration for sentiment-bot - https://github.com/behaviorbot/sentiment-bot
40+
# *Required* toxicity threshold between 0 and .99 with the higher numbers being the most toxic
41+
# Anything higher than this threshold will be marked as toxic and commented on
42+
sentimentBotToxicityThreshold: .9
43+
44+
# *Required* Comment to reply with
45+
sentimentBotReplyComment: >
46+
Please be sure to review the code of conduct and be respectful of other users. // @layer5io/maintainers
47+

.github/readme/images/community.svg

+1
Loading
48.2 KB
Loading

.github/readme/images/slack-128.png

4.53 KB
Loading
6.45 KB
Loading

.github/release-drafter.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name-template: 'v$NEXT_PATCH_VERSION'
2+
tag-template: 'v$NEXT_PATCH_VERSION'
3+
categories:
4+
- title: '🚀 Features'
5+
labels:
6+
- 'kind/feature'
7+
- 'kind/enhancement'
8+
- title: '🐛 Bug Fixes'
9+
labels:
10+
- 'fix'
11+
- 'bugfix'
12+
- 'kind/bug'
13+
- title: '🧰 Maintenance'
14+
labels:
15+
- 'kind/chore'
16+
- 'chore'
17+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
18+
template: |
19+
## What's New
20+
$CHANGES
21+
22+
## Contributors
23+
24+
Thank you to our contributors for making this release possible:
25+
$CONTRIBUTORS

.github/stale.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 45
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 10
5+
# Issues with these labels will never be considered stale
6+
exemptLabels:
7+
- issue/willfix
8+
# Label to use when marking an issue as stale
9+
staleLabel: issue/stale
10+
# Comment to post when marking an issue as stale. Set to `false` to disable
11+
markComment: >
12+
This issue has been automatically marked as stale because it has not had
13+
recent activity. It will be closed if no further activity occurs. Thank you
14+
for your contributions.
15+
# Comment to post when closing a stale issue. Set to `false` to disable
16+
closeComment: >
17+
This issue is being automatically closed due to inactivity.
18+
However, you may choose to reopen this issue.
50.2 KB
Loading

.github/workflows/multi-platform.yml

+120
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
name: Multi-Platform Build and Release
2+
on:
3+
release:
4+
types: [published]
5+
push:
6+
tags:
7+
- 'v*'
8+
branches:
9+
- 'master'
10+
paths-ignore:
11+
- 'docs/**'
12+
# - '.github/**'
13+
workflow_dispatch:
14+
inputs:
15+
release-ver:
16+
description: 'Stable Release Version'
17+
required: true
18+
default: 'v'
19+
stripped-release-ver:
20+
description: 'Stripped Stable Release Version'
21+
required: true
22+
default: ''
23+
release-channel:
24+
description: 'Release Channel'
25+
required: true
26+
default: 'edge'
27+
28+
env:
29+
GIT_VERSION: ${{github.event.inputs.release-ver}}
30+
GIT_STRIPPED_VERSION: ${{github.event.inputs.stripped-release-ver}}
31+
RELEASE_CHANNEL: ${{github.event.inputs.release-channel}}
32+
GIT_TAG: ${{ github.event.release.tag_name }}
33+
34+
jobs:
35+
print-inputs:
36+
runs-on: ubuntu-latest
37+
steps:
38+
39+
- run: |
40+
echo "Dispatched GIT_VERSION: ${{github.event.inputs.release-ver}}"
41+
echo " Dispatched GIT_STRIPPED_VERSION: ${{github.event.inputs.stripped-release-ver}}"
42+
echo "Env RELEASE_CHANNEL: ${{env.RELEASE_CHANNEL}}"
43+
echo "Env GIT_VERSION: ${{env.GIT_VERSION}}"
44+
echo "Env GIT_STRIPPED_VERSION: ${{env.GIT_STRIPPED_VERSION}}"
45+
echo "Env GIT_TAG: ${{ github.event.release.tag_name }}"
46+
47+
docker-build:
48+
runs-on: ubuntu-latest
49+
steps:
50+
-
51+
name: Checkout repo
52+
uses: actions/checkout@v3
53+
-
54+
name: Identify Release Values
55+
if: "${{ github.event.inputs.release-ver}} != 'v' }}"
56+
run: |
57+
# GIT_REF=`git symbolic-ref HEAD`
58+
if [[ $GIT_TAG = refs/tags* ]]
59+
then
60+
echo RELEASE_CHANNEL=stable >> $GITHUB_ENV
61+
else
62+
echo RELEASE_CHANNEL=edge >> $GITHUB_ENV
63+
fi
64+
echo "Release channel determined to be $RELEASE_CHANNEL"
65+
LATEST_VERSION=$(git ls-remote --tags | tail -1 | cut -f2 | sed 's/refs\/tags\///g') >> $GITHUB_ENV
66+
GIT_VERSION=$(git ls-remote --tags | tail -1 | cut -f2 | sed 's/refs\/tags\///g') >> $GITHUB_ENV
67+
# GIT_VERSION=$(git describe --tags `git rev-list --tags --max-count=1` --always)
68+
GIT_STRIPPED_VERSION=$(git ls-remote --tags | tail -1 | cut -f2 | sed 's/refs\/tags\///g' | cut -c2-)
69+
echo "GIT_LATEST=$LATEST_VERSION" >> $GITHUB_ENV
70+
echo "GIT_VERSION=$GIT_VERSION" >> $GITHUB_ENV
71+
echo "GIT_STRIPPED_VERSION=$GIT_STRIPPED_VERSION" >> $GITHUB_ENV
72+
shell: bash
73+
74+
-
75+
name: Set up QEMU
76+
uses: docker/setup-qemu-action@v1
77+
-
78+
name: Set up Docker Buildx
79+
uses: docker/setup-buildx-action@v1
80+
-
81+
name: Docker Meta
82+
id: meta
83+
uses: docker/metadata-action@v3
84+
with:
85+
images: ${{ secrets.IMAGE_NAME }}
86+
flavor: |
87+
latest=false
88+
tags: |
89+
type=raw,value=${{env.RELEASE_CHANNEL}}-{{sha}}
90+
type=semver,pattern={{version}},value=${{env.GIT_STRIPPED_VERSION}}
91+
type=raw,pattern={{version}},value=${{env.RELEASE_CHANNEL}}-${{env.GIT_VERSION}}
92+
type=raw,value=${{env.RELEASE_CHANNEL}}-{{tag}},enable=${{ startsWith(github.ref, 'refs/tags/v') }}
93+
type=raw,value=${{env.RELEASE_CHANNEL}}-latest
94+
type=semver,pattern={{version}},value=${{env.RELEASE_CHANNEL}}-${{env.GIT_VERSION}},enable=${{ startsWith(github.ref, 'refs/tags/v') }}
95+
-
96+
name: Login to DockerHub
97+
uses: docker/login-action@v1
98+
with:
99+
username: ${{ secrets.DOCKER_USERNAME }}
100+
password: ${{ secrets.DOCKER_PASSWORD }}
101+
-
102+
name: Build and Push
103+
uses: docker/build-push-action@v2
104+
with:
105+
context: "{{defaultContext}}"
106+
push: true
107+
build-args: |
108+
GIT_STRIPPED_VERSION=${{env.GIT_STRIPPED_VERSION}}
109+
GIT_VERSION=${{env.GIT_VERSION}}
110+
RELEASE_CHANNEL=${{env.RELEASE_CHANNEL}}
111+
tags: ${{ steps.meta.outputs.tags }}
112+
platforms: linux/amd64,linux/arm64
113+
-
114+
name: Docker Hub Description
115+
uses: peter-evans/dockerhub-description@v3
116+
with:
117+
username: ${{ secrets.DOCKER_USERNAME }}
118+
password: ${{ secrets.DOCKER_PASSWORD }}
119+
repository: meshery/meshery-docker-extension
120+
readme-filepath: /install/docker-extension/README.md

.github/workflows/release-drafter.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
# our release branch
6+
branches:
7+
- master
8+
9+
jobs:
10+
update_release_draft:
11+
runs-on: ubuntu-latest
12+
steps:
13+
# Drafts your next Release notes as Pull Requests are merged into "master"
14+
- uses: release-drafter/release-drafter@v5
15+
with:
16+
config-name: release-drafter.yml
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)