Skip to content

Commit

Permalink
Merge branch 'main' into chore/accident-notification-organize-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnigs authored Dec 11, 2024
2 parents d6e3aa9 + 5c8c1b9 commit af6dc60
Show file tree
Hide file tree
Showing 4,433 changed files with 144,979 additions and 68,360 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
41 changes: 37 additions & 4 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,37 @@
node_modules/
dist/
scripts/ci/
/cache*
# vi: ft=gitignore

# Known ignores
/.github/
/.git/
/scripts/ci/
/.env.*
/.envrc*
/.nx/

# Cache and packages
**/node_modules/
# Ignoring _all_ cache folders dosen't work, because we have libraries named `cache`
# **/cache/
/.yarn/cache/
/.yarn/install-state*
# Ignores e.g. `cache/` and `cache_outptut/`
/cache*
/.cache*/

# Logs and temporaries
**/log/
**/*.log
**/tmp/
**/temp/

# Outputs
**/dist/
**/out/

# Docker-stuff
**/Dockerfile
**/Dockerfile.*
**/Containerfile
**/Containerfile.*
**/*-compose.yaml
**/*-compose.yml
21 changes: 0 additions & 21 deletions .env.podman

This file was deleted.

6 changes: 4 additions & 2 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ export REDIS_CLUSTER_IP=0.0.0.0

source_env_if_exists .envrc.private
if [[ "${IS_DEVCONTAINER:-}" == true ]]; then
source_env_if_exists .devcontainer/.envrc.private
source_env_if_exists .devcontainer/.envrc.private || true
fi

# Podman compatibility
# NOTE: Exits direnv if user is using docker.
source_env_if_exists .env.podman
source_env_if_exists .envrc.podman || true

source_env_if_exists .envrc.kube || true
28 changes: 28 additions & 0 deletions .envrc.kube
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/bin/bash

set -euo pipefail

for c in kubectx kubectl aws; do
if ! command -v "$c" >/dev/null; then
echo "Optional dependency $c not installed. Aborting automatic kube configuration"
return
fi
done

set-kubectx() {
: "${AWS_PROFILE:=}"
if kubectx | grep -q "${AWS_PROFILE##islandis-}"; then
return
fi
if [[ -z "${AWS_PROFILE}" ]]; then
echo "No AWS_PROFILE set" >&2
return
fi
echo "Setting kube context..." >&2
AWS_ACCOUNT_ID="$(aws sts get-caller-identity | jq -r '.Account')"
kubectx "$(kubectx | grep "${AWS_ACCOUNT_ID}")"
CLUSTER="$(kubectl config current-context | sed 's/.*\///')"
export CLUSTER
}

set-kubectx
21 changes: 21 additions & 0 deletions .envrc.podman
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

set -euo pipefail

# Exit early if user is using docker
if [[ -n "${DOCKER_HOST:-}" ]] ||
command -v docker >/dev/null &&
! (docker --version | grep -i podman); then
return 0
fi

echo "🐳 Using podman"

SOCKET_DIR="${XDG_RUNTIME_DIR:-/run/user/$(id -u)}"
if [[ -S /run/podman/podman.sock ]]; then
SOCKET_DIR="/run/podman"
return 0
fi

export DOCKER_HOST=unix://$SOCKET_DIR/podman/podman.sock
export TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE="${DOCKER_HOST##*://}"
60 changes: 39 additions & 21 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/apps/application-system/ @island-is/norda-applications
/apps/web*/ @island-is/juni @island-is/stefna
/libs/application/ @island-is/norda-applications
/libs/service-portal/ @island-is/hugsmidjan
/libs/portals/my-pages/ @island-is/hugsmidjan
/libs/portals/admin/ @island-is/aranja
/libs/portals/core/ @island-is/aranja @island-is/hugsmidjan
/libs/shared/connected/ @island-is/stefna
Expand All @@ -30,19 +30,20 @@
/apps/icelandic-names-registry*/ @island-is/juni
/apps/web/screens/PetitionView/ @island-is/juni
/libs/cms/ @island-is/juni @island-is/stefna
/libs/clients/cms/ @island-is/juni @island-is/aranja
/libs/residence-history @island-is/juni
/libs/api/domains/endorsement-system @island-is/juni
/libs/api/domains/icelandic-names-registry/ @island-is/juni
/libs/clients/rsk/ @island-is/juni
/libs/clients/zendesk/ @island-is/juni
/libs/icelandic-names-registry/ @island-is/juni
/libs/service-portal/petitions/ @island-is/juni
/libs/service-portal/signature-collection/ @island-is/juni
/libs/service-portal/education/ @island-is/juni @island-is/hugsmidjan
/libs/service-portal/education-career/ @island-is/juni @island-is/hugsmidjan
/libs/service-portal/education-degree/ @island-is/juni @island-is/hugsmidjan
/libs/service-portal/education-license/ @island-is/juni @island-is/hugsmidjan
/libs/service-portal/education-student-assessment/ @island-is/juni @island-is/norda @island-is/hugsmidjan
/libs/portals/my-pages/petitions/ @island-is/juni
/libs/portals/my-pages/signature-collection/ @island-is/juni
/libs/portals/my-pages/education/ @island-is/juni @island-is/hugsmidjan
/libs/portals/my-pages/education-career/ @island-is/juni @island-is/hugsmidjan
/libs/portals/my-pages/education-degree/ @island-is/juni @island-is/hugsmidjan
/libs/portals/my-pages/education-license/ @island-is/juni @island-is/hugsmidjan
/libs/portals/my-pages/education-student-assessment/ @island-is/juni @island-is/norda @island-is/hugsmidjan
/libs/clients/driving-license/ @island-is/juni
/libs/clients/judicial-administration/ @island-is/juni
/libs/application/templates/announcement-of-death/ @island-is/juni
Expand Down Expand Up @@ -104,9 +105,9 @@ libs/clients/rsk/relationships/
/libs/clients/sessions @island-is/aranja
/libs/portals/shared-modules/delegations @island-is/aranja
/libs/portals/admin/ids-admin @island-is/aranja
/libs/service-portal/consent @island-is/aranja
/libs/service-portal/restrictions @island-is/aranja
/libs/service-portal/sessions @island-is/aranja
/libs/portals/my-pages/consent @island-is/aranja
/libs/portals/my-pages/restrictions @island-is/aranja
/libs/portals/my-pages/sessions @island-is/aranja
/apps/native/app/ @island-is/aranja-app
codemagic.yaml @island-is/aranja-app
/apps/web/public/.well-known/ @island-is/aranja-app
Expand All @@ -127,9 +128,12 @@ codemagic.yaml
/libs/application/template-api-modules/src/lib/modules/templates/financial-aid @island-is/kolibri-robin-hood

/apps/download-service/ @island-is/hugsmidjan
/apps/service-portal*/ @island-is/hugsmidjan
/apps/portals/my-pages*/ @island-is/hugsmidjan
/apps/services/regulations-admin-backend/ @island-is/hugsmidjan
/apps/services/user-profile/ @island-is/hugsmidjan @island-is/juni @island-is/aranja
/apps/web/components/Grant/ @island-is/hugsmidjan
/apps/web/components/PlazaCard/ @island-is/hugsmidjan
/apps/web/screens/Grants/ @island-is/hugsmidjan
/apps/web/screens/Regulations/ @island-is/hugsmidjan
/apps/web/components/Regulations/ @island-is/hugsmidjan
/apps/web/screens/OfficialJournalOfIceland/ @island-is/hugsmidjan
Expand Down Expand Up @@ -194,7 +198,8 @@ codemagic.yaml
/libs/portals/admin/regulations-admin/ @island-is/hugsmidjan
/libs/portals/admin/document-provider/ @island-is/hugsmidjan @island-is/core
/libs/clients/icelandic-health-insurance/rights-portal/ @island-is/hugsmidjan
/libs/clients/health-directorate @island-is/hugsmidjan @island-is/origo
/libs/clients/health-directorate @island-is/hugsmidjan
/libs/clients/health-directorate/src/lib/clients/occupational-license @island-is/hugsmidjan @island-is/origo
/libs/clients/mms/grade @island-is/hugsmidjan
/libs/portals/admin/air-discount-scheme @island-is/hugsmidjan
/libs/application/templates/official-journal-of-iceland/ @island-is/hugsmidjan
Expand Down Expand Up @@ -229,8 +234,12 @@ codemagic.yaml
/libs/application/template-api-modules/src/lib/modules/templates/general-fishing-license/ @island-is/norda
/libs/application/template-api-modules/src/lib/modules/templates/data-protection-complaint/ @island-is/norda
/libs/shared/form-fields/ @island-is/norda @island-is/island-ui
/libs/clients/financial-statements-inao @island-is/norda
/libs/api/domains/financial-statements-inao/ @island-is/norda
/libs/application/templates/financial-statements-inao/ @island-is/norda
/libs/application/template-api-modules/src/lib/modules/templates/financial-statements-inao @island-is/norda

/libs/service-portal/applications/ @island-is/norda-applications
/libs/portals/my-pages/applications/ @island-is/norda-applications
/libs/portals/admin/application-system/ @island-is/norda-applications
/libs/api/domains/application/ @island-is/norda-applications
/libs/api/domains/payment/ @island-is/norda-applications
Expand Down Expand Up @@ -310,10 +319,6 @@ codemagic.yaml

/apps/services/auth/personal-representative/ @island-is/programm @island-is/aranja
/apps/services/auth/personal-representative-public/ @island-is/programm @island-is/aranja
/libs/api/domains/financial-statements-inao/ @island-is/programm
/libs/clients/financial-statements-inao @island-is/programm
/libs/application/templates/financial-statements-inao/ @island-is/programm
/libs/application/template-api-modules/src/lib/modules/templates/financial-statements-inao @island-is/programm

/libs/application/templates/criminal-record/ @island-is/origo
/libs/application/template-api-modules/src/lib/modules/templates/criminal-record-submission/ @island-is/origo
Expand Down Expand Up @@ -347,6 +352,7 @@ codemagic.yaml
/libs/api/domains/university-gateway/ @island-is/origo
/libs/university-gateway/ @island-is/origo
/apps/web/screens/UniversitySearch/ @island-is/origo
/apps/web/screens/queries/UniversityGateway.ts @island-is/origo
/apps/web/components/ListViewCard/ @island-is/origo

/libs/application/templates/directorate-of-immigration/ @island-is/origo
Expand All @@ -371,9 +377,6 @@ codemagic.yaml
/libs/application/templates/university/ @island-is/origo
/libs/application/template-api-modules/src/lib/modules/templates/university/ @island-is/origo

# Temporary assignment while the QA bootstrap project is in progress
/apps/system-e2e/ @island-is/qa

# DevOps
/.github/ @island-is/devops
/.githooks/ @island-is/devops
Expand All @@ -386,3 +389,18 @@ codemagic.yaml
/scripts/postinstall.js @island-is/devops @island-is/core
/scripts/codegen.js @island-is/devops @island-is/core
/charts/ @island-is/devops
.dockerignore @island-is/devops

# QA
/apps/system-e2e/ @island-is/qa
/libs/testing/e2e @island-is/qa

# Islandis
/apps/system-e2e/src/tests/islandis/admin-portal/ @island-is/aranja
/apps/system-e2e/src/tests/islandis/application-system/ @island-is/norda-applications
/apps/system-e2e/src/tests/islandis/application-system/acceptance/parental-leave.spec.ts @island-is/deloitte
/apps/system-e2e/src/tests/islandis/consultation-portal/ @island-is/advania
/apps/system-e2e/src/tests/islandis/service-portal/ @island-is/hugsmidjan @island-is/juni @island-is/norda-applications
/apps/system-e2e/src/tests/islandis/web/ @island-is/hugsmidjan @island-is/juni @island-is/stefna
# Judicial system
/apps/system-e2e/src/tests/judicial-system/ @island-is/kolibri-justice-league
Loading

0 comments on commit af6dc60

Please sign in to comment.