Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
66d4a29
feat: add config and schema
Jun 11, 2026
d1cffee
chore: update to new cleanup registry
Jun 11, 2026
736ec9c
feat: match vscode settings to boilerplate
Jun 11, 2026
e555680
feat: match config to new schema
Jun 11, 2026
52393bf
feat: update dockerfile
Jun 11, 2026
2d564aa
feat: update tsconfig
Jun 11, 2026
cfafba8
feat: update server building
Jun 11, 2026
7bfbc01
feat: update ci
Jun 11, 2026
4ef31e5
feat: add and remove important files
Jun 11, 2026
f76fe52
test: migrate to vitest
Jun 15, 2026
6736582
feat: add security to openai
Jun 15, 2026
bbcca1a
feat: add husky
Jun 15, 2026
7017656
feat: add domain to workflow
eyalr1100 Jun 15, 2026
3d97ba4
feat: upgrade redis image in workflow
Jun 15, 2026
6f0ba4e
chore: merge config exports
Jun 15, 2026
a2d2ec7
feat: fix half of the config problems
Jun 20, 2026
153f548
Merge branch 'feat/match-boilerplate' of https://github.com/MapColoni…
Jun 20, 2026
50d5d2c
fix: match configuration to new schema
eyalr1100 Jun 21, 2026
c44d5da
feat: add version
eyalr1100 Jun 21, 2026
e660cbb
feat: update redis version
eyalr1100 Jun 21, 2026
14f7287
chore: remove deprecated baseUrl
eyalr1100 Jun 21, 2026
0871236
feat: update config to match schema
eyalr1100 Jun 21, 2026
6356e02
fix: correctly use logger with await
eyalr1100 Jun 21, 2026
bf0cae9
chore: import type correctly
eyalr1100 Jun 21, 2026
09f3276
fix: import supertest correctly
eyalr1100 Jun 21, 2026
3053e0d
fix: fix ttl route
eyalr1100 Jun 21, 2026
1492acf
test: fix container registering and remove unknown
eyalr1100 Jun 21, 2026
87548b6
test: add create mock helper
eyalr1100 Jun 21, 2026
39cb378
fix: fix bug where key is read once, expires, and being read again
eyalr1100 Jun 21, 2026
88ba00c
fix: update package lock
eyalr1100 Jun 21, 2026
b4a67c4
chore: add space for workflow to register
eyalr1100 Jun 21, 2026
30fc072
feat: add type to kafka ssl in schema
Jun 24, 2026
2076f55
feat: revert to old redis host
Jun 24, 2026
fce36c6
chore: remove unnecessary resolve promisified logger
Jun 24, 2026
818b03d
chore: remove unnecessary kafka options type
Jun 24, 2026
8e49f44
chore: remove shared service name
eyalr1100 Jun 25, 2026
4b0c2d5
feat: downgrade to redis 4.7
eyalr1100 Jun 28, 2026
8e5d9bf
feat: make redis index not hardcoded 0
eyalr1100 Jun 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .eslintrc.json

This file was deleted.

53 changes: 53 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# yaml-language-server: $schema=https://json.schemastore.org/dependabot-2.0.json
version: 2
updates:
# deps
- package-ecosystem: npm
target-branch: 'master'
schedule:
interval: weekly
allow:
- dependency-type: production
directory: /
commit-message:
prefix: 'deps'
groups:
map-colonies:
patterns:
- '@map-colonies/*'
opentelemetry:
patterns:
- '@opentelemetry/*'
patch:
update-types:
- patch
# dev-deps
- package-ecosystem: npm
schedule:
interval: weekly
allow:
- dependency-type: development
directory: /
commit-message:
prefix: 'devdeps'
groups:
map-colonies:
patterns:
- '@map-colonies/*'
opentelemetry:
patterns:
- '@opentelemetry/*'
types:
patterns:
- '@types/*'
dev-patch:
update-types:
- patch

# github deps
- package-ecosystem: github-actions
schedule:
interval: weekly
commit-message:
prefix: 'ci'
directory: '/'
16 changes: 16 additions & 0 deletions .github/workflows/auto-author-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: PR Author Auto Assign

on:
pull_request_target:
types: [opened, reopened]

permissions:
pull-requests: write

jobs:
assign-author:
runs-on: ubuntu-latest
steps:
- uses: toshimaru/auto-author-assign@v2.1.1
with:
repo-token: ${{ secrets.GH_PAT }}
81 changes: 67 additions & 14 deletions .github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,76 @@
name: Build and push artifacts
name: Push Artifacts to Azure Registry

on:
push:
tags:
- "v*"

workflow_dispatch:
inputs:
version:
required: true
type: string
env:
HELM_EXPERIMENTAL_OCI: 1
- 'v*'

permissions:
contents: write
pull-requests: write
packages: write

env:
DOMAIN: vector

jobs:
build_and_push_docker:
uses: MapColonies/shared-workflows/.github/workflows/build-and-push-docker.yaml@v2
secrets: inherit
push-docker-image:
runs-on: ubuntu-latest
steps:
- name: Login to Azure Container Registry
uses: docker/login-action@v3
with:
registry: ${{ secrets.ACR_URL }}
username: ${{ secrets.ACR_PUSH_USER }}
password: ${{ secrets.ACR_PUSH_TOKEN }}

- name: Build and Push Docker image
id: build_and_push
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ secrets.ACR_URL }}/${{ env.DOMAIN }}/${{ github.event.repository.name }}:${{ github.ref_name }}

- name: Update Docker Image in artifacts.json
uses: MapColonies/shared-workflows/actions/update-artifacts-file@update-artifacts-file-v1
with:
domain: ${{ env.DOMAIN }}
type: docker
artifact_name: ${{ github.event.repository.name }}
artifact_tag: ${{ github.ref_name }}
registry: ${{ secrets.ACR_URL }}
github_token: ${{ secrets.GH_PAT }}

push-helm-package:
runs-on: ubuntu-latest
needs: push-docker-image
steps:
- name: Checkout Repository
uses: actions/checkout@v6

- name: Remove v from the tag
id: remove_v
run: |
TAG=${{ github.ref_name }}
echo "VERSION=${TAG#v}" >> $GITHUB_OUTPUT

- name: Push Chart to ACR
uses: appany/helm-oci-chart-releaser@v0.5.0
with:
name: ${{ github.event.repository.name }}
repository: helm/${{ env.DOMAIN }}
tag: ${{ steps.remove_v.outputs.version }}
path: ./helm
registry: ${{ secrets.ACR_URL }}
registry_username: ${{ secrets.ACR_PUSH_USER }}
registry_password: ${{ secrets.ACR_PUSH_TOKEN }}
update_dependencies: 'true'

- name: Update Helm Package in artifacts.json
uses: MapColonies/shared-workflows/actions/update-artifacts-file@update-artifacts-file-v1
with:
domain: ${{ env.DOMAIN }}
type: helm
artifact_name: ${{ github.event.repository.name }}
artifact_tag: ${{ steps.remove_v.outputs.version }}
registry: ${{ secrets.ACR_URL }}
github_token: ${{ secrets.GH_PAT }}
14 changes: 14 additions & 0 deletions .github/workflows/jira-integration.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Jira Integration
on:
pull_request:
types: [opened, edited, synchronize]

permissions:
statuses: write
pull-requests: write

jobs:
jira-validation:
runs-on: ubuntu-latest
steps:
- uses: mapcolonies/javascript-github-actions/actions/jira-integration@jira-integration-v1
174 changes: 99 additions & 75 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
@@ -1,103 +1,127 @@
name: pull_request

on: [pull_request, workflow_dispatch]
on: pull_request

permissions:
contents: read
pull-requests: read

jobs:
eslint:
name: Run eslint
name: Run TS Project eslint
runs-on: ubuntu-latest

strategy:
matrix:
node: [24.x]

steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Check out TS Project Git repository
uses: actions/checkout@v6

- name: Set up Node.js
uses: actions/setup-node@v1
- name: Init Nodejs
uses: MapColonies/shared-workflows/actions/init-npm@init-npm-v1
with:
node-version: 20

- name: Install dependencies
run: npm ci
node-version: ${{ matrix.node }}

- name: Run linters
uses: wearerequired/lint-action@v1
- name: Run TS Project linters
uses: wearerequired/lint-action@v2
with:
github_token: ${{ secrets.github_token }}
eslint: true
prettier: true
eslint_extensions: ts
tsc: true

openapi-lint:
name: Run OpenAPI lint Check
runs-on: ubuntu-latest

steps:
- name: Check out TS Project Git repository
uses: actions/checkout@v6

- name: Init Nodejs
uses: MapColonies/shared-workflows/actions/init-npm@init-npm-v1

- name: OpenAPI Lint Checks
if: ${{ inputs.enableOpenApiCheck == true }}
uses: nwestfall/openapi-action@v1.0.2
run: npx @redocly/cli lint --format=github-actions openapi3.yaml

helm-lint:
name: Run Helm lint Check
runs-on: ubuntu-latest

steps:
- name: Check out TS Project Git repository
uses: actions/checkout@v6
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ inputs.openApiFilePath }}
fetch-depth: 0

tests:
name: Run Tests
runs-on: ubuntu-latest

services:
redis:
image: redis:7.2.3
env:
ALLOW_EMPTY_PASSWORD: yes
ports:
- 6379:6379

options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5

strategy:
matrix:
node: [18.x, 20.x]

steps:
- name: Check out Git repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}

- name: Install Node.js dependencies
run: npm ci

- name: Create Redis PubSub
run: |
docker exec $(docker ps -qf "name=redis") \
redis-cli config set notify-keyspace-events KEA

- name: Run tests
run: npm run test

- uses: actions/upload-artifact@v4
with:
name: Test Reporters (Node ${{ matrix.node }})
path: reports/**
- name: Helm Lint Checks
uses: MapColonies/shared-workflows/actions/helm-lint@helm-lint-v1

security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

build_image:
name: Build Image
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

tests:
name: Run Tests
runs-on: ubuntu-latest

services:
redis:
image: redis:8.8.0
env:
ALLOW_EMPTY_PASSWORD: yes
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5

strategy:
matrix:
node: [24.x]

steps:
- name: Check out Git repository
uses: actions/checkout@v2
uses: actions/checkout@v6

- name: Init Nodejs
uses: MapColonies/shared-workflows/actions/init-npm@init-npm-v1
with:
node-version: ${{ matrix.node }}

- name: Create Redis PubSub
run: |
docker exec $(docker ps -qf "name=redis") \
redis-cli config set notify-keyspace-events KEA

- name: Run tests
run: npm run test

- name: build Docker image
run: docker build -t test-build:latest .
- uses: actions/upload-artifact@v4
with:
name: Test Reporters Node-${{ matrix.node }}
path: reports/**

build_docker_image:
runs-on: ubuntu-latest
steps:
- name: Build and Push Docker image
uses: docker/build-push-action@v6

jira-validation:
runs-on: ubuntu-latest
permissions:
statuses: write
pull-requests: write
steps:
- uses: mapcolonies/javascript-github-actions/actions/jira-integration@jira-integration-v1
Loading
Loading