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

[19328] Deploy to staging #972

Merged
merged 224 commits into from
Sep 16, 2024
Merged

Conversation

peschina
Copy link
Collaborator

Ticket:

Description

Deploy to staging

Type

  • Dependency upgrade
  • Bug fix
  • New feature
  • Dev change
  • Additional tests
  • Documentation
  • Other

Checklist:

  • I have added tests that prove my fix is effective or that my feature works
  • This change might impact the developer experience of others and should be communicated

Screenshots:

N/A

williamwd and others added 30 commits July 16, 2024 13:28
* Add a unique validation step, instead of an approval per service

* Revert deploy yaml to previous state. Not using environments for this step as it requires an approval per service, which is overwhelming for the approver
* Add a unique validation step, instead of an approval per service

* Revert deploy yaml to previous state. Not using environments for this step as it requires an approval per service, which is overwhelming for the approver

* Fix environment name for approvals

* Shouldn't have to, but added a check for the push image step not to be triggered if the approval fails
* sms and email stub with rudimentary ui

* integrate logto with temporary auth creds for dev

* Update apps/messaging-api/routes/messages/index.ts

* Update apps/messaging-api/routes/messages/index.ts

* Update apps/messaging-api/routes/messages/index.ts

* Apply suggestions from code review

* Apply suggestions from code review

* table style and fixed query issue

* error alert on server error send a message

* mail service fixes

* Apply suggestions from code review

* translations and console log

* code review updates

* Last minute server error copy udpate
* lighthouse testing for Life Events

* code tidy up

* missing file
* chore(messaging-api): removed tests apis

* updated sdks
* fix favicon in landing pages

* Add favicon for life events

* Add favicon for payments

* Remove unnecessary metadata from payments

* set metadata for messaging app
* feat(19341): inactive public servant role

* integrated into messaging

* Update
* token as auth for scheduler

* Update apps/messaging-api/services/messages/messaging.ts

Co-authored-by: SamSalvatico <40636569+SamSalvatico@users.noreply.github.com>

* review fixes

---------

Co-authored-by: SamSalvatico <40636569+SamSalvatico@users.noreply.github.com>
* feat(19613): refactor authentication factory

* update

* updated the dockerfile
* added method to check authenticate

* check if authenticated

* removed useless variables

* re-added variables
Co-authored-by: SamSalvatico <40636569+SamSalvatico@users.noreply.github.com>
* feat(profile): add preferred language

* added preferred-language in types

* updated sdks

* removed default

* updated sdks

* added preferred language in query

* use preferred language

* Chore(profile-api): use life events errors (#712)

* chore(profile-api): use shared errors in addresses

* chore(profile-api): use shared errors in entitlements

* chore(profile-api): use shared errors in details

* use getErrorMessage

* added message check
* fix logout from hamburgher menu

* chore: fix responsive font size in landing pages
* feat(16375): paymenr request entity

* update
* added make

* added env sample scheduler

* temp

* updated make

* added kill services

* updated cmds

* added some cmds

* updated commands

* updated packages

* updated commands

* updated readme

* removed additional tabs

* merged
* Moving services matrix to environments' config files

* Remove new lines from services matrix

* Fix variable. Azure templates support only strings, not objects or arrays.

* Remove whitespaces from services string when using it to iterate

* Warning for developers that wish to include/exclude a service from the pipeline

* Adjust each environment's services
* new composition post message approach

* remove double scheduling event log

* handle partial failed message creation

* tests and throw by spec for build message

* gitignore tap

* clean ups

* scheduler permissions illegal value keys check

* dont allow empty variable values

* dead imports

* response 201 for post request

* data field for sdk.send

* Update apps/profile-api/routes/user/index.ts

* Update apps/messaging-api/types/schemaDefinitions.ts

* Update apps/profile-api/routes/user/index.ts

* review comments
* feat(19298): organization selector

* Update

* [Payments] Organization selector in homepage only (#725)

* chore: render paymentsmenu component per route

* chore: fix after merge

* chore: remove import

* chore: add missing translation

* chore: get locale from params

* update

* update

* Update packages/shared-components/components/OrganizationSelector/OrgSelector.tsx

Co-authored-by: SamSalvatico <40636569+SamSalvatico@users.noreply.github.com>

* Update

* chore: add comment

---------

Co-authored-by: Sara Zanellato <47299026+peschina@users.noreply.github.com>
Co-authored-by: SamSalvatico <40636569+SamSalvatico@users.noreply.github.com>
Co-authored-by: Sara Zanellato <sara.zanellato@nearform.com>
* feat(shared-errors): added parent error everywhere

* added the get message method

* moved under source

* added parseErrorForLogging method

* manage parent error

* added usage example

* added tests

* added tests
SamSalvatico and others added 21 commits September 10, 2024 08:36
* fix(messaging-api): fixed test

* updated tests on user import

* updated tests for users import

* added tests for already existent user
* add ds npm pkg and create a layout

* comment on main component

* move maintsx and fix params
* fix(messaging-api): fixed test

* updated tests on user import

* updated tests for users import

* added tests for already existent user

* removed scheduler commands

* removed wrong params

* fix(messaging-api): fixed e2e env samlpe

* fixed management of check to get messages for other users

* fixed m2m token

* fixed scopes tests

* fixed check on who are requesting messages for

* added check on not exists routes

* added get messages tests

* fixed checks on messages auth

* updated tests for not existent org

* updated tests for not linked org

* pagination tests
* fix(messaging-api): fixed test

* updated tests on user import

* updated tests for users import

* added tests for already existent user

* removed scheduler commands

* removed wrong params

* fix(messaging-api): fixed e2e env samlpe

* fixed management of check to get messages for other users

* fixed m2m token

* fixed scopes tests

* fixed check on who are requesting messages for

* added check on not exists routes

* added get messages tests

* fixed checks on messages auth

* updated tests for not existent org

* updated tests for not linked org

* pagination tests

* updated gitleaks

* fixed not found management

* added patch tests

* fixed seq
* fix(messaging-api): start updating map user

* fix update user on reimport
* fix(messaging-api): start updating map user

* fix update user on reimport

* added test to check update after re-import
* chore(messaging-api): added url

* chore(messaging-api): added url

* added preferredLanguage to response

* added preferredLanguage to sdk response

* Updated authentication management on messaging to get profile token

* get the correct language for user

* Fxied suggestions

* fixed return type
Co-authored-by: SamSalvatico <40636569+SamSalvatico@users.noreply.github.com>
* fixed webhook url

* removed useless console.log

* fix invitation management
* unit tests in pipeline for services

* missing '

* remove non ascii -

* add to dependency build

* message-api test reporter change

* remove replay from test run command

* missing build command and init env

* missing build dependency

* unit tests failing due to build issue

* missing file

* no build option in package.json for profile-api

* run unit tests before build

* Prep for dependencies unit tests in pipeline

* test dependencies

* dependency testing

* parameter name

* pipeline loop issue

* build and test

* change dependency order to match how they build in the make file

* set env for dependencies tests

* skip building block sdk tests for now

* run tests for all dependencies even if one fails

* fixes building blocks-sdk unit tests

* fixes messaging-api unit tests

* reduce number of tests running at the same time

* reduce // test runs

* run messaging api unit tests one at a time

* update timestamp

* Disable failing upload-api unit tests

* add delay to messaging-api healthcheck test

* disable healthcheck test only failing in CI

* revert toi the main branch of pipeline templates
* seen and unseen support for messags

* typo

* missed file

* unit test update

* Update apps/messaging-api/src/routes/message-actions/index.ts

Co-authored-by: SamSalvatico <40636569+SamSalvatico@users.noreply.github.com>

---------

Co-authored-by: SamSalvatico <40636569+SamSalvatico@users.noreply.github.com>
@alfonsograziano alfonsograziano merged commit 6f6b6fd into sta Sep 16, 2024
35 checks passed
@alfonsograziano alfonsograziano deleted the 19328-deploy-to-staging-pre-pentest branch September 16, 2024 16:27
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.

8 participants