Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump MediaWiki to v1.41.0 #195

Merged
merged 4 commits into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading