Skip to content
Snippets Groups Projects
Commit f0a2ba13 authored by anne.matthes's avatar anne.matthes
Browse files

Add envsubst to fix gitlab-ci

parent ebb89a81
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,8 @@ deploy:
tags:
- kubernetes
script:
- helm upgrade -i manifest-service helm/manifest-service -f helm/values/develop.yaml
- envsubst < helm/values/develop.yaml > values.yaml
- helm upgrade -i manifest-service helm/manifest-service -f values.yaml
- kubectl rollout restart deployment manifest-service
environment:
name: $CI_COMMIT_REF_SLUG
......
......@@ -44,7 +44,7 @@ app.use(apiMetrics({ excludeRoutes: ignorePaths }))
app.use('/api-docs', swaggerUi.serve, swaggerUi.setup(swaggerDocument))
app.use('/swagger.json', (req, res) => res.json(swaggerDocument))
const urls = yaml.load(fs.readFileSync('./config/manifests/url.yaml', 'utf8')).manifests
const urls = yaml.load(fs.readFileSync('./config/manifests/urls.yaml', 'utf8')).manifests
app.get('/api/manifest.json', async (req, res, next) => {
try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment