Skip to content

Commit

Permalink
Convert to Dockworker 6.x
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobSanford committed Jun 28, 2024
1 parent 693821f commit 7f872d2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/deployment-workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: drupal.redis.lib.unb.ca
name: Deploy drupal.redis.lib.unb.ca

on:
pull_request:
Expand All @@ -7,15 +7,16 @@ on:

jobs:
deploy:
uses: unb-libraries/dockworker/.github/workflows/deployment-workflow.yaml@5.x
uses: unb-libraries/dockworker/.github/workflows/build-push-deploy-notify.yaml@6.x
with:
branch-env-map: '{"dev":"dev","prod":"prod"}'
build-themes: false
deploy-branches: '["dev","prod"]'
image-name: 'ghcr.io/unb-libraries/drupal.redis.lib.unb.ca'
k8s-deployment-name: 'drupal-redis-lib-unb-ca'
push-branches: '["dev","prod"]'
secrets:
DOCKER_CLOUD_ACCESS_TOKEN: ${{ secrets.DOCKER_CLOUD_ACCESS_TOKEN }}
DOCKER_CLOUD_USER_NAME: ${{ secrets.DOCKER_CLOUD_USER_NAME }}
GH_CONTAINER_REGISTRY_TOKEN: ${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }}
GH_CONTAINER_REGISTRY_USER: ${{ secrets.GH_CONTAINER_REGISTRY_USER }}
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }}
NEW_RELIC_ACCOUNT_ID: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
NEW_RELIC_API_KEY: ${{ secrets.NEW_RELIC_API_KEY }}
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG_DATA }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
GH_CONTAINER_REGISTRY_USER: ${{ secrets.GH_CONTAINER_REGISTRY_USER }}
GH_CONTAINER_REGISTRY_TOKEN: ${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }}
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true
},
"preferred-install": {
"*": "dist"
Expand All @@ -13,11 +14,11 @@
"name": "unb-libraries/drupal.redis.lib.unb.ca",
"prefer-stable": true,
"require-dev": {
"unb-libraries/dockworker": "^5"
"unb-libraries/dockworker": "^6"
},
"scripts": {
"post-update-cmd": [
"vendor/bin/dockworker dockworker:git:setup-hooks"
"vendor/bin/dockworker git:setup-hooks"
]
}
}

0 comments on commit 7f872d2

Please sign in to comment.