Skip to content

Commit

Permalink
TEST don't install SAM
Browse files Browse the repository at this point in the history
  • Loading branch information
symroe committed Jul 19, 2023
1 parent 34a0649 commit ac5a6a8
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .circleci/config.yml
Expand Up @@ -114,18 +114,14 @@ jobs:
- run:
name: sam build
command: |
python -m venv .venv
. .venv/bin/activate
pip install --upgrade pip
pip install aws-sam-cli==1.89.0 awscli==1.28.0
make build clean
- persist_to_workspace:
root: ~/repo/
paths: [ .aws-sam/build/ ]

sam_deploy:
docker:
- image: cimg/python:3.10.4
- image: public.ecr.aws/sam/build-python3.10:latest
working_directory: ~/repo
parameters:
dc-environment:
Expand All @@ -151,17 +147,9 @@ jobs:
- attach_workspace:
at: ~/repo/
- run: echo <<parameters.instance-type>>
- run:
name: install sam-cli
command: |
python -m venv .venv
. .venv/bin/activate
pip install --upgrade pip
pip install aws-sam-cli==1.89.0 awscli==1.28.0
- run:
name: deploy
command: |
. .venv/bin/activate
sam deploy \
--no-confirm-changeset \
--config-file ~/repo/samconfig.toml \
Expand Down Expand Up @@ -271,7 +259,7 @@ workflows:
- build_and_test
- sam_build
context: [ deployment-development-wcivf, slack-secrets ]
filters: { branches: { only: [ main, master, staging ] } }
filters: { branches: { only: [ main, master, staging, hotfix/make-token-more-unique ] } }

- code_deploy:
name: code_deploy_development
Expand All @@ -284,7 +272,7 @@ workflows:
- sam_build
- sam_deploy_development
context: [ deployment-development-wcivf, slack-secrets ]
filters: { branches: { only: [ main, master, staging ] } }
filters: { branches: { only: [ main, master, staging, hotfix/make-token-more-unique ] } }

- sam_deploy:
name: sam_deploy_staging
Expand Down

0 comments on commit ac5a6a8

Please sign in to comment.