diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 188f5c3..680f873 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,9 +22,8 @@ jobs: - name: humctl score validate run: | humctl score validate apps/${{ matrix.apps }}/score.yaml \ - --token ${{ secrets.HUMANITEC_TOKEN }} \ - --org ${{ secrets.HUMANITEC_ORG }} \ - --strict + --strict \ + --local score-compose: runs-on: ubuntu-24.04 env: diff --git a/.gitignore b/.gitignore index 5659e25..ad22193 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,4 @@ .score-compose/* -!.score-compose/00-service.provisioners.yaml compose.yaml .score-k8s/* -!.score-k8s/00-service.provisioners.yaml manifests.yaml \ No newline at end of file diff --git a/.score-compose/00-service.provisioners.yaml b/.score-compose/00-service.provisioners.yaml deleted file mode 100644 index a8bc855..0000000 --- a/.score-compose/00-service.provisioners.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- uri: template://service-provisioners/static-service - type: service - init: | - name: {{ splitList "." .Id | last }} - outputs: | - {{ $w := (index .WorkloadServices .Init.name) }} - name: {{ $w.ServiceName | quote }} \ No newline at end of file diff --git a/.score-k8s/00-service.provisioners.yaml b/.score-k8s/00-service.provisioners.yaml deleted file mode 100644 index a8bc855..0000000 --- a/.score-k8s/00-service.provisioners.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- uri: template://service-provisioners/static-service - type: service - init: | - name: {{ splitList "." .Id | last }} - outputs: | - {{ $w := (index .WorkloadServices .Init.name) }} - name: {{ $w.ServiceName | quote }} \ No newline at end of file diff --git a/Makefile b/Makefile index cd20127..7422c8c 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,8 @@ help: .score-compose/state.yaml: score-compose init \ - --no-sample + --no-sample \ + --provisioners https://raw.githubusercontent.com/score-spec/community-provisioners/refs/heads/main/score-compose/00-service.provisioners.yaml compose.yaml: apps/ad/score.yaml apps/cart/score.yaml apps/checkout/score.yaml apps/currency/score.yaml apps/email/score.yaml apps/frontend/score.yaml apps/loadgenerator/score.yaml apps/payment/score.yaml apps/productcatalog/score.yaml apps/recommendation/score.yaml apps/shipping/score.yaml .score-compose/state.yaml Makefile score-compose generate \ @@ -47,7 +48,8 @@ compose-down: .score-k8s/state.yaml: score-k8s init \ - --no-sample + --no-sample \ + --provisioners https://raw.githubusercontent.com/score-spec/community-provisioners/refs/heads/main/score-compose/00-service.provisioners.yaml manifests.yaml: apps/ad/score.yaml apps/cart/score.yaml apps/checkout/score.yaml apps/currency/score.yaml apps/email/score.yaml apps/frontend/score.yaml apps/loadgenerator/score.yaml apps/payment/score.yaml apps/productcatalog/score.yaml apps/recommendation/score.yaml apps/shipping/score.yaml .score-k8s/state.yaml Makefile score-k8s generate \