Skip to content

Commit

Permalink
Merge pull request #489 from thiagobardini/public-view-langPref-local…
Browse files Browse the repository at this point in the history
…ization

Implementing i18n Localization and UI Enhancements
  • Loading branch information
thiagobardini authored Nov 6, 2023
2 parents 39be7c1 + dcd75c0 commit 42a39eb
Show file tree
Hide file tree
Showing 58 changed files with 3,338 additions and 1,694 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/deploy.yml

This file was deleted.

213 changes: 0 additions & 213 deletions .github/workflows/openshift.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,38 @@ jobs:
run: yarn test-style
- name: Run tests
run: yarn test

build_image:
name: Build Image
runs-on: ubuntu-latest
defaults:
run:
working-directory: .
needs: [test-backend]
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
- # Add support for more platforms with QEMU (optional)
# https://github.com/docker/setup-qemu-action
name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
platforms: linux/arm64
- name: Build, tag, and push image to Amazon ECR
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: urban-league-heat-pump-accelerator
IMAGE_TAG: ${{ github.sha }}
run: |
docker buildx build --platform linux/arm64 -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f ./backend/Dockerfile . --push
4 changes: 1 addition & 3 deletions backend/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@ gem 'bootsnap', require: false
gem 'devise'
gem 'devise-jwt'
gem 'faraday'
gem 'http_accept_language'
gem 'jbuilder'
gem 'newrelic_rpm'
gem 'pg', '~> 1.1'
gem 'puma', '~> 5.0'
gem 'rack', '~> 2.0'
gem 'rack-cors', '~> 2.0'
gem 'rails', '>= 7.0'
gem 'rails', '~> 7.0.3', '>= 7.0.3.1'
gem 'sprockets-rails'
gem 'sucker_punch', '~> 3.0'
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
Expand Down
Loading

0 comments on commit 42a39eb

Please sign in to comment.