Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-tool_lifecycle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-tool_lifecycle
Commits
8bb54012
Unverified
Commit
8bb54012
authored
2 years ago
by
Nina Herrmann
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #166 from learnweb/update/m41
Update for Moodle 4.1
parents
4572b040
1cca9a74
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.github/workflows/moodle-ci.yml
+24
-14
24 additions, 14 deletions
.github/workflows/moodle-ci.yml
templates/workflowoverview.mustache
+1
-1
1 addition, 1 deletion
templates/workflowoverview.mustache
version.php
+2
-2
2 additions, 2 deletions
version.php
with
27 additions
and
17 deletions
.github/workflows/moodle-ci.yml
+
24
−
14
View file @
8bb54012
...
...
@@ -8,16 +8,16 @@ jobs:
strategy
:
matrix
:
php
:
[
'
7.4
'
]
moodle-branch
:
[
'
MOODLE_40
0
_STABLE'
]
php
:
[
'
8.0
'
]
moodle-branch
:
[
'
MOODLE_40
1
_STABLE'
]
database
:
[
'
pgsql'
]
steps
:
-
name
:
Start PostgreSQL
run
:
docker run -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_HOST_AUTH_METHOD=trust -d postgres:1
0
run
:
docker run -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_HOST_AUTH_METHOD=trust -d postgres:1
4
-
name
:
Check out repository code
uses
:
actions/checkout@v
2
uses
:
actions/checkout@v
3
with
:
path
:
plugin
...
...
@@ -25,14 +25,15 @@ jobs:
uses
:
shivammathur/setup-php@v2
with
:
php-version
:
${{ matrix.php }}
ini-values
:
max_input_vars=5000
coverage
:
none
-
name
:
Get composer cache directory
id
:
composer-cache
run
:
echo "
::set-output name=
dir
::
$(composer config cache-files-dir)"
run
:
echo "dir
=
$(composer config cache-files-dir)"
>> $GITHUB_OUTPUT
-
name
:
Composer cache
uses
:
actions/cache@v
2
uses
:
actions/cache@v
3
with
:
path
:
${{ steps.composer-cache.outputs.dir }}
key
:
${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
...
...
@@ -40,7 +41,7 @@ jobs:
${{ runner.os }}-composer-
-
name
:
npm cache
uses
:
actions/cache@v
2
uses
:
actions/cache@v
3
with
:
path
:
~/.npm
key
:
${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
...
...
@@ -93,6 +94,7 @@ jobs:
-
name
:
Mustache Lint
if
:
${{ always() }}
run
:
moodle-plugin-ci mustache
continue-on-error
:
true
-
name
:
Grunt
if
:
${{ always() }}
...
...
@@ -105,9 +107,16 @@ jobs:
strategy
:
fail-fast
:
false
matrix
:
php
:
[
'
7.4
'
]
moodle-branch
:
[
'
MOODLE_3
9_STABLE'
,
'
MOODLE_310
_STABLE'
,
'
MOODLE_
311
_STABLE'
,
'
MOODLE_40
0
_STABLE'
]
php
:
[
'
8.0
'
]
moodle-branch
:
[
'
MOODLE_3
11
_STABLE'
,
'
MOODLE_
400
_STABLE'
,
'
MOODLE_40
1
_STABLE'
]
database
:
[
'
mariadb'
,
'
pgsql'
]
include
:
-
php
:
'
7.4'
moodle-branch
:
'
MOODLE_39_STABLE'
database
:
'
mariadb'
-
php
:
'
7.4'
moodle-branch
:
'
MOODLE_39_STABLE'
database
:
'
pgsql'
steps
:
-
name
:
Start MariaDB
...
...
@@ -116,10 +125,10 @@ jobs:
-
name
:
Start PostgreSQL
if
:
matrix.database == 'pgsql'
run
:
docker run -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_HOST_AUTH_METHOD=trust -d postgres:1
0
run
:
docker run -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_HOST_AUTH_METHOD=trust -d postgres:1
4
-
name
:
Check out repository code
uses
:
actions/checkout@v
2
uses
:
actions/checkout@v
3
with
:
path
:
plugin
...
...
@@ -127,20 +136,21 @@ jobs:
uses
:
shivammathur/setup-php@v2
with
:
php-version
:
${{ matrix.php }}
ini-values
:
max_input_vars=5000
coverage
:
none
-
name
:
Get composer cache directory
id
:
composer-cache
run
:
echo "
::set-output name=
dir
::
$(composer config cache-files-dir)"
run
:
echo "dir
=
$(composer config cache-files-dir)"
>> $GITHUB_OUTPUT
-
name
:
Composer cache
uses
:
actions/cache@v
2
uses
:
actions/cache@v
3
with
:
path
:
${{ steps.composer-cache.outputs.dir }}
key
:
${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys
:
|
${{ runner.os }}-composer-
-
name
:
npm cache
uses
:
actions/cache@v
2
uses
:
actions/cache@v
3
with
:
path
:
~/.npm
key
:
${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
...
...
This diff is collapsed.
Click to expand it.
templates/workflowoverview.mustache
+
1
−
1
View file @
8bb54012
...
...
@@ -15,7 +15,7 @@
along
with
Moodle.
If
not
,
see
<
http
:
//
www
.
gnu
.
org
/
licenses
/
>
.
}}
{{
!
@template
plugintype_pluginname
/
template_name
@template
tool_lifecycle
/
workflowoverview
Template
purpose
and
description.
...
...
This diff is collapsed.
Click to expand it.
version.php
+
2
−
2
View file @
8bb54012
...
...
@@ -25,7 +25,7 @@
defined
(
'MOODLE_INTERNAL'
)
||
die
;
$plugin
->
maturity
=
MATURITY_BETA
;
$plugin
->
version
=
2022
0422
00
;
$plugin
->
version
=
2022
1124
00
;
$plugin
->
component
=
'tool_lifecycle'
;
$plugin
->
requires
=
2020061500
;
// Requires Moodle 3.9+.
$plugin
->
release
=
'v4.
0
-r1'
;
$plugin
->
release
=
'v4.
1
-r1'
;
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