Skip to content

Commit 6552cc6

Browse files
committed
Merge branch 'hotfix/1.8.6'
2 parents 2668ae2 + a10780d commit 6552cc6

4 files changed

Lines changed: 55 additions & 2 deletions

File tree

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ when:
33

44
skip_clone: true
55

6+
labels:
7+
zone: CLOUD
8+
69
steps:
710
- name: Ansible playbook
811
image: itkdev/ansible-plugin:1
@@ -13,9 +16,9 @@ steps:
1316
secret:
1417
from_secret: secret
1518
host:
16-
from_secret: host
19+
from_secret: prod_host
1720
path:
18-
from_secret: path
21+
from_secret: prod_path
1922
user:
2023
from_secret: user
2124
keep: 4

.woodpecker/stg.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
when:
2+
- branch: release/*
3+
event: push
4+
5+
skip_clone: true
6+
7+
labels:
8+
zone: DMZ
9+
10+
steps:
11+
- name: Run stg site update
12+
image: itkdev/ansible-plugin:1
13+
when:
14+
branch: release/*
15+
event: push
16+
pull: true
17+
settings:
18+
id:
19+
from_secret: id
20+
secret:
21+
from_secret: secret
22+
host:
23+
from_secret: stg_host
24+
path:
25+
from_secret: stg_path
26+
user:
27+
from_secret: user
28+
actions:
29+
- git reset --hard
30+
- git fetch origin ${CI_COMMIT_BRANCH}
31+
- git checkout ${CI_COMMIT_BRANCH}
32+
- git pull
33+
- itkdev-docker-compose-server up -d --force-recreate --remove-orphans
34+
- itkdev-docker-compose-server exec phpfpm composer install --no-dev -o
35+
- itkdev-docker-compose-server exec phpfpm bin/console doctrine:migrations:migrate --no-interaction
36+
- itkdev-docker-compose-server exec phpfpm bin/console messenger:setup-transports
37+
- itkdev-docker-compose-server exec phpfpm bin/console cache:clear

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.8.6] - 2025-03-10
11+
12+
- Update woodpecker config with labels and STG deploy
13+
1014
## [1.8.5] - 2025-02-14
1115

1216
- Change to `composer/semver` to fix advisories mapping

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# DevOps - ITKsites
22

3+
[![Woodpecker](https://img.shields.io/badge/woodpecker-prod|stg-blue.svg?style=flat-square&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTEuMjYzIDIuNzQ0QzIuNDEgMy44MzIgMi44NDUgNC45MzIgNC4xMTggNS4wOGwuMDM2LjAwN2MtLjU4OC42MDYtMS4wOSAxLjQwMi0xLjQ0MyAyLjQyMy0uMzggMS4wOTYtLjQ4OCAyLjI4NS0uNjE0IDMuNjU5LS4xOSAyLjA0Ni0uNDAxIDQuMzY0LTEuNTU2IDcuMjY5LTIuNDg2IDYuMjU4LTEuMTIgMTEuNjMuMzMyIDE3LjMxNy42NjQgMi42MDQgMS4zNDggNS4yOTcgMS42NDIgOC4xMDdhLjg1Ny44NTcgMCAwMC42MzMuNzQ0Ljg2Ljg2IDAgMDAuOTIyLS4zMjNjLjIyNy0uMzEzLjUyNC0uNzk3Ljg2LTEuNDI0Ljg0IDMuMzIzIDEuMzU1IDYuMTMgMS43ODMgOC42OTdhLjg2Ni44NjYgMCAwMDEuNTE3LjQxYzIuODgtMy40NjMgMy43NjMtOC42MzYgMi4xODQtMTIuNjc0LjQ1OS0yLjQzMyAxLjQwMi00LjQ1IDIuMzk4LTYuNTgzLjUzNi0xLjE1IDEuMDgtMi4zMTggMS41NS0zLjU2Ni4yMjgtLjA4NC41NjktLjMxNC43OS0uNDQxbDEuNzA3LS45ODEtLjI1NiAxLjA1MmEuODY0Ljg2NCAwIDAwMS42NzguNDA4bC42OC0yLjg1OCAxL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SA1LjQ0My0uOTU2IDEyLjQ5LTIuODM1IDE2Ljc4MmwtLjExNi4yNTktLjQ1Ny45ODJjLS4zNTYtMi4wMTQtLjg1LTMuOTUtMS4zMy01Ljg0LTEuMzgtNS40MDYtMi42OC0xMC41MTUtLjQwMS0xNi4yNTQgMS4yNDctMy4xMzcgMS40ODMtNS42OTIgMS42NzItNy43NDYuMTE2LTEuMjYzLjIxNi0yLjM1NS41MjYtMy4yNTIuOTA1LTIuNjA1IDMuMDYyLTMuMTc4IDQuNzQ0LTIuODUyIDEuNjMyLjMxNiAzLjI0IDEuNTkzIDMuMTU2IDMuNDJ6bS0yLjg2OC42MmExLjE3NyAxLjE3NyAwIDEwLjczNi0yLjIzNiAxLjE3OCAxLjE3OCAwIDEwLS43MzYgMi4yMzd6Ii8+PC9zdmc+Cg==)](https://woodpecker.itkdev.dk/repos/2)
4+
![GitHub Release](https://img.shields.io/github/v/release/itk-dev/devops_itksites?style=flat-square)
5+
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/itk-dev/devops_itksites/pr.yaml?style=flat-square)
6+
![Libraries.io dependency status for GitHub repo](https://img.shields.io/librariesio/github/itk-dev/devops_itksites?style=flat-square)
7+
![Codecov](https://img.shields.io/codecov/c/github/itk-dev/devops_itksites?style=flat-square)
8+
![GitHub last commit](https://img.shields.io/github/last-commit/itk-dev/devops_itksites?style=flat-square)
9+
![GitHub License](https://img.shields.io/github/license/itk-dev/devops_itksites?style=flat-square)
10+
11+
312
This is our internal server and site registration tool. It works in tandem with our
413
[ITK sites server harvester](https://github.com/itk-dev/devops_itkServerHarvest).
514
The harvester is installed by default on all servers, and runs at intervals and collects

0 commit comments

Comments
 (0)