Skip to content

Commit

Permalink
feat(ZCH-61): docker compose deploy (#85)
Browse files Browse the repository at this point in the history
* feat(ZCH-2): change workflows input and default value

* feat(ZCH-2): change workflows input and default value

* feat(ZCH-2): change workflows input and default value

* feat(ZCH-61): docker compose deploy

* feat(ZCH-61): docker compose deploy

* feat(ZCH-61): docker compose deploy
  • Loading branch information
martin-perosa-zupit authored Apr 2, 2024
1 parent a51eb8f commit 69a29b2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker-step-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,4 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: docker-compose --project-name ${{ inputs.PROJECT_NAME }} -f ${{ inputs.DOCKER_COMPOSE_PATH }} ${{ inputs.DOCKER_COMPOSE_EXTRA_ARGS }} pull
- run: docker-compose --project-name ${{ inputs.PROJECT_NAME }} -f ${{ inputs.DOCKER_COMPOSE_PATH }} ${{ inputs.DOCKER_COMPOSE_EXTRA_ARGS }} down --remove-orphans
- run: docker-compose --project-name ${{ inputs.PROJECT_NAME }} -f ${{ inputs.DOCKER_COMPOSE_PATH }} ${{ inputs.DOCKER_COMPOSE_EXTRA_ARGS }} up -d --build
- run: docker-compose --project-name ${{ inputs.PROJECT_NAME }} -f ${{ inputs.DOCKER_COMPOSE_PATH }} ${{ inputs.DOCKER_COMPOSE_EXTRA_ARGS }} up --build --remove-orphans --force-recreate -d
13 changes: 10 additions & 3 deletions .github/workflows/jira-add-description-to-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@ name: Add Jira description to pr
on:
workflow_call:
inputs:
LABELS:
required: true
RUN_ON:
required: false
type: string
default: 'zupit-agents'
RUNNERS_NATIVE_GROUP:
required: false
type: string
default: 'Native'

jobs:
jira-description:
runs-on: ${{ fromJson(inputs.LABELS) }}
runs-on:
labels: ${{ inputs.RUN_ON }}
group: ${{ inputs.RUNNERS_NATIVE_GROUP }}

steps:
- uses: cakeinpanic/[email protected]
Expand Down

0 comments on commit 69a29b2

Please sign in to comment.