nixos/.forgejo/workflows/deploy.yaml

55 lines
1.2 KiB
YAML
Raw Normal View History

feat: got the pipelines configured now Update .mailmap See if making it .mailmap fixes it Signed-off-by: silver <silver@skynet.ie> Add .forgejo/workflows/testing.yaml Update .forgejo/workflows/testing.yaml Update .forgejo/workflows/testing.yaml Update .forgejo/workflows/testing.yaml Update .forgejo/workflows/testing.yaml Update .forgejo/workflows/testing.yaml Update .forgejo/workflows/testing.yaml feat: initial test of flake update Signed-off-by: silver <silver@skynet.ie> test: seeing if I can push changes testing fix: set the url of the external plugin correctly Signed-off-by: silver <silver@skynet.ie> fix: go back to using nix fix: update command Signed-off-by: silver <silver@skynet.ie> Apply automatic changes revert 26c7781fad350452c70f23e0d6c004b0fe00ad14 revert Apply automatic changes test: add teh cache and colmena build Signed-off-by: silver <silver@skynet.ie> test: see if this helps Signed-off-by: silver <silver@skynet.ie> test: see if using another plugin will work Signed-off-by: silver <silver@skynet.ie> test: the cache key test: more testing Update .forgejo/workflows/update_input.yaml Update .forgejo/workflows/update_input.yaml test: s[pplit up teh build and cache propegation attic push --ignore-upstream-cache-filter mycache $(ls -d /nix/store/*/ | grep -v fake_nixpkgs) Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/update_input.yaml Update .forgejo/workflows/update_input.yaml Update .forgejo/workflows/update_input.yaml Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/update_input.yaml Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/update_input.yaml Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/update_input.yaml Update .forgejo/workflows/update_input.yaml Update .forgejo/workflows/update_input.yaml revert 35887a8fba8371f31503ede3793d6de5ca67bfe3 revert Update .forgejo/workflows/update_input.yaml Update .forgejo/workflows/update_input.yaml Signed-off-by: silver <silver@skynet.ie> fix: no need to upload in pipeline now, Signed-off-by: silver <silver@skynet.ie> ci: initial commit of the deploy pipeline Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/deploy.yaml Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/deploy.yaml Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/update_input.yaml Signed-off-by: silver <silver@skynet.ie> Updated flake for agenix test: force pipeline Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/update_input.yaml ci: testing if I can get this working right Signed-off-by: silver <silver@skynet.ie> Updated flake for arion revert b6cd168c384e7d1b0c8197414df89f672dded7e7 revert Updated flake for arion ci: more changes to see if this will help Signed-off-by: silver <silver@skynet.ie> Updated flake for arion revert da380ed0f449bdebeb87f8b44f195ed6fa095234 revert Updated flake for arion Update .forgejo/workflows/deploy.yaml Signed-off-by: silver <silver@skynet.ie> Updated flake for arion revert f0ee4a9e690021521ba1d83c20df39237ece7422 revert Updated flake for arion fix: reformatted flake ci: testing out deploy ci: testing out deploy, new ssh manager ci: more testing ci: see if going back to basics helps ci: test a few things ci: test a few things ci: for testing ci: more testing ci: some bastardisation for thbe ssh ci: more testing ci: check if setting root as teh user helps ci: check if setting root as teh user helps2 ci: check if setting root as teh user helps2 ci: check if setting root as teh user helps2 ci: more testing ci: more testing ci: more testing ci: more testing2 ci: more testing2 ci: more testing2 ci: more testing2 ci: more testing2 ci: more testing2 ci: clean up testing ci: final tests ci:: final, fixing ci: need logging ci: more testing ci: gahhhhhhhhhh ci: AAAAAAAAAAAAAAAAAA ci: lets go back ci: lets go backaaaaaaaa ci: lets go backaaaaaaaaqweadadsasdasdasdasd ci: lets go backaaaaaaaaqweadadsasdasdasdasd ci: add the final deploy config Add .forgejo/workflows/testing.yaml (cherry picked from commit f2cf71ef9836398fa2ad7ecc7c6c442edd6d70e5) Update .forgejo/workflows/testing.yaml (cherry picked from commit e156b61105689134d4ccf4b0df545e888977f515) Update .forgejo/workflows/testing.yaml (cherry picked from commit 80e1fcc545e1df4432c67790e66ec2a6a7f1aa37) Update .forgejo/workflows/testing.yaml (cherry picked from commit 423f2dd5b369c2ccd093b66637eb60c830357a56) Update .forgejo/workflows/testing.yaml (cherry picked from commit f446ba54433d894f82c05fae4a39350e223a6c6f) Update .forgejo/workflows/testing.yaml (cherry picked from commit 44a7186a4061aeff8182db97ae9e19e49501cea4) Update .forgejo/workflows/testing.yaml (cherry picked from commit ed0be4507a29b92ac62a255ec004c9594e4bb558)
2024-08-06 23:32:41 +00:00
name: Build_Deploy
on:
workflow_run:
workflows: [ "Update_Flake" ]
types:
- completed
push:
2024-08-11 17:47:18 +00:00
branches:
- 'main'
feat: got the pipelines configured now Update .mailmap See if making it .mailmap fixes it Signed-off-by: silver <silver@skynet.ie> Add .forgejo/workflows/testing.yaml Update .forgejo/workflows/testing.yaml Update .forgejo/workflows/testing.yaml Update .forgejo/workflows/testing.yaml Update .forgejo/workflows/testing.yaml Update .forgejo/workflows/testing.yaml Update .forgejo/workflows/testing.yaml feat: initial test of flake update Signed-off-by: silver <silver@skynet.ie> test: seeing if I can push changes testing fix: set the url of the external plugin correctly Signed-off-by: silver <silver@skynet.ie> fix: go back to using nix fix: update command Signed-off-by: silver <silver@skynet.ie> Apply automatic changes revert 26c7781fad350452c70f23e0d6c004b0fe00ad14 revert Apply automatic changes test: add teh cache and colmena build Signed-off-by: silver <silver@skynet.ie> test: see if this helps Signed-off-by: silver <silver@skynet.ie> test: see if using another plugin will work Signed-off-by: silver <silver@skynet.ie> test: the cache key test: more testing Update .forgejo/workflows/update_input.yaml Update .forgejo/workflows/update_input.yaml test: s[pplit up teh build and cache propegation attic push --ignore-upstream-cache-filter mycache $(ls -d /nix/store/*/ | grep -v fake_nixpkgs) Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/update_input.yaml Update .forgejo/workflows/update_input.yaml Update .forgejo/workflows/update_input.yaml Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/update_input.yaml Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/update_input.yaml Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/update_input.yaml Update .forgejo/workflows/update_input.yaml Update .forgejo/workflows/update_input.yaml revert 35887a8fba8371f31503ede3793d6de5ca67bfe3 revert Update .forgejo/workflows/update_input.yaml Update .forgejo/workflows/update_input.yaml Signed-off-by: silver <silver@skynet.ie> fix: no need to upload in pipeline now, Signed-off-by: silver <silver@skynet.ie> ci: initial commit of the deploy pipeline Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/deploy.yaml Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/deploy.yaml Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/update_input.yaml Signed-off-by: silver <silver@skynet.ie> Updated flake for agenix test: force pipeline Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/update_input.yaml ci: testing if I can get this working right Signed-off-by: silver <silver@skynet.ie> Updated flake for arion revert b6cd168c384e7d1b0c8197414df89f672dded7e7 revert Updated flake for arion ci: more changes to see if this will help Signed-off-by: silver <silver@skynet.ie> Updated flake for arion revert da380ed0f449bdebeb87f8b44f195ed6fa095234 revert Updated flake for arion Update .forgejo/workflows/deploy.yaml Signed-off-by: silver <silver@skynet.ie> Updated flake for arion revert f0ee4a9e690021521ba1d83c20df39237ece7422 revert Updated flake for arion fix: reformatted flake ci: testing out deploy ci: testing out deploy, new ssh manager ci: more testing ci: see if going back to basics helps ci: test a few things ci: test a few things ci: for testing ci: more testing ci: some bastardisation for thbe ssh ci: more testing ci: check if setting root as teh user helps ci: check if setting root as teh user helps2 ci: check if setting root as teh user helps2 ci: check if setting root as teh user helps2 ci: more testing ci: more testing ci: more testing ci: more testing2 ci: more testing2 ci: more testing2 ci: more testing2 ci: more testing2 ci: more testing2 ci: clean up testing ci: final tests ci:: final, fixing ci: need logging ci: more testing ci: gahhhhhhhhhh ci: AAAAAAAAAAAAAAAAAA ci: lets go back ci: lets go backaaaaaaaa ci: lets go backaaaaaaaaqweadadsasdasdasdasd ci: lets go backaaaaaaaaqweadadsasdasdasdasd ci: add the final deploy config Add .forgejo/workflows/testing.yaml (cherry picked from commit f2cf71ef9836398fa2ad7ecc7c6c442edd6d70e5) Update .forgejo/workflows/testing.yaml (cherry picked from commit e156b61105689134d4ccf4b0df545e888977f515) Update .forgejo/workflows/testing.yaml (cherry picked from commit 80e1fcc545e1df4432c67790e66ec2a6a7f1aa37) Update .forgejo/workflows/testing.yaml (cherry picked from commit 423f2dd5b369c2ccd093b66637eb60c830357a56) Update .forgejo/workflows/testing.yaml (cherry picked from commit f446ba54433d894f82c05fae4a39350e223a6c6f) Update .forgejo/workflows/testing.yaml (cherry picked from commit 44a7186a4061aeff8182db97ae9e19e49501cea4) Update .forgejo/workflows/testing.yaml (cherry picked from commit ed0be4507a29b92ac62a255ec004c9594e4bb558)
2024-08-06 23:32:41 +00:00
paths:
- applications/**/*
- machines/**/*
- secrets/**/*
- flake.*
- config/**/*
#- .forgejo/**/*
feat: got the pipelines configured now Update .mailmap See if making it .mailmap fixes it Signed-off-by: silver <silver@skynet.ie> Add .forgejo/workflows/testing.yaml Update .forgejo/workflows/testing.yaml Update .forgejo/workflows/testing.yaml Update .forgejo/workflows/testing.yaml Update .forgejo/workflows/testing.yaml Update .forgejo/workflows/testing.yaml Update .forgejo/workflows/testing.yaml feat: initial test of flake update Signed-off-by: silver <silver@skynet.ie> test: seeing if I can push changes testing fix: set the url of the external plugin correctly Signed-off-by: silver <silver@skynet.ie> fix: go back to using nix fix: update command Signed-off-by: silver <silver@skynet.ie> Apply automatic changes revert 26c7781fad350452c70f23e0d6c004b0fe00ad14 revert Apply automatic changes test: add teh cache and colmena build Signed-off-by: silver <silver@skynet.ie> test: see if this helps Signed-off-by: silver <silver@skynet.ie> test: see if using another plugin will work Signed-off-by: silver <silver@skynet.ie> test: the cache key test: more testing Update .forgejo/workflows/update_input.yaml Update .forgejo/workflows/update_input.yaml test: s[pplit up teh build and cache propegation attic push --ignore-upstream-cache-filter mycache $(ls -d /nix/store/*/ | grep -v fake_nixpkgs) Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/update_input.yaml Update .forgejo/workflows/update_input.yaml Update .forgejo/workflows/update_input.yaml Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/update_input.yaml Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/update_input.yaml Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/update_input.yaml Update .forgejo/workflows/update_input.yaml Update .forgejo/workflows/update_input.yaml revert 35887a8fba8371f31503ede3793d6de5ca67bfe3 revert Update .forgejo/workflows/update_input.yaml Update .forgejo/workflows/update_input.yaml Signed-off-by: silver <silver@skynet.ie> fix: no need to upload in pipeline now, Signed-off-by: silver <silver@skynet.ie> ci: initial commit of the deploy pipeline Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/deploy.yaml Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/deploy.yaml Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/update_input.yaml Signed-off-by: silver <silver@skynet.ie> Updated flake for agenix test: force pipeline Signed-off-by: silver <silver@skynet.ie> Update .forgejo/workflows/update_input.yaml ci: testing if I can get this working right Signed-off-by: silver <silver@skynet.ie> Updated flake for arion revert b6cd168c384e7d1b0c8197414df89f672dded7e7 revert Updated flake for arion ci: more changes to see if this will help Signed-off-by: silver <silver@skynet.ie> Updated flake for arion revert da380ed0f449bdebeb87f8b44f195ed6fa095234 revert Updated flake for arion Update .forgejo/workflows/deploy.yaml Signed-off-by: silver <silver@skynet.ie> Updated flake for arion revert f0ee4a9e690021521ba1d83c20df39237ece7422 revert Updated flake for arion fix: reformatted flake ci: testing out deploy ci: testing out deploy, new ssh manager ci: more testing ci: see if going back to basics helps ci: test a few things ci: test a few things ci: for testing ci: more testing ci: some bastardisation for thbe ssh ci: more testing ci: check if setting root as teh user helps ci: check if setting root as teh user helps2 ci: check if setting root as teh user helps2 ci: check if setting root as teh user helps2 ci: more testing ci: more testing ci: more testing ci: more testing2 ci: more testing2 ci: more testing2 ci: more testing2 ci: more testing2 ci: more testing2 ci: clean up testing ci: final tests ci:: final, fixing ci: need logging ci: more testing ci: gahhhhhhhhhh ci: AAAAAAAAAAAAAAAAAA ci: lets go back ci: lets go backaaaaaaaa ci: lets go backaaaaaaaaqweadadsasdasdasdasd ci: lets go backaaaaaaaaqweadadsasdasdasdasd ci: add the final deploy config Add .forgejo/workflows/testing.yaml (cherry picked from commit f2cf71ef9836398fa2ad7ecc7c6c442edd6d70e5) Update .forgejo/workflows/testing.yaml (cherry picked from commit e156b61105689134d4ccf4b0df545e888977f515) Update .forgejo/workflows/testing.yaml (cherry picked from commit 80e1fcc545e1df4432c67790e66ec2a6a7f1aa37) Update .forgejo/workflows/testing.yaml (cherry picked from commit 423f2dd5b369c2ccd093b66637eb60c830357a56) Update .forgejo/workflows/testing.yaml (cherry picked from commit f446ba54433d894f82c05fae4a39350e223a6c6f) Update .forgejo/workflows/testing.yaml (cherry picked from commit 44a7186a4061aeff8182db97ae9e19e49501cea4) Update .forgejo/workflows/testing.yaml (cherry picked from commit ed0be4507a29b92ac62a255ec004c9594e4bb558)
2024-08-06 23:32:41 +00:00
jobs:
linter:
runs-on: nix
steps:
- uses: actions/checkout@v4
- run: nix fmt -- --check .
#if: github.repository == 'Skynet/nixos'
build:
runs-on: nix
steps:
- uses: actions/checkout@v4
- run: nix develop
- run: colmena build -v --on @active-dns
- run: colmena build -v --on @active-core
- run: colmena build -v --on @active
- run: colmena build -v --on @active-ext
- run: colmena build -v --on @active-gitlab
deploy_dns:
runs-on: nix
needs: [ linter, build ]
steps:
- uses: actions/checkout@v4
- run: colmena apply -v --on @active-dns --show-trace
shell: bash
deploy_active:
strategy:
matrix:
batch: [ active-core, active, active-ext ]
runs-on: nix
needs: [ deploy_dns ]
steps:
- uses: actions/checkout@v4
- run: colmena apply -v --on @${{ matrix.batch }} --show-trace
shell: bash