Commit graph

103 commits

Author SHA1 Message Date
158ec1ec2b clean up and ignore horusec files
Former-commit-id: 45134235a5cf4dd41c42e618c243b84fba5213e2
2025-06-15 17:20:13 -05:00
e8e86eb5b5 add horusec to ci
Former-commit-id: 072958df9e98bf11911c067c1231d1080d80bf5c
2025-06-15 17:19:26 -05:00
92153c3044 change status refresh to 1 sec 2025-06-15 17:10:18 -05:00
41661f640a change status refresh to 1 sec 2025-06-15 15:46:41 -05:00
765b0b25e9 status page 2025-06-15 15:39:14 -05:00
1a456849a4 distroless 2025-06-15 15:19:29 -05:00
74fe164c5b distroless 2025-06-15 15:14:11 -05:00
8a4189ad74 distroless 2025-06-15 15:11:45 -05:00
40eeb2f4aa distroless 2025-06-15 15:04:53 -05:00
05951ad609 distroless 2025-06-15 15:01:38 -05:00
6a4b32845d health checks 2025-06-15 14:55:05 -05:00
e44e8139c8 dockerfile update 2025-06-15 14:50:23 -05:00
4254b4942d dockerfile update 2025-06-15 14:06:46 -05:00
5710020393 dockerfile update 2025-06-15 14:04:17 -05:00
fe3d5ebf8d dockerfile update 2025-06-15 14:02:49 -05:00
534cefc973 dockerfile update 2025-06-15 13:59:25 -05:00
d76eedbd6c docker security 2025-06-15 11:07:42 -05:00
ce6cef6605 docker security 2025-06-15 11:06:24 -05:00
0991c1eebc change debian version 2025-06-15 10:59:05 -05:00
381816033c format 2025-06-15 10:56:05 -05:00
11403dea01 update elixir/erlang version 2025-06-15 10:49:57 -05:00
1df2f4a716 add security scan for docker 2025-06-15 10:43:38 -05:00
1ce7f91eed add geolocation 2025-06-15 10:27:18 -05:00
761eb66d1f add spot clustering 2025-06-13 16:28:20 -05:00
d06a78d077 remove tmp 2025-06-13 16:17:47 -05:00
c5b5d0762a map improvements 2025-06-13 16:17:35 -05:00
4a6665ac76 remove fly deploy 2025-06-13 15:10:45 -05:00
8a38859990 fly things 2025-06-13 15:10:29 -05:00
58774baca1 ci test 2025-06-13 14:39:37 -05:00
c13acd6a6f ci test 2025-06-13 14:13:54 -05:00
bda6ec4d68 ci test 2025-06-13 14:09:15 -05:00
76b7ce427a ci test 2025-06-13 14:07:43 -05:00
8f8271af06 ci test 2025-06-13 14:01:17 -05:00
26a92381c6 ci test 2025-06-13 13:59:01 -05:00
f6abb2864b format 2025-06-13 13:41:16 -05:00
a42676cd2e add tailscale 2025-06-13 13:38:51 -05:00
308e216fe0 bump elixir ci version 2025-06-13 13:27:14 -05:00
Graham McIntire
0da7c83039 Merge pull request #1 from aprsme/feat/k3s-deployment
feat: Implement K3s deployment with GitHub Actions CI/CD
2025-06-13 13:23:01 -05:00
4af05a6422 tweaks 2025-06-13 13:22:52 -05:00
google-labs-jules[bot]
1badb192b5 feat: Implement K3s deployment with GitHub Actions CI/CD
This commit introduces a complete setup for deploying the Phoenix application
to a K3s Kubernetes cluster, along with a GitHub Actions workflow for
automated builds and deployments.

Key changes include:

- **Kubernetes Manifests (`k8s/`)**:
    - Namespace (`aprs-app`) for isolating application resources.
    - PostgreSQL setup: PersistentVolumeClaim, Deployment, and Service.
    - Application setup: Deployment (with init container for migrations) and
      Service (NodePort).
    - An example secrets file (`k8s/secrets.yaml.example`) for configuration.
    - `.gitignore` updated to exclude `k8s/secrets.yaml`.

- **GitHub Actions Workflow (`.github/workflows/deploy-k3s.yaml`)**:
    - Builds the Docker image on pushes to the main branch.
    - Pushes the image to GitHub Container Registry (GHCR).
    - Deploys the application to K3s by applying the manifests.
    - Dynamically updates the application deployment with the correct image tag.
    - Requires `KUBE_CONFIG_DATA` GitHub secret for K3s authentication.

- **Application Configuration (`config/runtime.exs`)**:
    - Commented out `libcluster` configuration specific to Fly.io to prevent
      issues in a standard K3s environment.

- **Documentation (`README.md`)**:
    - Added a new "Kubernetes (K3s) Deployment" section detailing:
        - Prerequisites and initial setup (GitHub & K8s secrets).
        - Workflow overview.
        - Application configuration notes (health checks, migrations).
        - Instructions for accessing the application.

This setup provides a robust foundation for CI/CD and running the
application in a self-hosted K3s environment.
2025-06-13 18:18:34 +00:00
c6626c034a drop to elixir 1.17 2025-06-13 10:42:36 -05:00
0aae76a6ab handle malformed packet 2025-06-13 10:20:03 -05:00
b809ffdd4a fix web showing packets 2025-06-13 10:17:35 -05:00
f966e6f140 parse compressed location 2025-06-13 10:06:35 -05:00
6c48b997c0 fix all tests 2025-06-13 09:59:24 -05:00
c0ab108b4d update deps and gettext 2025-06-13 09:55:58 -05:00
cef9a72df1 remove procfile 2025-01-27 14:19:58 -06:00
777eb7ab25 regenerate release 2025-01-27 14:13:18 -06:00
5fed802b21 cleanup 2025-01-27 14:10:38 -06:00
42516d6085 remove buildpacks 2025-01-27 14:02:50 -06:00