File tree 19 files changed +61
-0
lines changed
19 files changed +61
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ check "${HOME}/.local/share/vip-codespaces/login/001-welcome.sh exists" test -f
13
13
check " LD_PRELOAD is set correctly" sh -c ' echo "${LD_PRELOAD}" | grep -q "/usr/lib/libeatmydata/libeatmydata.so"'
14
14
check " /usr/lib/libeatmydata/libeatmydata.so exists" test -L /usr/lib/libeatmydata/libeatmydata.so
15
15
16
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/base/devcontainer-feature.json exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/base/devcontainer-feature.json
17
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/base/devcontainer-features.env exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/base/devcontainer-features.env
18
+
16
19
# Microsoft's base images contain zsh. We don't want to run this check for MS images because we have no control over the installed services.
17
20
if test -d /etc/rc2.d && ! test -e /usr/bin/zsh; then
18
21
dir=" $( ls -1 /etc/rc2.d) "
Original file line number Diff line number Diff line change @@ -8,7 +8,12 @@ check "/usr/local/bin/wp exists and is executable" test -x /usr/local/bin/wp
8
8
check " /usr/local/bin/wp.phar exists and is a symlink" test -L /usr/local/bin/wp.phar
9
9
check " /var/wpvip/fpm-cron-runner.php exists" test -f /var/wpvip/fpm-cron-runner.php
10
10
11
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/cron-control-runner/devcontainer-feature.json exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/cron-control-runner/devcontainer-feature.json
12
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/cron-control-runner/devcontainer-features.env exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/cron-control-runner/devcontainer-features.env
13
+
11
14
if [[ -d /etc/sv ]]; then
12
15
check " /etc/sv/cron-control-runner/run exists and is executable" test -x /etc/sv/cron-control-runner/run
13
16
check " /etc/service/cron-control-runner exists and is a symlink" test -L /etc/service/cron-control-runner
14
17
fi
18
+
19
+ reportResults
Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ check 'crond exists' which crond
8
8
check " crontab exists" which crontab
9
9
check " crontab has setuid or setgid bit" sh -c " stat -L -c %A /usr/bin/crontab | grep -F s"
10
10
11
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/cron/devcontainer-feature.json exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/cron/devcontainer-feature.json
12
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/cron/devcontainer-features.env exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/cron/devcontainer-features.env
13
+
11
14
# Microsoft's base images contain zsh. We don't want to run this check for MS images because we have no control over the installed services.
12
15
if test -d /etc/rc2.d && ! test -e /usr/bin/zsh; then
13
16
dir=" $( ls -1 /etc/rc2.d) "
Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ if [[ -d /etc/sv ]]; then
22
22
check " /etc/service/openbox exists and is a symlink" test -L /etc/service/openbox
23
23
fi
24
24
25
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/desktop-lite/devcontainer-feature.json exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/desktop-lite/devcontainer-feature.json
26
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/desktop-lite/devcontainer-features.env exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/desktop-lite/devcontainer-features.env
27
+
25
28
# Microsoft's base images contain zsh. We don't want to run this check for MS images because we have no control over the installed services.
26
29
if test -d /etc/rc2.d && ! test -e /usr/bin/zsh; then
27
30
dir=" $( ls -1 /etc/rc2.d) "
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ source dev-container-features-test-lib
5
5
6
6
check " /wp/wp-content/mu-plugins/dev-env-plugin.php exists" test -f /wp/wp-content/mu-plugins/dev-env-plugin.php
7
7
8
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/dev-tools/devcontainer-feature.json exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/dev-tools/devcontainer-feature.json
9
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/dev-tools/devcontainer-features.env exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/dev-tools/devcontainer-features.env
10
+
8
11
# Microsoft's base images contain zsh. We don't want to run this check for MS images because we have no control over the installed services.
9
12
if test -d /etc/rc2.d && ! test -e /usr/bin/zsh; then
10
13
dir=" $( ls -1 /etc/rc2.d) "
Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ if [[ -d /etc/sv ]]; then
9
9
check " /etc/service/elasticsearch is a symlink" test -L /etc/service/elasticsearch
10
10
fi
11
11
12
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/elasticsearch/devcontainer-feature.json exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/elasticsearch/devcontainer-feature.json
13
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/elasticsearch/devcontainer-features.env exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/elasticsearch/devcontainer-features.env
14
+
12
15
# Microsoft's base images contain zsh. We don't want to run this check for MS images because we have no control over the installed services.
13
16
if test -d /etc/rc2.d && ! test -e /usr/bin/zsh; then
14
17
dir=" $( ls -1 /etc/rc2.d) "
Original file line number Diff line number Diff line change @@ -5,3 +5,8 @@ source dev-container-features-test-lib
5
5
6
6
check " /var/lib/entrypoint.d exists" test -d /var/lib/entrypoint.d
7
7
check " /usr/local/bin/entrypoint-runner exists and is executable" test -x /usr/local/bin/entrypoint-runner
8
+
9
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/entrypoints/devcontainer-feature.json exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/entrypoints/devcontainer-feature.json
10
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/entrypoints/devcontainer-features.env exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/entrypoints/devcontainer-features.env
11
+
12
+ reportResults
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ if [[ -d /etc/sv ]]; then
10
10
check " /etc/service/mailpit is a symlink" test -L /etc/service/mailpit
11
11
fi
12
12
13
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/mailpit/devcontainer-feature.json exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/mailpit/devcontainer-feature.json
14
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/mailpit/devcontainer-features.env exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/mailpit/devcontainer-features.env
15
+
13
16
# Microsoft's base images contain zsh. We don't want to run this check for MS images because we have no control over the installed services.
14
17
if test -d /etc/rc2.d && ! test -e /usr/bin/zsh; then
15
18
dir=" $( ls -1 /etc/rc2.d) "
Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ if [[ -d /etc/sv ]]; then
9
9
check " /etc/service/mariadb is a symlink" test -L /etc/service/mariadb
10
10
fi
11
11
12
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/mariadb/devcontainer-feature.json exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/mariadb/devcontainer-feature.json
13
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/mariadb/devcontainer-features.env exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/mariadb/devcontainer-features.env
14
+
12
15
# Microsoft's base images contain zsh. We don't want to run this check for MS images because we have no control over the installed services.
13
16
if test -d /etc/rc2.d && ! test -e /usr/bin/zsh; then
14
17
dir=" $( ls -1 /etc/rc2.d) "
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ source dev-container-features-test-lib
5
5
6
6
check " mc exists" which mc
7
7
8
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/mc/devcontainer-feature.json exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/mc/devcontainer-feature.json
9
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/mc/devcontainer-features.env exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/mc/devcontainer-features.env
10
+
8
11
# Microsoft's base images contain zsh. We don't want to run this check for MS images because we have no control over the installed services.
9
12
if test -d /etc/rc2.d && ! test -e /usr/bin/zsh; then
10
13
dir=" $( ls -1 /etc/rc2.d) "
Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ if [[ -d /etc/sv ]]; then
9
9
check " /etc/service/memcached is a symlink" test -L /etc/service/memcached
10
10
fi
11
11
12
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/memcached/devcontainer-feature.json exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/memcached/devcontainer-feature.json
13
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/memcached/devcontainer-features.env exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/memcached/devcontainer-features.env
14
+
12
15
# Microsoft's base images contain zsh. We don't want to run this check for MS images because we have no control over the installed services.
13
16
if test -d /etc/rc2.d && ! test -e /usr/bin/zsh; then
14
17
dir=" $( ls -1 /etc/rc2.d) "
Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ if [[ -d /etc/sv ]]; then
18
18
check " /etc/service/nginx is a symlink" test -L /etc/service/nginx
19
19
fi
20
20
21
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/nginx/devcontainer-feature.json exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/nginx/devcontainer-feature.json
22
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/nginx/devcontainer-features.env exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/nginx/devcontainer-features.env
23
+
21
24
# Microsoft's base images contain zsh. We don't want to run this check for MS images because we have no control over the installed services.
22
25
if test -d /etc/rc2.d && ! test -e /usr/bin/zsh; then
23
26
dir=" $( ls -1 /etc/rc2.d) "
Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ if [[ -d /etc/sv ]]; then
30
30
check " /etc/service/php-fpm is a symlink" test -L /etc/service/php-fpm
31
31
fi
32
32
33
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/php/devcontainer-feature.json exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/php/devcontainer-feature.json
34
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/php/devcontainer-features.env exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/php/devcontainer-features.env
35
+
33
36
# Microsoft's base images contain zsh. We don't want to run this check for MS images because we have no control over the installed services.
34
37
if test -d /etc/rc2.d && ! test -e /usr/bin/zsh; then
35
38
dir=" $( ls -1 /etc/rc2.d) "
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ if [[ "$(id -u || true)" -eq 0 ]]; then
11
11
check " /etc/ssh/sshd_config.d/permit_root_login.conf exists" test -f /etc/ssh/sshd_config.d/permit_root_login.conf
12
12
fi
13
13
14
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/ssh/devcontainer-feature.json exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/ssh/devcontainer-feature.json
15
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/ssh/devcontainer-features.env exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/ssh/devcontainer-features.env
16
+
14
17
# Microsoft's base images contain zsh. We don't want to run this check for MS images because we have no control over the installed services.
15
18
if test -d /etc/rc2.d && ! test -e /usr/bin/zsh; then
16
19
dir=" $( ls -1 /etc/rc2.d) "
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ if [[ "$(id -u || true)" -eq 0 ]]; then
10
10
check " su-exec works (group)" sh -c ' su-exec bin:daemon id -gn | grep -F daemon'
11
11
fi
12
12
13
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/su-exec/devcontainer-feature.json exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/su-exec/devcontainer-feature.json
14
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/su-exec/devcontainer-features.env exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/su-exec/devcontainer-features.env
15
+
13
16
# Microsoft's base images contain zsh. We don't want to run this check for MS images because we have no control over the installed services.
14
17
if test -d /etc/rc2.d && ! test -e /usr/bin/zsh; then
15
18
dir=" $( ls -1 /etc/rc2.d) "
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ check "VIP CLI exists" which vip
7
7
check " vip-sync-db exists" test -x /usr/local/bin/vip-sync-db
8
8
check " VIP CLI can run" vip --version
9
9
10
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/vip-cli/devcontainer-feature.json exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/vip-cli/devcontainer-feature.json
11
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/vip-cli/devcontainer-features.env exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/vip-cli/devcontainer-features.env
12
+
10
13
# Microsoft's base images contain zsh. We don't want to run this check for MS images because we have no control over the installed services.
11
14
if test -d /etc/rc2.d && ! test -e /usr/bin/zsh; then
12
15
dir=" $( ls -1 /etc/rc2.d) "
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ check "rsync is executable" which rsync
7
7
check " git is executable" which git
8
8
check " /wp/wp-content/mu-plugins is a directory" test -d /wp/wp-content/mu-plugins
9
9
10
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/vip-go-mu-plugins/devcontainer-feature.json exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/vip-go-mu-plugins/devcontainer-feature.json
11
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/vip-go-mu-plugins/devcontainer-features.env exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/vip-go-mu-plugins/devcontainer-features.env
12
+
10
13
# Microsoft's base images contain zsh. We don't want to run this check for MS images because we have no control over the installed services.
11
14
if test -d /etc/rc2.d && ! test -e /usr/bin/zsh; then
12
15
dir=" $( ls -1 /etc/rc2.d) "
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ source dev-container-features-test-lib
5
5
6
6
check " wp-cli exists" test -x /usr/local/bin/wp
7
7
8
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/wp-cli/devcontainer-feature.json exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/wp-cli/devcontainer-feature.json
9
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/wp-cli/devcontainer-features.env exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/wp-cli/devcontainer-features.env
10
+
8
11
# Microsoft's base images contain zsh. We don't want to run this check for MS images because we have no control over the installed services.
9
12
if test -d /etc/rc2.d && ! test -e /usr/bin/zsh; then
10
13
dir=" $( ls -1 /etc/rc2.d) "
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ check "/usr/src/wordpress exists and is a directory" test -d /usr/src/wordpress
12
12
check " /usr/local/bin/setup-wptl exists and is executable" test -x /usr/local/bin/setup-wptl
13
13
check " /usr/local/bin/use-wptl exists and is executable" test -x /usr/local/bin/use-wptl
14
14
15
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/wptl/devcontainer-feature.json exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/wptl/devcontainer-feature.json
16
+ check " /usr/local/etc/vscode-dev-containers/vip-codespaces/wptl/devcontainer-features.env exists" test -f /usr/local/etc/vscode-dev-containers/vip-codespaces/wptl/devcontainer-features.env
17
+
15
18
# Microsoft's base images contain zsh. We don't want to run this check for MS images because we have no control over the installed services.
16
19
if test -d /etc/rc2.d && ! test -e /usr/bin/zsh; then
17
20
dir=" $( ls -1 /etc/rc2.d) "
You can’t perform that action at this time.
0 commit comments