Skip to content

Commit

Permalink
Merge pull request #28 from score-spec/no-need-dot-env
Browse files Browse the repository at this point in the history
With `score-k8s`, no need of `.env` anymore
  • Loading branch information
mathieu-benoit authored May 15, 2024
2 parents 7a57457 + 807caec commit cd31225
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
5 changes: 0 additions & 5 deletions .env

This file was deleted.

6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ help:
.PHONY: .FORCE
.FORCE:

include .env

CONTAINER_NAME = hello-world
CONTAINER_IMAGE = ${CONTAINER_NAME}:test
WORKLOAD_NAME = hello-world

compose.yaml: score.yaml
.score-compose/state.yaml:
score-compose init \
--no-sample

compose.yaml: score.yaml .score-compose/state.yaml Makefile
score-compose generate score.yaml \
--build '${CONTAINER_NAME}={"context":".","tags":["${CONTAINER_IMAGE}"]}' \
--override-property containers.${CONTAINER_NAME}.variables.MESSAGE="Hello, Compose!"
Expand Down

0 comments on commit cd31225

Please sign in to comment.