Compare commits
3 Commits
6224fcfcea
...
6396cc88f8
| Author | SHA1 | Date |
|---|---|---|
|
|
6396cc88f8 | 1 month ago |
|
|
9244abde43 | 1 month ago |
|
|
f4eb17a6fc | 1 month ago |
6 changed files with 82 additions and 43 deletions
@ -0,0 +1,42 @@ |
|||||
|
name: Release |
||||
|
|
||||
|
on: |
||||
|
push: |
||||
|
tags: |
||||
|
- 'v*' |
||||
|
|
||||
|
permissions: |
||||
|
contents: write |
||||
|
|
||||
|
jobs: |
||||
|
release: |
||||
|
runs-on: ubuntu-latest |
||||
|
container: |
||||
|
image: fedora:latest |
||||
|
|
||||
|
steps: |
||||
|
- name: Install dependencies |
||||
|
run: dnf install -y butane yq make git tar findutils |
||||
|
|
||||
|
- name: Checkout |
||||
|
uses: actions/checkout@v4 |
||||
|
|
||||
|
- name: Create minimal local.bu for CI |
||||
|
run: | |
||||
|
cat > local.bu << 'EOF' |
||||
|
variant: fcos |
||||
|
version: 1.4.0 |
||||
|
EOF |
||||
|
|
||||
|
- name: Build packages |
||||
|
run: | |
||||
|
mkdir -p /tmp/output |
||||
|
make -C cookbooks package \ |
||||
|
PACKAGE_TARGET_DIR="/tmp/output" \ |
||||
|
PACKAGE_TARGET_FORMAT="ignition archive" |
||||
|
|
||||
|
- name: Upload artifacts to release |
||||
|
uses: softprops/action-gh-release@v2 |
||||
|
with: |
||||
|
files: /tmp/output/* |
||||
|
fail_on_unmatched_files: true |
||||
@ -0,0 +1,29 @@ |
|||||
|
[global] |
||||
|
# Network settings |
||||
|
address = ["127.0.0.1", "::1"] |
||||
|
ip_source = "rightmost_x_forwarded_for" |
||||
|
|
||||
|
# Paths |
||||
|
database_path = "/var/lib/tuwunel/db" |
||||
|
database_backup_path = "/var/lib/tuwunel/backup" |
||||
|
|
||||
|
# Registration |
||||
|
allow_registration = true |
||||
|
grant_admin_to_first_user = true |
||||
|
|
||||
|
# Login |
||||
|
login_via_existing_session = true |
||||
|
login_via_token = true |
||||
|
|
||||
|
# Federation |
||||
|
allow_federation = false |
||||
|
|
||||
|
# Logging |
||||
|
log = "info" |
||||
|
log_colors = false |
||||
|
|
||||
|
# Media Storage |
||||
|
[global.storage_provider.media.local] |
||||
|
base_path = "/var/lib/tuwunel/media" |
||||
|
delete_empty_directories = true |
||||
|
startup_check = true |
||||
Loading…
Reference in new issue