Skip to content

Commit

Permalink
Merge branch 'main' into GL-1067
Browse files Browse the repository at this point in the history
  • Loading branch information
rasikasri authored Sep 27, 2024
2 parents a3e72a2 + c99172f commit 27dc6e1
Show file tree
Hide file tree
Showing 38 changed files with 5,652 additions and 2,497 deletions.
11 changes: 2 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,20 +219,13 @@ workflows:
ssm_parameter: "/development/ADMIN_ECR_URL"
<<: *filter-not-main

- confirm-deploy-for-qa?:
type: approval
requires:
- test
- plan-terraform-dev
- build-and-push-dev
<<: *filter-not-main

- apply-terraform:
name: apply-terraform-dev
context: trade-tariff-terraform-aws-development
environment: development
requires:
- confirm-deploy-for-qa?
- write-docker-tag-dev
- build-and-push-dev
<<: *filter-not-main

- tariff/smoketests:
Expand Down
6 changes: 6 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
if ! has nix_direnv_version || ! nix_direnv_version 3.0.4; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4="
fi

watch_file gemset.nix
use flake
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ vendor
/node_modules
yarn-error.log
.byebug_history
.direnv
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ RSpec/MultipleExpectations:
Enabled: false
RSpec/NestedGroups:
Enabled: false
RSpec/NoExpectationExample:
Enabled: false
Rails/SaveBang:
Enabled: false
RSpec/FilePath:
Expand All @@ -48,5 +50,7 @@ Style/FrozenStringLiteralComment:
EnforcedStyle: never
Style/GuardClause:
MinBodyLength: 2
Style/InverseMethods:
Enabled: false
Style/StringLiterals:
EnforcedStyle: single_quotes
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ ENV RAILS_SERVE_STATIC_FILES=true \
COPY --from=builder /app /app
COPY --from=builder /usr/local/bundle/ /usr/local/bundle/


RUN bundle config set without 'development test'
RUN addgroup -S tariff && \
adduser -S tariff -G tariff && \
chown -R tariff:tariff /app && \
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ end

group :development do
gem 'rubocop-govuk'
gem 'solargraph'
end

group :test do
Expand Down
Loading

0 comments on commit 27dc6e1

Please sign in to comment.