Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andyjmaclean committed Apr 3, 2024
1 parent 38faabc commit 22847fe
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/deploy-image.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: '- helper (image deployment)'
on: workflow_call
#env:
# APP_IMAGE: europeana/statistics-dashboard:${{ github.event.inputs.tag_name || 'develop' }}
jobs:
deploy-image:
runs-on: ubuntu-latest
Expand All @@ -18,7 +16,6 @@ jobs:
- run: |
mv env_file/env_file deployment/${{ github.event.inputs.deploy_environment }}
- run: |
tag=${{ github.event.inputs.tag_name || 'develop' }}
TAG_ESCAPED=${tag//[\/]/_}
Expand All @@ -31,18 +28,10 @@ jobs:
tokenSuffix: '}#'
files: '["deployment/${{ github.event.inputs.deploy_environment }}/*.yaml"]'
env:
#APP_IMAGE: ${{ env.APP_IMAGE }}
#APP_IMAGE: ${{ env.TAG_ESCAPED }}
APP_IMAGE: europeana/statistics-dashboard:${{ env.TAG_ESCAPED }}

MAX_REPLICAS: '4'
MIN_REPLICAS: '2'
UTILISATION_AVERAGE_PERCENT: '75'
- run: |
ls -l deployment/${{ github.event.inputs.deploy_environment }}
echo TAG_ESCAPED ${{ env.TAG_ESCAPED }}
- run: cat deployment/${{ github.event.inputs.deploy_environment }}/deployment.yaml
- run: cat deployment/${{ github.event.inputs.deploy_environment }}/hpa.yaml

- name: Install IBM Cloud CLI
run: |
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/node.js.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ jobs:
node-version: '18.18.0'
- run: npm install
- run: npm run dist-localised

#- run: mkdir tmp-dir && mv dist tmp-dir/ && mv tmp-dir dist
- uses: actions/upload-artifact@master
with:
name: dist
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/run-sonar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,3 @@ jobs:
-Dsonar.sources=src/app
-Dsonar.exclusions=src/**/_mocked/**
-Dsonar.javascript.lcov.reportPaths=./lcov.info/lcov.info
#-Dsonar.javascript.lcov.reportPaths=lcov.info

0 comments on commit 22847fe

Please sign in to comment.