mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Merge pull request #126 from YunoHost/Update-to-bullseye
Update to bullseye
This commit is contained in:
commit
f9dafe3a41
4 changed files with 8 additions and 9 deletions
|
@ -101,13 +101,13 @@ Then test your packages :
|
||||||
Install the package `qemu-user-static` and `binfmt-support`, then list of all available images :
|
Install the package `qemu-user-static` and `binfmt-support`, then list of all available images :
|
||||||
|
|
||||||
```
|
```
|
||||||
lxc image list images:debian/buster
|
lxc image list images:debian/bullseye
|
||||||
```
|
```
|
||||||
|
|
||||||
Export the image of the architecture you want to run (for example armhf):
|
Export the image of the architecture you want to run (for example armhf):
|
||||||
|
|
||||||
```
|
```
|
||||||
lxc image export images:debian/buster/armhf
|
lxc image export images:debian/bullseye/armhf
|
||||||
```
|
```
|
||||||
|
|
||||||
This command will create two files.
|
This command will create two files.
|
||||||
|
|
|
@ -136,7 +136,7 @@ def level_5(tests):
|
||||||
@level(6, "App is in a community-operated git org")
|
@level(6, "App is in a community-operated git org")
|
||||||
def level_6(tests):
|
def level_6(tests):
|
||||||
"""
|
"""
|
||||||
The app is in the Yunohost-Apps organization
|
The app is in the YunoHost-Apps organization
|
||||||
(the linter will report a warning named "is_in_github_org" if it's not)
|
(the linter will report a warning named "is_in_github_org" if it's not)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Yunohost install parameters
|
# YunoHost install parameters
|
||||||
YUNO_PWD="admin"
|
YUNO_PWD="admin"
|
||||||
DOMAIN="domain.tld"
|
DOMAIN="domain.tld"
|
||||||
SUBDOMAIN="sub.$DOMAIN"
|
SUBDOMAIN="sub.$DOMAIN"
|
||||||
|
@ -9,9 +9,9 @@ TEST_USER="package_checker"
|
||||||
[[ -e "./config" ]] && source "./config"
|
[[ -e "./config" ]] && source "./config"
|
||||||
|
|
||||||
ARCH=${ARCH:-amd64}
|
ARCH=${ARCH:-amd64}
|
||||||
DIST=${DIST:-buster}
|
DIST=${DIST:-bullseye}
|
||||||
|
|
||||||
# Yunohost version: stable, testing or unstable
|
# YunoHost version: stable, testing or unstable
|
||||||
YNH_BRANCH=${YNH_BRANCH:-stable}
|
YNH_BRANCH=${YNH_BRANCH:-stable}
|
||||||
|
|
||||||
WORKER_ID=${WORKER_ID:-0}
|
WORKER_ID=${WORKER_ID:-0}
|
||||||
|
@ -20,8 +20,7 @@ LXC_NAME="ynh-appci-$DIST-$ARCH-$YNH_BRANCH-test-${WORKER_ID}"
|
||||||
|
|
||||||
readonly lock_file="./pcheck-${WORKER_ID}.lock"
|
readonly lock_file="./pcheck-${WORKER_ID}.lock"
|
||||||
|
|
||||||
DEFAULT_PHP_VERSION="7.3"
|
DEFAULT_PHP_VERSION="7.4"
|
||||||
[[ "$DIST" == "bullseye" ]] && DEFAULT_PHP_VERSION="7.4"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# LXC helpers
|
# LXC helpers
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
LXC_CREATE () {
|
LXC_CREATE () {
|
||||||
log_info "Launching new LXC $LXC_NAME ..."
|
log_info "Launching new LXC $LXC_NAME ..."
|
||||||
# Check if we can launch container from yunohost remote image
|
# Check if we can launch container from YunoHost remote image
|
||||||
if lxc remote list | grep -q "yunohost" && lxc image list yunohost:$LXC_BASE | grep -q -w $LXC_BASE; then
|
if lxc remote list | grep -q "yunohost" && lxc image list yunohost:$LXC_BASE | grep -q -w $LXC_BASE; then
|
||||||
lxc launch yunohost:$LXC_BASE $LXC_NAME \
|
lxc launch yunohost:$LXC_BASE $LXC_NAME \
|
||||||
-c security.nesting=true \
|
-c security.nesting=true \
|
||||||
|
|
Loading…
Add table
Reference in a new issue