Skip to content

Commit 68a573f

Browse files
committed
4184: Updated woodpecker configuration
1 parent 3ce606c commit 68a573f

File tree

3 files changed

+23
-17
lines changed

3 files changed

+23
-17
lines changed

.woodpecker/emnemodul_prod.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,22 @@ steps:
1919
from_secret: prod_emnemodul_host
2020
path:
2121
from_secret: prod_emnemodul_path
22+
uri:
23+
from_secret: prod_emnemodul_uri
2224
user:
2325
from_secret: user
2426
playbook: 'release'
2527
pre_up:
2628
# Fixes issue with 'Drupal\mysql\Driver\Database\mysql\Connection' not found
2729
- itkdev-docker-compose-server run --rm phpfpm composer2 dump-autoload
28-
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --yes cache:rebuild
29-
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --yes deploy
30-
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --yes locale:update
31-
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --yes locale:import --type=customized --override=none da /app/web/profiles/custom/os2loop/translations/translations.da.po
32-
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --yes cache:rebuild
30+
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --uri=$${PLUGIN_URI} --yes cache:rebuild
31+
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --uri=$${PLUGIN_URI} --yes deploy
32+
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --uri=$${PLUGIN_URI} --yes locale:update
33+
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --uri=$${PLUGIN_URI} --yes locale:import --type=customized --override=none da /app/web/profiles/custom/os2loop/translations/translations.da.po
34+
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --uri=$${PLUGIN_URI} --yes cache:rebuild
3335
cron:
3436
cron:
35-
minute: '47'
37+
minute: '08'
3638
hour: '*'
3739
day: '*'
3840
month: '*'

.woodpecker/loop_prod.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,22 @@ steps:
1919
from_secret: prod_loop_host
2020
path:
2121
from_secret: prod_loop_path
22+
uri:
23+
from_secret: prod_loop_uri
2224
user:
2325
from_secret: user
2426
playbook: 'release'
2527
pre_up:
2628
# Fixes issue with 'Drupal\mysql\Driver\Database\mysql\Connection' not found
2729
- itkdev-docker-compose-server run --rm phpfpm composer2 dump-autoload
28-
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --yes cache:rebuild
29-
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --yes deploy
30-
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --yes locale:update
31-
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --yes locale:import --type=customized --override=none da /app/web/profiles/custom/os2loop/translations/translations.da.po
32-
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --yes cache:rebuild
30+
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --uri=$${PLUGIN_URI} --yes cache:rebuild
31+
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --uri=$${PLUGIN_URI} --yes deploy
32+
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --uri=$${PLUGIN_URI} --yes locale:update
33+
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --uri=$${PLUGIN_URI} --yes locale:import --type=customized --override=none da /app/web/profiles/custom/os2loop/translations/translations.da.po
34+
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --uri=$${PLUGIN_URI} --yes cache:rebuild
3335
cron:
3436
cron:
35-
minute: '47'
37+
minute: '14'
3638
hour: '*'
3739
day: '*'
3840
month: '*'

.woodpecker/risikataloop_prod.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,19 @@ steps:
1919
from_secret: prod_risikataloop_host
2020
path:
2121
from_secret: prod_risikataloop_path
22+
uri:
23+
from_secret: prod_risikataloop_uri
2224
user:
2325
from_secret: user
2426
playbook: 'release'
2527
pre_up:
2628
# Fixes issue with 'Drupal\mysql\Driver\Database\mysql\Connection' not found
2729
- itkdev-docker-compose-server run --rm phpfpm composer2 dump-autoload
28-
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --yes cache:rebuild
29-
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --yes deploy
30-
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --yes locale:update
31-
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --yes locale:import --type=customized --override=none da /app/web/profiles/custom/os2loop/translations/translations.da.po
32-
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --yes cache:rebuild
30+
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --uri=$${PLUGIN_URI} --yes cache:rebuild
31+
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --uri=$${PLUGIN_URI} --yes deploy
32+
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --uri=$${PLUGIN_URI} --yes locale:update
33+
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --uri=$${PLUGIN_URI} --yes locale:import --type=customized --override=none da /app/web/profiles/custom/os2loop/translations/translations.da.po
34+
- itkdev-docker-compose-server run --rm phpfpm vendor/bin/drush --uri=$${PLUGIN_URI} --yes cache:rebuild
3335
cron:
3436
cron:
3537
minute: '23'

0 commit comments

Comments
 (0)