11version : 2.1
22
3- orbs :
4- aws-cli :
circleci/[email protected] 3+ orbs :
54 aws_assume_role :
lbh-hackit/[email protected] 65
76executors :
@@ -10,7 +9,7 @@ executors:
109 - image : circleci/python:3.7
1110 docker-dotnet :
1211 docker :
13- - image : mcr.microsoft.com/dotnet/sdk:6 .0
12+ - image : mcr.microsoft.com/dotnet/sdk:8 .0
1413
1514references :
1615 workspace_root : &workspace_root "~"
@@ -46,7 +45,7 @@ commands:
4645 - run :
4746 name : Install Node.js
4847 command : |
49- curl -sL https://deb.nodesource.com/setup_14 .x | bash -
48+ curl -sL https://deb.nodesource.com/setup_22 .x | bash -
5049 apt-get update && apt-get install -y nodejs
5150 - run :
5251 name : Install serverless CLI
@@ -83,7 +82,7 @@ commands:
8382 - run :
8483 name : Install Node.js
8584 command : |
86- curl -sL https://deb.nodesource.com/setup_14 .x | bash -
85+ curl -sL https://deb.nodesource.com/setup_22 .x | bash -
8786 apt-get update && apt-get install -y nodejs
8887 - run :
8988 name : Install SwaggerHub CLI
@@ -123,7 +122,7 @@ commands:
123122 dpkg -i session-manager-plugin.deb
124123 - run :
125124 name : Install dotnet ef core
126- command : dotnet tool install dotnet-ef --version 7 .0.0 --tool-path ./dotnet-ef-local/
125+ command : dotnet tool install dotnet-ef --version 8 .0.12 --tool-path ./dotnet-ef-local/
127126 - run :
128127 name : SSH into RDS and migrate database
129128 command : |
@@ -227,7 +226,9 @@ workflows:
227226 requires :
228227 - assume-role-staging
229228 - deploy-to-staging :
230- context : api-nuget-token-context
229+ context :
230+ - api-nuget-token-context
231+ - " Serverless Framework"
231232 requires :
232233 - migrate-database-staging
233234
@@ -245,7 +246,9 @@ workflows:
245246 requires :
246247 - assume-role-production
247248 - deploy-to-production :
248- context : api-nuget-token-context
249+ context :
250+ - api-nuget-token-context
251+ - " Serverless Framework"
249252 requires :
250253 - migrate-database-production
251254 - publish-to-swaggerhub :
0 commit comments