Skip to content

Commit

Permalink
emptyDir volume as a resource (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-benoit authored Nov 29, 2024
1 parent 0470405 commit a80a9f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ jobs:
--app ${{ env.HUMANITEC_APP_ID }} \
--env ${{ env.DEPLOYMENT_ENV }} \
-f ${{ env.SCORE_FILE }} \
--extensions humanitec.score.yaml \
--workload-source-url "https://github.com/${{ github.repository }}/blob/${{ github.ref_name }}/score.yaml" \
--image $CONTAINER_REGISTRY/$IMAGE:$TAG \
--message "${{ github.event.head_commit.message }}"
6 changes: 0 additions & 6 deletions humanitec.score.yaml

This file was deleted.

4 changes: 3 additions & 1 deletion score.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ containers:
${resources.env.GITHUB_APP_PRIVATE_KEY}
volumes:
- source: volumes.tmp
- source: ${resources.empty-dir}
target: /tmp
readOnly: false

Expand All @@ -73,3 +73,5 @@ resources:
port: 7007
db:
type: postgres
empty-dir:
type: volume

0 comments on commit a80a9f5

Please sign in to comment.