Skip to content

Commit

Permalink
Merge branch 'main' into one-login
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-coggin authored Nov 6, 2023
2 parents 04a8a15 + ea80f70 commit 42eae8a
Show file tree
Hide file tree
Showing 22 changed files with 261 additions and 363 deletions.
4 changes: 0 additions & 4 deletions .docker-profile

This file was deleted.

40 changes: 20 additions & 20 deletions .github/workflows/content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,25 @@
# https://ey-recovery-pr-123.london.cloudapps.digital
#
name: Deploy Content App
on:
pull_request:
# branches:
# - main
types:
- labeled
- synchronize
paths-ignore:
- '**/*.md'
- .docker*
- .env.example
- .gitignore
- .pa11yci
- .tool-versions
- .yardopts
- bin/*
- docker-compose.*
- Dockerfile
- terraform
# on:
# pull_request:
# # branches:
# # - main
# types:
# - labeled
# - synchronize
# paths-ignore:
# - '**/*.md'
# - .docker*
# - .env.example
# - .gitignore
# - .pa11yci
# - .tool-versions
# - .yardopts
# - bin/*
# - docker-compose.*
# - Dockerfile
# - terraform

jobs:
deploy:
Expand All @@ -48,7 +48,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
-
name: Pin Terraform version
uses: hashicorp/setup-terraform@v2.0.3
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.1.7
-
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@
# https://ey-recovery-dev.london.cloudapps.digital
#
name: Deploy Development App
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- '**/*.md'
- .docker*
- .env.example
- .gitignore
- .pa11yci
- .tool-versions
- .yardopts
- bin/*
- docker-compose.*
- uml/*
# on:
# workflow_dispatch:
# push:
# branches:
# - main
# paths-ignore:
# - '**/*.md'
# - .docker*
# - .env.example
# - .gitignore
# - .pa11yci
# - .tool-versions
# - .yardopts
# - bin/*
# - docker-compose.*
# - uml/*

jobs:
deploy:
Expand All @@ -39,7 +39,7 @@ jobs:
# ref: ${{ github.sha }}
-
name: Pin Terraform version
uses: hashicorp/setup-terraform@v2.0.3
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.1.7
-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
echo "HEAD=$(git rev-parse ${{ inputs.version }})" >> $GITHUB_ENV
-
name: Pin Terraform version
uses: hashicorp/setup-terraform@v2.0.3
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.1.7
-
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@
# https://ey-recovery-staging.london.cloudapps.digital
#
name: Deploy Staging App
on:
workflow_dispatch:
inputs:
candidate:
description: Create release candidate version ("rcx.x.x")
type: string
required: true
ref:
description: Git ref or branch to deploy
type: string
required: true
default: main
push:
tags:
- rc*
# on:
# workflow_dispatch:
# inputs:
# candidate:
# description: Create release candidate version ("rcx.x.x")
# type: string
# required: true
# ref:
# description: Git ref or branch to deploy
# type: string
# required: true
# default: main
# push:
# tags:
# - rc*

jobs:
deploy:
Expand All @@ -48,7 +48,7 @@ jobs:
echo "HEAD=$(git rev-parse ${{ inputs.candidate }})" >> $GITHUB_ENV
-
name: Pin Terraform version
uses: hashicorp/setup-terraform@v2.0.3
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.1.7
-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/teardown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
-
name: Pin Terraform version
uses: hashicorp/setup-terraform@v2.0.3
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.1.7
-
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tf-azure-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

# Install the latest version of the Terraform CLI
- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.5.6
terraform_wrapper: false
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:

# Install the latest version of Terraform CLI and configure the Terraform CLI configuration file with a Terraform Cloud user API token
- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.5.6

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tf-azure-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

# Install the latest version of Terraform CLI and configure the Terraform CLI configuration file with a Terraform Cloud user API token
- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
uses: hashicorp/setup-terraform@v3

# Initialise a new or existing Terraform working directory by creating initial files, loading any remote state, downloading modules, etc.
- name: Terraform Init
Expand Down
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ ENV PUPPETEER_EXECUTABLE_PATH /usr/bin/chromium-browser
ENV APP_HOME /srv
ENV RAILS_ENV ${RAILS_ENV:-production}

COPY .docker-profile /root/.profile

RUN mkdir -p ${APP_HOME}/tmp/pids ${APP_HOME}/log

WORKDIR ${APP_HOME}
Expand Down
6 changes: 6 additions & 0 deletions app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ pre.code-tip {
font-weight: normal;
}

.govuk-fieldset__legend {
@include govuk-media-query($until: tablet) {
display: none;
}
}

.light-grey-box {
padding: govuk-spacing(5);
margin-bottom: govuk-spacing(5);
Expand Down
Loading

0 comments on commit 42eae8a

Please sign in to comment.