Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-12 | tests: setup-alpine: check for authorized_keys in lbu.list | Nick Hanley | |
setup-alpine doesn't add root/.ssh to lbu.list. Check for authorized_keys specifically. | |||
2022-07-12 | setup-alpine: fix typos | Nick Hanley | |
2022-07-12 | tests: lbu package pre/post hooks | Natanael Copa | |
add test to verify that pre/post package hooks are executed. | |||
2022-07-12 | lbu: add tests for lbu package | Natanael Copa | |
with and without encryption. This also tests if sysconfdir is actually set ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/77#note_246788 | |||
2022-07-12 | lbu: fix lbu status usage | Natanael Copa | |
2022-07-12 | lbu: fix lbu revert usage | Natanael Copa | |
2022-07-12 | lbu: fix test for lbu package usage | Natanael Copa | |
2022-07-12 | lbu: fix list-backup usage | Natanael Copa | |
2022-07-12 | lbu: fix package help text | Natanael Copa | |
2022-07-07 | setup-alpine: add ROOTSSHKEY to set ssh key for root | Natanael Copa | |
Allow setting root's ssh key from answer file Also add a test to verify that it gets included in lbu for disk install. ref commit 619f3a2d4de9 (setup-alpine: persist root authorized_keys) | |||
2022-07-07 | tests: setup-sshd: add test for SSH_KEY env var | Natanael Copa | |
Apparently we can set ssh key via SSH_KEY env var. make sure that it works. | |||
2022-07-06 | setup-interfaces: install bonding/bridge pkgs | Natanael Copa | |
The ifupdown-ng implementations are apparently just stubs. Partially reverts commit e9c6302edf1e (setup-interface: avoid install bridge/bonding with ifupdown-ng) | |||
2022-07-05 | setup-interface: avoid install bridge/bonding with ifupdown-ng | Natanael Copa | |
We don't need to install bridge or bonding packages with ifupdown-ng. | |||
2022-07-05 | setup-interfaces: don't install legacy vlan package | Natanael Copa | |
Don't install vlan package if ifupdown-ng package is used. Add tests for this. fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10495 | |||
2022-07-05 | setup-interfaces: mock apk add and test that vlan gets installed | Natanael Copa | |
test that vlan gets installed | |||
2022-07-05 | tests: setup-interfaces: add simple test for dhcp | Natanael Copa | |
2022-07-05 | setup-alpine: ask for NTP on qemu without kvm-clock | Natanael Copa | |
Ask for NTP when running qemu, but without kvm-clock source fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10508 | |||
2022-07-04 | setup-alpine: lbu add home directory for created user | Natanael Copa | |
make sure that we include the home directory to created user fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10517 | |||
2022-07-01 | setup-interfaces: use fake /sys/class/net for testing | Natanael Copa | |
this fixes the tests so we dont mix with the hosts network interfaces. | |||
2022-07-01 | libalpine.sh: add tests for available_ifaces | Natanael Copa | |
2022-07-01 | tests: libalpine: add tests for isin | Natanael Copa | |
2022-07-01 | setup-user: avoid eternal loop on adduser failure | Natanael Copa | |
Make sure we dont loop forever if adduser fails to create the user. fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10519 | |||
2022-07-01 | tests: add fake adduser | Natanael Copa | |
So we can simulate what happens when adduser fails ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10519 | |||
2022-07-01 | setup-alpine: add USERSSHKEY option to answerfile | Natanael Copa | |
Add a variable for user's ssh key, USERSSHKEY. We need this because the key is space separated and we want avoid parse USEROPTS with eval to handle quotes. fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10520 | |||
2022-07-01 | setup-alpine: update generated answerfile and add test | Natanael Copa | |
test that the generated answerfile actually is interactive | |||
2022-07-01 | tests: setup-apkcache: add test for 'none' | Natanael Copa | |
2022-07-01 | setup-ntp: fix non-interactive -c option | Natanael Copa | |
We should not prompt user when -c is specified, in which case $1 is empty. fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10522 | |||
2022-07-01 | setup-timezone: exit if 'none' is set as timezone | Natanael Copa | |
2022-07-01 | setup-disk: exit if either mode or disk is 'none' | Natanael Copa | |
2022-06-28 | lbu: add test for add/delete | Natanael Copa | |
2022-06-28 | lbu: add test for lbu list usage | Natanael Copa | |
2022-06-28 | lbu: add test for lbu diff usage | Natanael Copa | |
2022-06-28 | lbu: add tests for lbu exclude usage | Natanael Copa | |
2022-06-28 | lbu: add test for lbu commit usage | Natanael Copa | |
2022-06-28 | lbu: add test for lbu include usage | Natanael Copa | |
2022-06-28 | tests: fix test_usage to accept sub commands | Natanael Copa | |
so we can test things like `lbu commit` | |||
2022-06-28 | lbu: fix usage for top level | Natanael Copa | |
2022-06-28 | tests: add test for setup-user -u | Natanael Copa | |
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/72 | |||
2022-06-28 | tests: setup-disk: add test for -m none | Natanael Copa | |
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/75 | |||
2022-06-28 | tests: setup-keymap: add test for non-interactive 'none' | Natanael Copa | |
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/71 | |||
2022-06-28 | tests: setup-user: add test for -k opt | Natanael Copa | |
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/70 | |||
2022-06-28 | tests: make fake wget to error on missing/or empty url | Natanael Copa | |
2022-06-28 | tests: do not run atf_check in a subshell | Natanael Copa | |
We can not pipe to atf_shell as it will make it run in a subshell and will not handle failures properly. Fixes commit ab67ab0733c2 (setup-proxy: fix empty proxy) | |||
2022-06-28 | setup-proxy: fix empty proxy | psykose | |
the while loop loops until the value of proxyurl is none or a http*:// scheme. however, when proxyurl is set to 'none', it then gets unset here (`proxyurl= ;`), but the following `if` block checks if it is 'none' and fails, so we configure an empty http_proxy= in the proxy.sh profile script. this is then read by some software, and it causes it to crash. for instance, flatpak via glib reads `http_proxy` from the environment, and an empty variable is illegal. | |||
2022-05-24 | setup-sshd: fix backwards compat with -c | Natanael Copa | |
Do not enter interactive mode if -c was set, for backwards compatiblity. | |||
2022-05-24 | setup-xen-dom0: add test | Natanael Copa | |
2022-05-23 | setup-sshd: fix root login without ssh key | Natanael Copa | |
2022-05-23 | tests: add a fake openrc | Natanael Copa | |
setup-alpine conditionally runs some parts depending on `openrc --sys` output. Add a fake openrc so we can test this in the future. This also fixes the CI which may not have openrc installed. | |||
2022-05-23 | setup-alpine: add simple test for quick install | Natanael Copa | |
2022-05-23 | tests: setup-user: add test for suggested ssh key url | Natanael Copa | |