Removed unnecessary environments file
This commit is contained in:
@@ -90,14 +90,6 @@
|
|||||||
"with": "apps/dafa-web/src/environments/environment.api.ts"
|
"with": "apps/dafa-web/src/environments/environment.api.ts"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
|
||||||
"open-shift": {
|
|
||||||
"fileReplacements": [
|
|
||||||
{
|
|
||||||
"replace": "apps/dafa-web/src/environments/environment.ts",
|
|
||||||
"with": "apps/dafa-web/src/environments/environment.open-shift.ts"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
export const environment = {
|
|
||||||
environment: 'api',
|
|
||||||
clientId: '5d08c2e4-763e-42f6-b858-24e4773bb83d',
|
|
||||||
loginUrl: 'https://ciam-test.arbetsformedlingen.se:8443/uas/oauth2/authorization?response_type=code&scope=openid',
|
|
||||||
production: false,
|
|
||||||
api: {
|
|
||||||
url: '/api',
|
|
||||||
headers: {},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
2
openshift/dev/Jenkinsfile
vendored
2
openshift/dev/Jenkinsfile
vendored
@@ -95,7 +95,7 @@ pipeline {
|
|||||||
echo '### Building application... ###'
|
echo '### Building application... ###'
|
||||||
|
|
||||||
sh '''
|
sh '''
|
||||||
npm run build:open-shift
|
npm run build:api
|
||||||
cp -r nginx/* ${NGINX_PATH}
|
cp -r nginx/* ${NGINX_PATH}
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,6 @@
|
|||||||
"start:api": "ng serve dafa-web --configuration api",
|
"start:api": "ng serve dafa-web --configuration api",
|
||||||
"build": "ng build dafa-web",
|
"build": "ng build dafa-web",
|
||||||
"build:api": "ng build dafa-web --configuration api",
|
"build:api": "ng build dafa-web --configuration api",
|
||||||
"build:open-shift": "ng build dafa-web --configuration open-shift",
|
|
||||||
"test": "ng test dafa-web",
|
"test": "ng test dafa-web",
|
||||||
"release": "bash ./tools/release.sh",
|
"release": "bash ./tools/release.sh",
|
||||||
"release:dry": "bash ./tools/release.sh dry",
|
"release:dry": "bash ./tools/release.sh dry",
|
||||||
|
|||||||
Reference in New Issue
Block a user