Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pipeline upgrade to nodejs v16 #3574

Open
wants to merge 37 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
3242cea
Fix pipeline
sabahirfan May 17, 2023
ffde08e
Fix pipeline
sabahirfan May 17, 2023
3160866
Fix failing tests
sabahirfan May 17, 2023
6f42e9c
Fix failing tests
sabahirfan May 17, 2023
c12a01c
Fix build
sabahirfan May 17, 2023
5525533
Temp skip failing tests
sabahirfan May 18, 2023
3a9698a
Fix build
sabahirfan May 18, 2023
7bfb540
Fix build
sabahirfan May 18, 2023
6566bd7
Fix build
sabahirfan May 18, 2023
993e92d
Fix build
sabahirfan May 18, 2023
abdb81d
Fix failing test
sabahirfan May 18, 2023
6644fe4
Update express version
sabahirfan May 19, 2023
2cb859e
update github link
zikrurR May 19, 2023
cfe3608
Remove package-lock
sabahirfan May 21, 2023
a640ead
add node 16 to integration test docker
zikrurR May 22, 2023
2e0eb5b
update version
sabahirfan May 22, 2023
a7cba3c
Merge branch 'feat/test-pipelines' of github.com:hmcts/cmc-citizen-fr…
sabahirfan May 22, 2023
e987699
upgrade test dependencies
sabahirfan May 22, 2023
0aa50b5
uskip failing tests
sabahirfan May 22, 2023
e2a3f32
Revert fix for the test
sabahirfan May 22, 2023
40f22bc
Upgrade dependencies
sabahirfan May 22, 2023
ba8679b
Fix: add catch to taskList builders
GorilaNaranja May 22, 2023
079a5e5
Add catch blocks
sabahirfan May 22, 2023
bb8b749
Upgrade chardet version
sabahirfan May 22, 2023
2e3445f
Update Dockerfile
sabahirfan May 22, 2023
524e3f1
Merge branch 'feat/test-pipelines' of https://github.com/hmcts/cmc-ci…
GorilaNaranja May 23, 2023
dbfa417
Fix: add try/catch tasklist controller
GorilaNaranja May 23, 2023
ae8eaa6
Fix: lint
GorilaNaranja May 23, 2023
b9c4e04
Update: downgrade mocha version
GorilaNaranja May 23, 2023
454d009
Revert "Update: downgrade mocha version"
GorilaNaranja May 23, 2023
6583cf2
Revert "Fix: lint"
GorilaNaranja May 23, 2023
2afea63
Revert "Fix: add try/catch tasklist controller"
GorilaNaranja May 23, 2023
7c128ec
FIx: lint
GorilaNaranja May 23, 2023
267ae96
Update: delete urllib3
GorilaNaranja May 24, 2023
823d478
Update: delete chardet
GorilaNaranja May 24, 2023
c8f5406
Revert "Update: delete chardet"
GorilaNaranja May 24, 2023
fae9a05
Update: delete chardet
GorilaNaranja May 24, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ node_modules/
.sass-cache
.cache
*.css
.history

.idea/
*.iml
Expand Down
9 changes: 9 additions & 0 deletions .mocharc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
'use strict';

module.exports = {
require: [
'ts-node/register',
'tsconfig-paths/register'
],
reporter: 'mochawesome'
};
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.19.1
16.0.0
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# ---- Base image ----
FROM hmctspublic.azurecr.io/base/node:14-alpine as base
FROM hmctspublic.azurecr.io/base/node:16-alpine as base

ENV PUPPETEER_SKIP_DOWNLOAD=true
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true

USER root
RUN corepack enable
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
This is the frontend application for CMC. Service provides web UI for citizens, presented as sequence of HTML 5 web pages designed to GDS Service Design guidelines, so that they can make money claims and / or perform associated actions e.g submitting defence or requesting default judgement.

Service delegates most of the non UI responsibilities to underlying services e.g. claim-store or pdf-service.

### Getting Started

### Prerequisites
Expand Down Expand Up @@ -125,5 +125,4 @@ We get a fully functional environment in Azure Kubernetes (AKS) per pull request
info see: https://tools.hmcts.net/confluence/display/ROC/AKS+-+Azure+Managed+Kubernetes

## License ##

This project is licensed under the MIT License - see the [LICENSE](LICENSE.txt) file for details
2 changes: 1 addition & 1 deletion integration-tests.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM hmctspublic.azurecr.io/base/node:14-alpine
FROM hmctspublic.azurecr.io/base/node:16-alpine

USER root

Expand Down
Loading