File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44skip_clone : true
55
6+ labels :
7+ zone : CLOUD
8+
69steps :
710 - name : Ansible playbook
811 image : itkdev/ansible-plugin:1
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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 11# DevOps - ITKsites
22
3+ [](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+
312This 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 ) .
514The harvester is installed by default on all servers, and runs at intervals and collects
You can’t perform that action at this time.
0 commit comments