Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
php
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
webarch
php
Commits
27d79915
Verified
Commit
27d79915
authored
1 year ago
by
Chris Croome
Browse files
Options
Downloads
Plain Diff
Merge branch 'main' of git.coop:webarch/php
parents
40362ab1
b192edd1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#30317
passed
1 year ago
Stage: bookworm
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
tasks/pkg.yml
+14
-1
14 additions, 1 deletion
tasks/pkg.yml
tasks/sapi.yml
+2
-2
2 additions, 2 deletions
tasks/sapi.yml
with
17 additions
and
4 deletions
.gitlab-ci.yml
+
1
−
1
View file @
27d79915
...
...
@@ -30,7 +30,7 @@ stages:
-
bookworm
# - bullseye
bookworm
:
image
:
registry.git.coop/webarch/containers/images/bookworm:20231
016
image
:
registry.git.coop/webarch/containers/images/bookworm:20231
119
stage
:
bookworm
script
:
-
molecule test --all
...
...
This diff is collapsed.
Click to expand it.
tasks/pkg.yml
+
14
−
1
View file @
27d79915
...
...
@@ -155,6 +155,17 @@
( ( php_packages_removed_first_run.changed is defined ) and ( php_packages_removed_first_run.changed | bool ) ) or
( ( php_packages_removed_second_run.changed is defined ) and ( php_packages_removed_second_run.changed | bool ) ) )
-
name
:
Ensure that all required PHP packages are present
ansible.builtin.apt
:
pkg
:
"
{{
php_pkg_present
}}"
state
:
latest
dpkg_options
:
force-confmiss
update_cache
:
true
environment
:
UCF_FORCE_CONFFMISS
:
"
1"
when
:
php_pkg_present != []
register
:
php_packages_present
-
name
:
Re-read local facts after updating PHP packages
ansible.builtin.setup
:
filter
:
ansible_local
...
...
@@ -168,7 +179,9 @@
( ( php_dist_upgrade.changed is defined ) and
( php_dist_upgrade.changed | bool ) ) or
( ( php_apt_clean.changed is defined ) and
( php_apt_clean.changed | bool ) )
( php_apt_clean.changed | bool ) ) or
( ( php_packages_present.changed is defined ) and
( php_packages_present.changed | bool ) )
-
name
:
Set facts for PHP-FPM versions present
ansible.builtin.set_fact
:
...
...
This diff is collapsed.
Click to expand it.
tasks/sapi.yml
+
2
−
2
View file @
27d79915
...
...
@@ -79,9 +79,9 @@
-
name
:
"
{{
php_task_name
}}"
ansible.builtin.debug
:
var
:
php_mods_
proposed
var
:
php_mods_
enable
vars
:
php_task_name
:
"
Debug
PHP
{{
php_version.version
}}
mods
proposed
"
php_task_name
:
"
Debug
PHP
{{
php_version.version
}}
mods
enable
"
-
name
:
Fail as mods to be enabled are not available
ansible.builtin.fail
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment