Skip to content

Commit

Permalink
fix(devel): replace docker_compose env var with real command
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoscode committed Jul 10, 2023
1 parent 0b2e11f commit 187435b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/service-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
uses: veracode/veracode-uploadandscan-action@0.2.1
continue-on-error: true
with:
appname: 'project-managed-identity-wallets'
appname: 'project-managed-identity-wallet'
createprofile: false
filepath: 'build/libs/*' # add filepath for upload
vid: '${{ secrets.ORG_VERACODE_API_ID }}' # reference to API ID, which is set as github org. secret
Expand All @@ -93,4 +93,4 @@ jobs:
context: .
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest${{ env.TAG_SUFFIX }}, ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.APP_VERSION }}.${{ env.SHORT_SHA }}, ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.APP_VERSION }}${{ env.TAG_SUFFIX }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}
6 changes: 3 additions & 3 deletions .github/workflows/veracode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ jobs:
uses: veracode/veracode-uploadandscan-action@0.2.1
continue-on-error: true
with:
appname: 'project-managed-identity-wallets'
appname: 'project-managed-identity-wallet'
createprofile: false
filepath: 'build/install/org.eclipse.tractusx.managedidentitywallets/lib/*' # add filepath for upload
filepath: 'build/libs/*' # add filepath for upload
vid: '${{ secrets.ORG_VERACODE_API_ID }}' # reference to API ID, which is set as github org. secret
vkey: '${{ secrets.ORG_VERACODE_API_KEY }}' #reference to API Key in github, which is set as github or. secret
include: 'build/install/org.eclipse.tractusx.managedidentitywallets/lib/org.eclipse.tractusx.managedidentitywallets-*jar'
include: 'build/libs/miw-latest.jar'
4 changes: 2 additions & 2 deletions dev-assets/tasks/darwin/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ tasks:
cmds:
- cat postgres/db.sh.tpl | envsubst > postgres/db.sh
- chmod +x postgres/db.sh
- "$COMPOSE_COMMAND up {{.OPTIONS}} {{.CONTAINERS}}"
- "docker compose up {{.OPTIONS}} {{.CONTAINERS}}"

stop-middleware:
desc: Stop local Docker environment
dir: dev-assets/docker-environment
cmds:
- $COMPOSE_COMMAND down
- docker compose down
- cmd: docker volume remove docker-environment_postgres_data
ignore_error: true
- rm -f postgres/db.sh
Expand Down
4 changes: 2 additions & 2 deletions dev-assets/tasks/linux/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ tasks:
cmds:
- cat postgres/db.sh.tpl | envsubst > postgres/db.sh
- chmod +x postgres/db.sh
- "$COMPOSE_COMMAND up {{.OPTIONS}} {{.CONTAINERS}}"
- "docker compose up {{.OPTIONS}} {{.CONTAINERS}}"

stop-middleware:
desc: Stop local Docker environment
dir: dev-assets/docker-environment
cmds:
- $COMPOSE_COMMAND down
- docker compose down
- cmd: docker volume remove docker-environment_postgres_data
ignore_error: true
- rm -f postgres/db.sh
Expand Down

0 comments on commit 187435b

Please sign in to comment.