Commit Graph

305 Commits

Author SHA1 Message Date
tahahawa
2ef5ab8b29 switch back to docker tag runs-on
Some checks failed
Run Check Script / check (push) Has been cancelled
Run Check Script / check (pull_request) Has been cancelled
Compile and package harmony_composer / package_harmony_composer (pull_request) Failing after 37s
2025-06-18 11:13:05 -04:00
tahahawa
1e50124dd5 update sha again
Some checks failed
Compile and package harmony_composer / package_harmony_composer (pull_request) Successful in 38s
Run Check Script / check (push) Successful in 1m53s
Run Check Script / check (pull_request) Has been cancelled
2025-06-18 11:10:32 -04:00
tahahawa
585595239f update sha
All checks were successful
Compile and package harmony_composer / package_harmony_composer (pull_request) Successful in 40s
Run Check Script / check (push) Successful in 1m50s
Run Check Script / check (pull_request) Successful in 1m51s
2025-06-18 11:01:27 -04:00
tahahawa
6a855d67f2 switch back to docker 2025-06-18 11:00:25 -04:00
tahahawa
e49a0c6680 update docker sha
Some checks failed
Run Check Script / check (push) Successful in 1m51s
Run Check Script / check (pull_request) Successful in 1m50s
Compile and package harmony_composer / package_harmony_composer (pull_request) Failing after 6s
2025-06-18 10:59:08 -04:00
tahahawa
1bfd7a2dd5 It worked with --privileged with rootful docker, try podman with rootless
All checks were successful
Run Check Script / check (push) Successful in 1m51s
Run Check Script / check (pull_request) Successful in 1m51s
Compile and package harmony_composer / package_harmony_composer (pull_request) Successful in 40s
2025-06-18 10:13:52 -04:00
tahahawa
1cb010342e run only on taha docker runner for debugging
Some checks failed
Run Check Script / check (push) Has been cancelled
Run Check Script / check (pull_request) Has been cancelled
Compile and package harmony_composer / package_harmony_composer (pull_request) Successful in 1m43s
2025-06-18 09:58:03 -04:00
tahahawa
a7ed31d4f1 wrong SHA
Some checks failed
Run Check Script / check (push) Waiting to run
Compile and package harmony_composer / package_harmony_composer (pull_request) Has been cancelled
Run Check Script / check (pull_request) Has been cancelled
2025-06-18 09:55:56 -04:00
tahahawa
49fc459674 update SHA
Some checks failed
Run Check Script / check (push) Waiting to run
Compile and package harmony_composer / package_harmony_composer (pull_request) Failing after 1s
Run Check Script / check (pull_request) Has been cancelled
2025-06-18 09:55:01 -04:00
tahahawa
be0fbf08fb switch back to docker
Some checks failed
Run Check Script / check (push) Has been cancelled
Run Check Script / check (pull_request) Successful in 1m52s
Compile and package harmony_composer / package_harmony_composer (pull_request) Failing after 1m12s
2025-06-18 09:53:27 -04:00
tahahawa
275a470d00 try with --privileged
Some checks failed
Run Check Script / check (push) Successful in 1m50s
Run Check Script / check (pull_request) Successful in 1m50s
Compile and package harmony_composer / package_harmony_composer (pull_request) Failing after 1m9s
2025-06-17 17:00:48 -04:00
tahahawa
a4d8609b29 try with podman?
Some checks failed
Run Check Script / check (push) Successful in 1m49s
Run Check Script / check (pull_request) Successful in 1m49s
Compile and package harmony_composer / package_harmony_composer (pull_request) Failing after 1m29s
2025-06-17 16:43:07 -04:00
tahahawa
42c17345cf add buildx step back, github having problems?
Some checks failed
Run Check Script / check (push) Successful in 1m49s
Run Check Script / check (pull_request) Successful in 1m52s
Compile and package harmony_composer / package_harmony_composer (pull_request) Failing after 1m9s
2025-06-17 15:58:29 -04:00
tahahawa
d285ae988c try without setting up buildx
Some checks failed
Run Check Script / check (push) Has been cancelled
Run Check Script / check (pull_request) Has been cancelled
Compile and package harmony_composer / package_harmony_composer (pull_request) Failing after 1m3s
2025-06-17 15:53:00 -04:00
tahahawa
3f69edf059 Try using actions instead of commands
Some checks failed
Run Check Script / check (push) Failing after 1m44s
Run Check Script / check (pull_request) Has been cancelled
Compile and package harmony_composer / package_harmony_composer (pull_request) Has been cancelled
2025-06-17 15:46:45 -04:00
tahahawa
a3e53df000 Add TODO 2025-06-17 15:46:45 -04:00
9282a43f6f update image to use 2025-06-17 15:46:45 -04:00
4a4614b3a9 add docker into container, to be able to docker login 2025-06-17 15:46:45 -04:00
b49cad1f58 fix username secret 2025-06-17 15:46:45 -04:00
6822d22bd4 docker/login-action@v2 -> docker/login-action@v3 2025-06-17 15:46:45 -04:00
a4b9c8ac86 try using v3 instead of v4 for upload artifact 2025-06-17 15:46:45 -04:00
cc7a00b3ff change tag 2025-06-17 15:46:44 -04:00
e1d63924f8 Add nodejs for CI 2025-06-17 15:46:44 -04:00
c9894b78da try runs-on docker 2025-06-17 15:46:44 -04:00
8d06cc1407 Try running in container 2025-06-17 15:46:44 -04:00
6616ea29af Remove ARM from supported targets 2025-06-17 15:46:44 -04:00
93fe97e744 remove artifact too 2025-06-17 15:46:44 -04:00
9eb1c74893 Comment out ARM64 linux 2025-06-17 15:46:44 -04:00
5e88ef56df rename job 2025-06-17 15:46:44 -04:00
700fce6486 Add targets to docker image, test pipeline temporarily on PR 2025-06-17 15:46:44 -04:00
d1423c90c1 couple of fixes 2025-06-17 15:46:44 -04:00
6191fd1858 Stop using cargo internal API, too complicated. Switch to programmatically parsing metadata output. Add CI (untested, probably doesn't work), create dockerfile 2025-06-17 15:46:44 -04:00
tahahawa
99e9aad687 deploy and docker logs works ??? 2025-06-17 15:46:44 -04:00
tahahawa
f14c5e2b9d fmt/fix 2025-06-17 15:46:44 -04:00
tahahawa
aa43b3e463 cargo fix 2025-06-17 15:46:44 -04:00
tahahawa
847f2bb30c fmt 2025-06-17 15:46:44 -04:00
tahahawa
f5c07acf88 WIP compilation, docker, cargo, etc 2025-06-17 15:46:05 -04:00
tahahawa
edf96780e7 make it actually check folder properly 2025-06-17 15:46:05 -04:00
tahahawa
b6f252e344 turn it into subcommands 2025-06-17 15:46:05 -04:00
tahahawa
0f968000c3 Create harmony_ci_cli 2025-06-17 15:46:05 -04:00
7bebc58615 feat: add tenant credential management (#63)
All checks were successful
Run Check Script / check (push) Successful in 1m48s
Adds the foundation for managing tenant credentials, including:

- `TenantCredentialScore` for scoring credential-related operations.
- `TenantCredentialManager` trait for creating users.
- `CredentialMetadata` struct to store credential information.
- `CredentialData` enum to hold credential content.
- `TenantCredentialBundle` struct to encapsulate metadata and content.

This provides a starting point for implementing credential creation, storage, and retrieval within the harmony system.

Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/63
Co-authored-by: Jean-Gabriel Gill-Couture <jg@nationtech.io>
Co-committed-by: Jean-Gabriel Gill-Couture <jg@nationtech.io>
2025-06-17 18:28:04 +00:00
246d6718c3 docs: Introduce project delivery automation ADR. This is still WIP (#51)
All checks were successful
Run Check Script / check (push) Successful in 1m52s
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/51
Co-authored-by: Jean-Gabriel Gill-Couture <jg@nationtech.io>
Co-committed-by: Jean-Gabriel Gill-Couture <jg@nationtech.io>
2025-06-12 20:00:22 +00:00
d776042e20 docs: Improve README formatting
All checks were successful
Run Check Script / check (push) Successful in 1m49s
Signed-off-by: johnride <jg@nationtech.io>
2025-06-12 18:23:17 +00:00
86c681be70 docs: New README, two options to choose from right now (#59)
All checks were successful
Run Check Script / check (push) Successful in 1m52s
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/59
Co-authored-by: Jean-Gabriel Gill-Couture <jg@nationtech.io>
Co-committed-by: Jean-Gabriel Gill-Couture <jg@nationtech.io>
2025-06-12 18:16:43 +00:00
b94dd1e595 feat: add support for custom CIDR ingress/egress rules (#60)
All checks were successful
Run Check Script / check (push) Successful in 1m53s
- Added `additional_allowed_cidr_ingress` and `additional_allowed_cidr_egress` fields to `TenantNetworkPolicy` to allow specifying custom CIDR blocks for network access.
- Updated K8sTenantManager to parse and apply these CIDR rules to NetworkPolicy ingress and egress rules.
- Added `cidr` dependency to `harmony_macros` and a custom proc macro `cidrv4` to easily parse CIDR strings.
- Updated TenantConfig to default inter tenant and internet egress to deny all and added default empty vectors for CIDR ingress and egress.
- Updated ResourceLimits to implement default.

Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/60
Co-authored-by: Jean-Gabriel Gill-Couture <jg@nationtech.io>
Co-committed-by: Jean-Gabriel Gill-Couture <jg@nationtech.io>
2025-06-12 15:24:03 +00:00
ef5ec4a131 Merge pull request 'feat: Pass configuration when initializing K8sAnywhereTopology' (#57) from feat/configK8sAnywhere into master
All checks were successful
Run Check Script / check (push) Successful in 1m47s
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/57
2025-06-10 13:01:50 +00:00
a8eb06f686 feat: Pass configuration when initializing K8sAnywhereTopology
All checks were successful
Run Check Script / check (push) Successful in 1m47s
Run Check Script / check (pull_request) Successful in 1m47s
2025-06-10 09:00:38 -04:00
d1678b529e Merge pull request 'feat: K8s Tenant looks good, basic isolation working now' (#56) from feat/k8sTenant into master
All checks were successful
Run Check Script / check (push) Successful in 1m57s
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/56
2025-06-10 12:59:13 +00:00
1451260d4d feat: K8s Tenant looks good, basic isolation working now
All checks were successful
Run Check Script / check (push) Successful in 1m48s
Run Check Script / check (pull_request) Successful in 1m48s
2025-06-09 20:39:15 -04:00
415488ba39 feat: K8s apply function now correctly emulates kubectl apply behavior by either creating or updating resources (#55)
Some checks failed
Run Check Script / check (push) Has been cancelled
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/55
Co-authored-by: Jean-Gabriel Gill-Couture <jg@nationtech.io>
Co-committed-by: Jean-Gabriel Gill-Couture <jg@nationtech.io>
2025-06-09 20:19:54 +00:00