Skip to content

Commit

Permalink
Bump MediaWiki to v1.41.0 (#195)
Browse files Browse the repository at this point in the history
* Bump mediawiki docker image

* Require update

* the path is changed

* Bump main docker image

---------

Co-authored-by: Lens0021 / Leslie <[email protected]>
  • Loading branch information
femiwiki-bot and lens0021 authored Mar 1, 2024
1 parent f149ea2 commit 27645a7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/bump-mediawiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: Bump MW

on:
repository_dispatch:
types: [bump-mediawiki]
types: [bump-femiwiki]
workflow_dispatch:
inputs:
tag:
type: string

jobs:
bump-mediawiki:
bump-femiwiki:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
Expand Down Expand Up @@ -40,14 +40,14 @@ jobs:
cd jobs
hcledit attribute set -f fastcgi.nomad \
-u job.fastcgi.group.fastcgi.task.fastcgi.config.image \
'"ghcr.io/femiwiki/mediawiki:${{fromJSON(steps.vars.outputs.result).tag}}"'
'"ghcr.io/femiwiki/femiwiki:${{fromJSON(steps.vars.outputs.result).tag}}"'
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{secrets.BOT_TOKEN}}
commit-message: Bump mediawiki docker image
title: Bump MediaWiki docker image
commit-message: Bump femiwiki docker image
title: Bump femiwiki docker image
body: |
### pre-merge
Expand Down
4 changes: 2 additions & 2 deletions jobs/development/fastcgi.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ job "fastcgi" {
driver = "docker"

artifact {
source = "https://raw.githubusercontent.com/femiwiki/docker-mediawiki/main/configs/secret.php.example"
source = "https://raw.githubusercontent.com/femiwiki/docker-mediawiki/main/development/secret.php.example"
destination = "secrets/secrets.php"
mode = "file"
}
Expand Down Expand Up @@ -56,7 +56,7 @@ job "fastcgi" {
}

config {
image = "ghcr.io/femiwiki/mediawiki:latest"
image = "ghcr.io/femiwiki/femiwiki:latest"

volumes = [
"secrets/secrets.php:/a/secret.php",
Expand Down
2 changes: 1 addition & 1 deletion jobs/development/http.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ job "http" {
}

config {
image = "ghcr.io/femiwiki/mediawiki:latest"
image = "ghcr.io/femiwiki/femiwiki:latest"
command = "caddy"
args = ["run"]

Expand Down
4 changes: 2 additions & 2 deletions jobs/fastcgi.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ job "fastcgi" {
}

config {
image = "ghcr.io/femiwiki/mediawiki:2023-11-12T00-34-e178b385"
image = "ghcr.io/femiwiki/femiwiki:2024-03-01T15-31-d2df3a49"

volumes = [
"local/opcache-recommended.ini:/usr/local/etc/php/conf.d/opcache-recommended.ini",
Expand Down Expand Up @@ -116,7 +116,7 @@ job "fastcgi" {
NOMAD_UPSTREAM_ADDR_memcached = "127.0.0.1:11211"
MEDIAWIKI_SKIP_INSTALL = "1"
MEDIAWIKI_SKIP_IMPORT_SITES = "1"
MEDIAWIKI_SKIP_UPDATE = "1"
# MEDIAWIKI_SKIP_UPDATE = "1"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion jobs/http.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ job "http" {
}

config {
image = "ghcr.io/femiwiki/mediawiki:2023-08-08T16-05-84cfc3ac"
image = "ghcr.io/femiwiki/femiwiki:2024-03-01T16-44-bf545c30"
command = "caddy"
args = ["run"]

Expand Down

0 comments on commit 27645a7

Please sign in to comment.