forked from fediversity/fediversity
Compare commits
2 commits
c3df3e43b6
...
4df2ba9be7
| Author | SHA1 | Date | |
|---|---|---|---|
| 4df2ba9be7 | |||
| e123a9210f |
10 changed files with 91 additions and 43 deletions
11
.woodpecker/check-data-model.yaml
Normal file
11
.woodpecker/check-data-model.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
when:
|
||||||
|
- event: manual
|
||||||
|
- event: pull_request
|
||||||
|
- event: push
|
||||||
|
branch: main
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: check-data-model
|
||||||
|
image: bash
|
||||||
|
commands:
|
||||||
|
- nix-shell --run 'nix-unit ./deployment/data-model-test.nix'
|
||||||
11
.woodpecker/check-deployment-basic.yaml
Normal file
11
.woodpecker/check-deployment-basic.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
when:
|
||||||
|
- event: manual
|
||||||
|
- event: pull_request
|
||||||
|
- event: push
|
||||||
|
branch: main
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: check-deployment-basic
|
||||||
|
image: bash
|
||||||
|
commands:
|
||||||
|
- nix build .#checks.x86_64-linux.deployment-basic -L
|
||||||
11
.woodpecker/check-deployment-cli.yaml
Normal file
11
.woodpecker/check-deployment-cli.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
when:
|
||||||
|
- event: manual
|
||||||
|
- event: pull_request
|
||||||
|
- event: push
|
||||||
|
branch: main
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: check-deployment-cli
|
||||||
|
image: bash
|
||||||
|
commands:
|
||||||
|
- nix build .#checks.x86_64-linux.deployment-cli -L
|
||||||
11
.woodpecker/check-deployment-panel.yaml
Normal file
11
.woodpecker/check-deployment-panel.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
when:
|
||||||
|
- event: manual
|
||||||
|
- event: pull_request
|
||||||
|
- event: push
|
||||||
|
branch: main
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: check-deployment-panel
|
||||||
|
image: bash
|
||||||
|
commands:
|
||||||
|
- nix build .#checks.x86_64-linux.deployment-panel -L
|
||||||
11
.woodpecker/check-mastodon.yaml
Normal file
11
.woodpecker/check-mastodon.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
when:
|
||||||
|
- event: manual
|
||||||
|
- event: pull_request
|
||||||
|
- event: push
|
||||||
|
branch: main
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: check-mastodon
|
||||||
|
image: bash
|
||||||
|
commands:
|
||||||
|
- nix build .#checks.x86_64-linux.test-mastodon-service -L
|
||||||
11
.woodpecker/check-panel.yaml
Normal file
11
.woodpecker/check-panel.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
when:
|
||||||
|
- event: manual
|
||||||
|
- event: pull_request
|
||||||
|
- event: push
|
||||||
|
branch: main
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: check-panel
|
||||||
|
image: bash
|
||||||
|
commands:
|
||||||
|
- nix-build -A tests.panel
|
||||||
11
.woodpecker/check-peertube.yaml
Normal file
11
.woodpecker/check-peertube.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
when:
|
||||||
|
- event: manual
|
||||||
|
- event: pull_request
|
||||||
|
- event: push
|
||||||
|
branch: main
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: check-peertube
|
||||||
|
image: bash
|
||||||
|
commands:
|
||||||
|
- nix build .#checks.x86_64-linux.test-peertube-service -L
|
||||||
11
.woodpecker/check-pre-commit.yaml
Normal file
11
.woodpecker/check-pre-commit.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
when:
|
||||||
|
- event: manual
|
||||||
|
- event: pull_request
|
||||||
|
- event: push
|
||||||
|
branch: main
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: check-pre-commit
|
||||||
|
image: bash
|
||||||
|
commands:
|
||||||
|
- nix-build -A tests
|
||||||
|
|
@ -1,43 +0,0 @@
|
||||||
when:
|
|
||||||
- event: manual
|
|
||||||
- event: pull_request
|
|
||||||
- event: push
|
|
||||||
branch: main
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: build
|
|
||||||
image: bash
|
|
||||||
commands:
|
|
||||||
- nix-build -A tests
|
|
||||||
- name: check-pre-commit
|
|
||||||
image: bash
|
|
||||||
commands:
|
|
||||||
- nix-build -A tests
|
|
||||||
- name: check-data-model
|
|
||||||
image: bash
|
|
||||||
commands:
|
|
||||||
- nix-shell --run 'nix-unit ./deployment/data-model-test.nix'
|
|
||||||
- name: check-mastodon
|
|
||||||
image: bash
|
|
||||||
commands:
|
|
||||||
- nix build .#checks.x86_64-linux.test-mastodon-service -L
|
|
||||||
- name: check-peertube
|
|
||||||
image: bash
|
|
||||||
commands:
|
|
||||||
- nix build .#checks.x86_64-linux.test-peertube-service -L
|
|
||||||
- name: check-panel
|
|
||||||
image: bash
|
|
||||||
commands:
|
|
||||||
- nix-build -A tests.panel
|
|
||||||
- name: check-deployment-basic
|
|
||||||
image: bash
|
|
||||||
commands:
|
|
||||||
- nix build .#checks.x86_64-linux.deployment-basic -L
|
|
||||||
- name: check-deployment-cli
|
|
||||||
image: bash
|
|
||||||
commands:
|
|
||||||
- nix build .#checks.x86_64-linux.deployment-cli -L
|
|
||||||
- name: check-deployment-panel
|
|
||||||
image: bash
|
|
||||||
commands:
|
|
||||||
- nix build .#checks.x86_64-linux.deployment-panel -L
|
|
||||||
|
|
@ -17,6 +17,9 @@ in
|
||||||
{
|
{
|
||||||
hostName = config.fediversityVm.name;
|
hostName = config.fediversityVm.name;
|
||||||
domain = config.fediversityVm.domain;
|
domain = config.fediversityVm.domain;
|
||||||
|
hosts = {
|
||||||
|
"185.206.232.34" = [ "git.fediversity.eu" ];
|
||||||
|
};
|
||||||
|
|
||||||
## REVIEW: Do we actually need that, considering that we have static IPs?
|
## REVIEW: Do we actually need that, considering that we have static IPs?
|
||||||
useDHCP = mkDefault true;
|
useDHCP = mkDefault true;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue