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

Template changes 0803 #70

Merged
merged 267 commits into from Mar 11, 2024
Merged

Template changes 0803 #70

merged 267 commits into from Mar 11, 2024

Conversation

SimonMitchellMOJ
Copy link
Contributor

No description provided.

andrewrlee and others added 30 commits March 5, 2021 09:32
* Add new veracode scan for schedueled workflow

* Re-add - check_outdated job
…ks (#27)

* Updating dependencies and adding slack notifications to outdated checks

* Add slack orb
* Ensure that the `SLACK_ACCESS_TOKEN` env var is set for `check_outdated`

As the final step (on fail) is a slack notification we need to use a context containing the variable.

* Refactor the channel for alerts into parameters

This establishes a reusable pattern in case consumers wish to notify slack on other jobs.
The "medium" configuration was not an acceptable term, should be one of
"info", "low", "moderate", "high" or "critical". This meant that it
would not pick up on anything!
* Updating dependencies and node

* Use parameterised slack channel rather than default of typescript alerts channel

* Extracting out executor
* WFP-322 use the hmpps/node executor to build

* WFP-322 parameterise the node version in the executor

* WFP-322 use node version parameter in integration test image

* WFP-322 integration tests use new node_redis executor

Co-authored-by: Andrew Lee <1517745+andrewrlee@users.noreply.github.com>
* Deploy template project to template k8s namespace
* DT-2404: 💄 Switch to sign in / out instead of login / out

* DT-2404: 💄 Don't need .gitignore for husky any more
…ci), and weekly policy scan (upload to veracode portal). (#45)
psoleckimoj and others added 27 commits January 9, 2024 13:09
* Upgrade to GovUK 5 and MoJ 2.0

* Update sass command
* Update all non major NPM dependencies
* Update Node.js to v20.11.0
* Update dependency husky to v9
* Update MoJ frontend, dropping jQuery which is no longer required
* Remove unused static assets route: `govuk_frontend_toolkit` is not currently included
* Prevent renovate from updating `engines.node` and `engines.npm` in package.json because we’d usually want to stick to an LTS version rather than move to the latest
`node_modules/govuk-frontend/dist/components/` was missing `govuk/`
before `components/`, however we don't really need both the higher-level
and lower-level paths here. For greater consistency, just using the
higher-level path to enable a single clearly-namespaced route to each
GOV.UK and MOJ Nunjucks component makes more sense. The lower-level path
is often unused on projects that use this template

Imports should therefore look like this:

```njk
{% from "govuk/components/checkboxes/macro.njk" import govukCheckboxes %}
```

... and not this:

```njk
{% from "checkboxes/macro.njk" import govukCheckboxes %}
```
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update all non major NPM dependencies
* Use un-deprecated method to initialise husky
[changed in v9](https://github.com/typicode/husky/releases/tag/v9.0.1)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Move to Debian 12 / bookworm

* Fix PR number in Changelog
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@SimonMitchellMOJ SimonMitchellMOJ merged commit d43b3a2 into main Mar 11, 2024
4 checks passed
@SimonMitchellMOJ SimonMitchellMOJ deleted the template-changes-0803 branch March 11, 2024 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet