Skip to content

Commit

Permalink
Prepare Release v1.1.0 (#591)
Browse files Browse the repository at this point in the history
* Change NGO HUb typo (#503)

* FE Libraries version bump (#521)

* refactor: [498] wip fixes after libraries version bump

* refactor: [498] working version of it

* refactor: [498] add eslint back

---------

Co-authored-by: birloiflorian <[email protected]>

* Bump Versions and fix related issues (#502)

Co-authored-by: birloiflorian <[email protected]>

* wip: fix broken cache manager

* Set fixed backend versions, change cache-manager lib

* Increase BE version for testing purpose

* fix: [436] working version to prevent the blocking scenario

* fix: [436] also fix the 322 bug

* Feat/485 - Send notification on app request (#541)

* Trigger an email notification when a new standalone app request is submitted

* Update email texts

* Feat/474 (#546)

* Bump Versions and fix related issues

* [#474] WIP download NGOs list

* Update CacheManager redis lib

* feat: [474] add frontend implementation for NGO List download by super-admin

* feat: [474] bump version

---------

Co-authored-by: birloiflorian <[email protected]>
Co-authored-by: Andrew Radulescu <[email protected]>

* fix: [436] add sentry reminder

* fix 509: navigate back to applications when app req returns an error

* fix 514: remove click on user row for superadmin

* feat: allow rich text formatting for extended description

* fix: add back white background for feedback card

* fix: allow videos from youtube to be embedded in app details

* infra: setup version and tag at build time (#565)

* Remove junk

* ci: add context to git action

* fix: url for activity report

* fix: save button not working on informatii legale tab

* Change version endpoint structure

* fix: hide same address checkbox in readonly mode + display '-' when no option selected

* fix: [468] add phone number input to accommodate international phone numbers

* fix: financial data error translations

* fix: ro translation

* fix: [475] remove backend min length for app description

* fix [510]: dateRangePicker styling

* fix [481]: don't allow organization tabs to spread on two rows

* fix: [468] fix comments

* wip: table loader

* fi: table-loader

* fix: [468] added checks for directors and legal representative

* fix: [468-1] add version constant

* fix: [582] remove required phone validation + fix 585 + add updated package-lock

---------

Co-authored-by: Tudor <[email protected]>
Co-authored-by: Dragos Strat <[email protected]>
Co-authored-by: birloiflorian <[email protected]>
Co-authored-by: luciatugui <[email protected]>
Co-authored-by: luciatugui <[email protected]>
  • Loading branch information
6 people committed Jul 22, 2024
1 parent 452a7e8 commit 13f440c
Show file tree
Hide file tree
Showing 124 changed files with 32,271 additions and 71,655 deletions.
55 changes: 9 additions & 46 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,50 +12,13 @@ on:
name: Build Docker image

jobs:
build-docker-image:
build:
name: Build Docker image
runs-on: ubuntu-latest
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: arn:aws:iam::166485377238:role/github-actions-onghub-ecr
aws-region: eu-west-1

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1

- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ steps.login-ecr.outputs.registry }}/onghub
tags: |
type=edge
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2

- name: Build and push
uses: docker/build-push-action@v3
with:
context: backend
builder: ${{ steps.buildx.outputs.name }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
uses: code4romania/.github/.github/workflows/build-push-image-ecr.yml@main
with:
context: backend
image_name: onghub
region: eu-west-1
dockerfile: ./backend/Dockerfile
secrets:
role_to_assume: ${{ secrets.ROLE_TO_ASSUME }}
5 changes: 5 additions & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ FROM --platform=linux/amd64 node:16.15.1-alpine as production
ARG NODE_ENV=production
ENV NODE_ENV=${NODE_ENV}

ARG VERSION
ARG REVISION
ENV VERSION=${VERSION}
ENV REVISION=${REVISION}

WORKDIR /usr/src/app

COPY package*.json ./
Expand Down
2 changes: 1 addition & 1 deletion backend/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
- 6379:6379
mailcatcher:
restart: on-failure:10
image: dockage/mailcatcher:0.7.1
image: dockage/mailcatcher:0.9.0
ports:
- '1080:1080'
- '1025:1025'
Loading

0 comments on commit 13f440c

Please sign in to comment.