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

TS-1966: Make the pipeline persist only needed folders #337

Draft
wants to merge 42 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
ce74795
More clueless than Alicia Silverstone here
martapederiva Mar 27, 2025
770fcfd
Lint this
martapederiva Mar 27, 2025
34a32e1
Meh
martapederiva Mar 28, 2025
6d861d1
Meh
martapederiva Mar 28, 2025
e4bafaa
Mehh
martapederiva Mar 28, 2025
0af8818
Mehhh
martapederiva Mar 28, 2025
a6f58da
eh
martapederiva Apr 1, 2025
fa34fcb
ehh
martapederiva Apr 1, 2025
7352be1
Try try try
martapederiva Apr 1, 2025
2c872a6
Try try try
martapederiva Apr 1, 2025
b7d1b02
Try try try
martapederiva Apr 1, 2025
57e0a25
Try try try
martapederiva Apr 1, 2025
31ef38d
Try try try
martapederiva Apr 1, 2025
50e5185
Try try try
martapederiva Apr 1, 2025
b2ee350
Tryyyyy
martapederiva Apr 1, 2025
8fde723
Tryyyyy
martapederiva Apr 1, 2025
306380a
Trying even more
martapederiva Apr 1, 2025
b15019a
Trying even more
martapederiva Apr 1, 2025
97d0dc7
Harder better faster stronger
martapederiva Apr 1, 2025
fe4b840
Maybe better?
martapederiva Apr 1, 2025
2fc0de8
Maybe better?
martapederiva Apr 1, 2025
5840323
is it you, workspace?
martapederiva Apr 1, 2025
5e58010
is it you, workspace?
martapederiva Apr 1, 2025
cc11b8a
is it you, workspace? sigh
martapederiva Apr 1, 2025
c6b17b7
shooting in the dark a bit
martapederiva Apr 1, 2025
bbf67cc
I'm tired
martapederiva Apr 1, 2025
74cfe6a
I'm tired
martapederiva Apr 1, 2025
5292287
I'm even more tired
martapederiva Apr 1, 2025
746a995
I'm even more tired
martapederiva Apr 1, 2025
8a17d4f
I'm even more tired
martapederiva Apr 1, 2025
0b3883d
Last try for tonight
martapederiva Apr 1, 2025
b1ee757
Last try for tonight
martapederiva Apr 1, 2025
18fde58
Last try for tonight, really
martapederiva Apr 1, 2025
8b2b146
Last try for tonight, maybe
martapederiva Apr 1, 2025
c0a224f
Last try for tonight, maybe
martapederiva Apr 1, 2025
0a81896
Last try for tonight, maybe
martapederiva Apr 1, 2025
4ba5157
Last try for tonight, maybe
martapederiva Apr 1, 2025
5c96e33
Last try for tonight, maybeeee
martapederiva Apr 1, 2025
49d813b
Last try for tonight, maybeeee
martapederiva Apr 1, 2025
0f4e8ba
Good morningggg
martapederiva Apr 2, 2025
32786b3
Streamline pipeline
martapederiva Apr 2, 2025
8c303cb
Merge branch 'main' into TS-1966
martapederiva Apr 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ executors:
- image: cimg/python:3.7

references:
workspace_root: &workspace_root '~'
workspace_root: &workspace_root '.'
attach_workspace: &attach_workspace
attach_workspace:
at: *workspace_root
Expand All @@ -36,7 +36,7 @@ commands:
profile_name: default
role: 'LBH_Circle_CI_Deployment_Role'
- persist_to_workspace:
root: *workspace_root
root: '~'
paths:
- .aws

Expand All @@ -47,8 +47,9 @@ commands:
type: string
default: staging
steps:
- *attach_workspace
- checkout
- attach_workspace:
at: '~'
- run:
name: Install serverless CLI
command: sudo npm i -g serverless
Expand All @@ -63,22 +64,25 @@ jobs:
build:
executor: node
steps:
- *attach_workspace
- checkout
- attach_workspace:
at: *workspace_root
- node/install-packages
- run:
name: Build Next application
command: npm run build --omit=dev
- persist_to_workspace:
root: *workspace_root
paths:
- .
- build
- node_modules

lint-and-test:
executor: node
steps:
- *attach_workspace
- checkout
- attach_workspace:
at: *workspace_root
- run:
name: Run linter
command: npm run lint:ci
Expand All @@ -99,8 +103,9 @@ jobs:
run-cypress-e2e:
executor: node
steps:
- *attach_workspace
- checkout
- attach_workspace:
at: *workspace_root
- run:
name: Copy envs
command: cp .env.sample .env
Expand All @@ -116,8 +121,9 @@ jobs:
sonar-scan:
executor: node
steps:
- *attach_workspace
- checkout
- attach_workspace:
at: *workspace_root
- sonarcloud/scan

assume-role-staging:
Expand Down