Skip to content

Commit

Permalink
upstream: upgrade nix, helm upstream, GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Aug 11, 2024
1 parent d362b2f commit 2257d9d
Show file tree
Hide file tree
Showing 8 changed files with 396 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .envrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
nix_direnv_watch_file "./nix/env.nix" "./nix/fmt.nix" "./nix/packages.nix" "./nix/shells.nix" "./nix/pre-commit.nix" "./flake.nix" "./parse.nix"
watch_file "./nix/env.nix" "./nix/fmt.nix" "./nix/packages.nix" "./nix/shells.nix" "./nix/pre-commit.nix" "./flake.nix" "./parse.nix"
use flake
22 changes: 13 additions & 9 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ on:
jobs:
precommit:
name: Pre-commit Check
runs-on: ubuntu-22.04
runs-on:
- nscloud-ubuntu-22.04-amd64-4x8-with-cache
- nscloud-cache-size-50gb
- nscloud-cache-tag-sulfoxide-lithium-nix-store-cache
- nscloud-git-mirror-1gb
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: AtomiCloud/[email protected]
- name: Run pre-commit
run: nix develop .#ci -c ./scripts/ci/pre-commit.sh

Expand All @@ -19,12 +21,14 @@ jobs:
needs:
- precommit
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
runs-on:
- nscloud-ubuntu-22.04-amd64-4x8-with-cache
- nscloud-cache-size-50gb
- nscloud-cache-tag-sulfoxide-lithium-releaser-nix-store-cache
- nscloud-git-mirror-1gb
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: rlespinasse/[email protected]
- uses: AtomiCloud/[email protected]
- uses: AtomiCloud/[email protected]
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ Helm chart to deploy operators for OTEL Collectors for infrastructure telemetry
| tags | object | `{"atomi.cloud/layer":"1","atomi.cloud/module":"operator","atomi.cloud/platform":"sulfoxide","atomi.cloud/service":"lithium"}` | Kubernetes labels and annotations, following Service Tree |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.1](https://github.com/norwoodj/helm-docs/releases/v1.11.1)
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
22 changes: 22 additions & 0 deletions chart/values.entei.amber.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
serviceTree:
landscape: &landscape entei
cluster: &cluster amber

tags: &tags
atomi.cloud/landscape: *landscape
atomi.cloud/cluster: *cluster

otel:
replicaCount: 3
manager:
resources:
requests:
cpu: 10m
memory: 32Mi
limits:
cpu: 200m
memory: 256Mi
podAnnotations:
<<: *tags
podLabels:
<<: *tags
22 changes: 22 additions & 0 deletions chart/values.entei.topaz.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
serviceTree:
landscape: &landscape entei
cluster: &cluster topaz

tags: &tags
atomi.cloud/landscape: *landscape
atomi.cloud/cluster: *cluster

otel:
replicaCount: 3
manager:
resources:
requests:
cpu: 10m
memory: 32Mi
limits:
cpu: 200m
memory: 256Mi
podAnnotations:
<<: *tags
podLabels:
<<: *tags
Loading

0 comments on commit 2257d9d

Please sign in to comment.