Skip to content

Commit c523d49

Browse files
authored
Initial commit
0 parents  commit c523d49

Some content is hidden

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

64 files changed

+14910
-0
lines changed

.dockerignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.nyc_output
2+
tests
3+
.circlei
4+
.github
5+
coverage
6+
node_modules
7+
.prettier*
8+
commitlint.config.json
9+
README.md
10+
.npmrc
11+
.redocly.yaml
12+
tsconfig.lint.json
13+
.nvmrc
14+
.git*
15+
commitlint.config.json
16+
dist
17+
build
18+
reports

.editorconfig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# Top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
11+
# Set default charset
12+
charset = utf-8
13+
14+
# 2 space indentation (default)
15+
indent_style = space
16+
indent_size = 2
17+
18+
# 2 space indentation (JS and JSX and TS files)
19+
[*.{js,jsx,ts}]
20+
indent_size = 2
21+
22+
# Trim trailing whitespace
23+
trim_trailing_whitespace = true
24+
25+
# Max line length
26+
max_line_length = 150

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#prevent git from chaning line endings of sh file to /r/n on windows systems
2+
*.sh text eol=lf
3+
*.* text eol=lf
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'bug'
6+
assignees: ''
7+
---
8+
9+
**Describe the bug**
10+
A clear and concise description of what the bug is.
11+
12+
**To Reproduce**
13+
Steps to reproduce the behavior:
14+
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Additional context**
27+
Add any other context about the problem here.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: 'enhancement'
6+
assignees: ''
7+
---
8+
9+
**Is your feature request related to a problem? Please describe.**
10+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
11+
12+
**Describe the solution you'd like**
13+
A clear and concise description of what you want to happen.
14+
15+
**Describe alternatives you've considered**
16+
A clear and concise description of any alternative solutions or features you've considered.
17+
18+
**Additional context**
19+
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!--
2+
Make sure you've read the contributing guidelines (CONTRIBUTING.md)
3+
-->
4+
5+
| Question | Answer |
6+
| --------------- | ------ |
7+
| Bug fix | ✔/✖ |
8+
| New feature | ✔/✖ |
9+
| Breaking change | ✔/✖ |
10+
| Deprecations | ✔/✖ |
11+
| Documentation | ✔/✖ |
12+
| Tests added | ✔/✖ |
13+
| Chore | ✔/✖ |
14+
15+
Related issues: #XXX , #XXX ...
16+
Closes #XXX ...
17+
18+
Further information:
19+
20+
<!--
21+
Here you can provide more information regarding any of the questions written above.
22+
In addition, you can add screenshots, ask the maintainers questions.
23+
-->

.github/dependabot.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/dependabot-2.0.json
2+
version: 2
3+
updates:
4+
# deps
5+
- package-ecosystem: npm
6+
target-branch: 'master'
7+
schedule:
8+
interval: weekly
9+
allow:
10+
- dependency-type: production
11+
directory: /
12+
commit-message:
13+
prefix: 'deps'
14+
groups:
15+
map-colonies:
16+
patterns:
17+
- '@map-colonies/*'
18+
opentelemetry:
19+
patterns:
20+
- '@opentelemetry/*'
21+
patch:
22+
update-types:
23+
- patch
24+
# dev-deps
25+
- package-ecosystem: npm
26+
schedule:
27+
interval: weekly
28+
allow:
29+
- dependency-type: development
30+
directory: /
31+
commit-message:
32+
prefix: 'devdeps'
33+
groups:
34+
map-colonies:
35+
patterns:
36+
- '@map-colonies/*'
37+
opentelemetry:
38+
patterns:
39+
- '@opentelemetry/*'
40+
types:
41+
patterns:
42+
- '@types/*'
43+
dev-patch:
44+
update-types:
45+
- patch
46+
47+
# github deps
48+
- package-ecosystem: github-actions
49+
schedule:
50+
interval: weekly
51+
commit-message:
52+
prefix: 'ci'
53+
directory: '/'
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: PR Author Auto Assign
2+
3+
on:
4+
pull_request_target:
5+
types: [opened, reopened]
6+
7+
permissions:
8+
pull-requests: write
9+
10+
jobs:
11+
assign-author:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: toshimaru/auto-author-assign@v2.1.1
15+
with:
16+
repo-token: ${{ secrets.GH_PAT }}
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Build and push artifacts
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
build_and_push:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Artifactory Login
13+
uses: MapColonies/shared-workflows/actions/artifactory-login@artifactory-login-v1.0.0
14+
with:
15+
registry: ${{ secrets.ACR_URL }}
16+
username: ${{ secrets.ACR_PUSH_USER }}
17+
password: ${{ secrets.ACR_PUSH_TOKEN }}
18+
19+
- name: Build Docker Image
20+
id: build
21+
uses: MapColonies/shared-workflows/actions/build-docker@build-docker-v1.1.0
22+
with:
23+
# Example:
24+
# domain: infra
25+
domain: YOUR_DOMAIN
26+
registry: ${{ secrets.ACR_URL }}
27+
28+
- name: Push Docker Image
29+
uses: MapColonies/shared-workflows/actions/push-docker@push-docker-v1.0.1
30+
with:
31+
image_name: ${{ steps.build.outputs.docker_image_full_name }}
32+
image_tag: ${{ steps.build.outputs.docker_image_tag }}
33+
34+
- name: Build and Push Helm Chart
35+
uses: MapColonies/shared-workflows/actions/build-and-push-helm@build-and-push-helm-v1.0.1
36+
with:
37+
# Example:
38+
# context: ./helm (default value)
39+
# domain: infra
40+
context: YOUR_CHART_PATH
41+
domain: YOUR_DOMAIN
42+
registry: ${{ secrets.ACR_URL }}
43+
44+
- name: Update Artifacts File
45+
uses: MapColonies/shared-workflows/actions/update-artifacts-file@update-artifacts-file-v1.1.1
46+
with:
47+
# Example:
48+
# domain: infra
49+
# type: docker
50+
domain: YOUR_DOMAIN
51+
artifact_name: ${{ github.event.repository.name }}
52+
artifact_tag: ${{ github.ref_name }}
53+
type: YOUR_ARTIFACT_TYPE
54+
registry: ${{ secrets.ACR_URL }}
55+
github_token: ${{ secrets.GH_PAT }}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Jira Integration
2+
on:
3+
pull_request:
4+
types: [opened, edited, synchronize]
5+
6+
permissions:
7+
statuses: write
8+
pull-requests: write
9+
10+
jobs:
11+
jira-validation:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: mapcolonies/javascript-github-actions/actions/jira-integration@jira-integration-v1.0.1

0 commit comments

Comments
 (0)