Skip to content

Commit 9956c32

Browse files
authored
build: undo temporary changes for Lambda Image feature (#1420)
1 parent b48d1d6 commit 9956c32

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

buildspec/linuxIntegrationTests.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,16 @@ phases:
2020
# Install other needed dependencies
2121
- '>/dev/null apt-get -qq install -y jq python2.7 python-pip python3.6 python3.7 python3.8 python3-pip python3-distutils'
2222
- '>/dev/null apt-get -qq install -y libgtk-3-dev libxss1 xvfb libnss3-dev libasound2 libasound2-plugins libsecret-1-0'
23-
# TODO: uncomment
24-
# - '>/dev/null pip3 install --user aws-sam-cli'
25-
# - '>/dev/null pip3 install --upgrade awscli'
23+
- '>/dev/null pip3 install --user aws-sam-cli'
24+
- '>/dev/null pip3 install --upgrade awscli'
2625
- '>/dev/null pip3 install pylint'
2726
# login to DockerHub so we don't get throttled
2827
- docker login --username $(echo $DOCKER_HUB_TOKEN | jq -r '.username') --password $(echo $DOCKER_HUB_TOKEN | jq -r '.password') || true
29-
# TODO: delete these
30-
# temporarily clone from SAM CLI's repo so we can actually test their unreleased changes
31-
- git clone --branch oci-develop https://[email protected]/aws/PRIVATE-aws-sam-cli.git
32-
- pip uninstall -y aws-sam-cli aws-lambda-builders
33-
- (cd PRIVATE-aws-sam-cli && echo '__version__ = "1.9.0"' > samcli/__init__.py && sed -i s:/var/lang/bin/python2.7:/usr/bin/python2.7:g samcli/local/docker/lambda_debug_settings.py && make init)
3428

3529
pre_build:
3630
commands:
3731
# make sure that SAM is in the path, is not automatically done on CodeBuild
3832
- USER_BASE_PATH=$(python -m site --user-base) && export PATH=$PATH:$USER_BASE_PATH/bin
39-
# TODO: delete these
40-
# pyenv is confused if we symlink the shim. also why is pyenv on here...
41-
- ln -s /root/.pyenv/versions/3.8.3/bin/samdev /usr/local/bin/sam
4233
# start Docker
4334
- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://127.0.0.1:2375 --storage-driver=overlay&
4435
- timeout 15 sh -c "until docker info; do echo .; sleep 1; done"

0 commit comments

Comments
 (0)