Skip to content

Commit b6e2739

Browse files
committed
add Cedar 14 environment back for tests and binaries
1 parent a8da6e4 commit b6e2739

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

Makefile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,21 @@ check:
99
@shellcheck -x bin/steps/hooks/*
1010

1111
test-staging:
12-
@echo "Running tests against staged binaries..."
12+
@echo "Running tests against staged binaries (cedar-14)..."
13+
@docker run -v $(shell pwd):/buildpack:ro --rm -it -e "STACK=cedar-14" -e "TEST_STAGED_S3_BINARIES=1" heroku/cedar-14 bash -c 'cp -r /buildpack /buildpack_test; cd /buildpack_test/; test/run;'
14+
@echo ""
15+
@echo "Running tests against staged binaries (heroku-16)..."
1316
@docker run -v $(shell pwd):/buildpack:ro --rm -it -e "STACK=heroku-16" -e "TEST_STAGED_S3_BINARIES=1" heroku/heroku:16-build bash -c 'cp -r /buildpack /buildpack_test; cd /buildpack_test/; test/run;'
1417
@echo ""
15-
@echo "Running tests in docker (heroku-18)..."
18+
@echo "Running tests against staged binaries (heroku-18)..."
1619
@docker run -v $(shell pwd):/buildpack:ro --rm -it -e "STACK=heroku-18" -e "TEST_STAGED_S3_BINARIES=1" heroku/heroku:18-build bash -c 'cp -r /buildpack /buildpack_test; cd /buildpack_test/; test/run;'
1720
@echo ""
1821

22+
test-cedar-14:
23+
@echo "Running tests in docker (cedar-14)..."
24+
@docker run -v $(shell pwd):/buildpack:ro --rm -it -e "STACK=cedar-14" heroku/cedar-14 bash -c 'cp -r /buildpack /buildpack_test; cd /buildpack_test/; test/run;'
25+
@echo ""
26+
1927
test-heroku-16:
2028
@echo "Running tests in docker (heroku-16)..."
2129
@docker run -v $(shell pwd):/buildpack:ro --rm -it -e "STACK=heroku-16" heroku/heroku:16-build bash -c 'cp -r /buildpack /buildpack_test; cd /buildpack_test/; test/run;'

builds/cedar-14.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ ENV WORKSPACE_DIR="/app/builds" \
1010
RUN apt-get update && apt-get install -y python-pip && rm -rf /var/lib/apt/lists/*
1111

1212
COPY requirements.txt /app/
13-
RUN pip install --disable-pip-version-check --no-cache-dir -r /app/requirements.txt
13+
RUN pip install -r /app/requirements.txt
1414

1515
COPY . /app

0 commit comments

Comments
 (0)