forked from fediversity/fediversity
Compare commits
8 commits
9e32af4257
...
d2759ae4b2
| Author | SHA1 | Date | |
|---|---|---|---|
| d2759ae4b2 | |||
| 586be6f309 | |||
| aafc4069d5 | |||
| 035558faec | |||
| 4f661adbc4 | |||
| 715da01e90 | |||
| d9f8b3c48c | |||
| 590d5a747e |
11 changed files with 29 additions and 7 deletions
|
|
@ -1,3 +1,5 @@
|
|||
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
|
||||
|
||||
when:
|
||||
- event: manual
|
||||
- event: push
|
||||
|
|
@ -7,16 +9,12 @@ steps:
|
|||
- name: build
|
||||
image: nixos/nix
|
||||
commands:
|
||||
- whoami
|
||||
- pwd
|
||||
- ls
|
||||
- env
|
||||
- |
|
||||
mkdir -p ~/.ssh
|
||||
echo "$CD_SSH_KEY" > ~/.ssh/id_ed25519
|
||||
ls -l ~/.ssh/id_ed25519
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
- bash -c "nix-shell -p strace --run 'strace -f -o ssh-agent.log ssh-agent -s'"
|
||||
- nix-shell -p strace --run 'strace -f -o ssh-agent.log ssh-agent -s'
|
||||
- cat ssh-agent.log
|
||||
- |
|
||||
eval "$(ssh-agent -s)"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
|
||||
|
||||
when:
|
||||
- event: manual
|
||||
- event: pull_request
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
|
||||
|
||||
when:
|
||||
- event: manual
|
||||
- event: pull_request
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
|
||||
|
||||
when:
|
||||
- event: manual
|
||||
- event: pull_request
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
|
||||
|
||||
when:
|
||||
- event: manual
|
||||
- event: pull_request
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
|
||||
|
||||
when:
|
||||
- event: manual
|
||||
- event: pull_request
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
|
||||
|
||||
when:
|
||||
- event: manual
|
||||
- event: pull_request
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
|
||||
|
||||
when:
|
||||
- event: manual
|
||||
- event: pull_request
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
|
||||
|
||||
when:
|
||||
- event: manual
|
||||
- event: pull_request
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
|
||||
|
||||
when:
|
||||
- event: manual
|
||||
- event: push
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@
|
|||
WOODPECKER_SERVER=localhost:9000
|
||||
WOODPECKER_USERNAME=x-oauth-basic
|
||||
WOODPECKER_HOSTNAME=https://woodpecker.fediversity.eu
|
||||
WOODPECKER_MAX_WORKFLOWS=4
|
||||
WOODPECKER_MAX_WORKFLOWS=5
|
||||
WOODPECKER_LOG_LEVEL=info
|
||||
WOODPECKER_DEBUG_PRETTY=false
|
||||
WOODPECKER_DEBUG_NOCOLOR=true
|
||||
|
|
@ -202,8 +202,8 @@
|
|||
};
|
||||
|
||||
networking = {
|
||||
nftables.enable = lib.mkForce false;
|
||||
firewall = {
|
||||
enable = lib.mkForce true;
|
||||
allowedTCPPorts = [
|
||||
22
|
||||
80
|
||||
|
|
@ -215,6 +215,8 @@
|
|||
allowedTCPPorts = [ 53 ];
|
||||
};
|
||||
};
|
||||
# helps make sure DNS resolves from the containers
|
||||
nftables.enable = lib.mkForce false;
|
||||
};
|
||||
|
||||
virtualisation.podman = {
|
||||
|
|
@ -223,6 +225,10 @@
|
|||
enable = true;
|
||||
dates = "weekly";
|
||||
};
|
||||
defaultNetwork.settings = {
|
||||
dns_enabled = true;
|
||||
ipv6_enabled = true;
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue