Skip to content

Commit

Permalink
Merge pull request #158 from DataDog/ara.pulido/prepare_1_12
Browse files Browse the repository at this point in the history
1.12 release (pin to agent 6.15.1)
  • Loading branch information
arapulido authored Dec 13, 2019
2 parents b49b8ee + 1c934de commit 642351c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased & outstanding issues]
- Non-https repo url and apt fetching

## [1.12] - 2019-12-13

### Added
- Datadog agent pinned version is now `6.15.1`
- Added a deprecation warning if users are using Python 2 in 6.x.

### Fixed
- Fixed `datadog.sh` to run correctly in flynn.io.

## [1.11] - 2019-12-05

### Added
Expand Down
7 changes: 6 additions & 1 deletion bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ else
# If no version is explicitly set, do so here.
# In order to prevent unforseen issues from new Agent releases,
# we now specify a default version in this buildpack.
DD_AGENT_VERSION="6.14.0-1"
DD_AGENT_VERSION="6.15.1-1"
fi
# Set the specified version.
PACKAGE="datadog-agent=1:$DD_AGENT_VERSION"
Expand Down Expand Up @@ -160,6 +160,11 @@ if [ "$NUM_PYTHON" = "2" ]; then

# We remove the unneeded version of Python
if [ "$DD_PYTHON_VERSION" = "2" ]; then
topic "*********************************** WARNING ************************************"
echo "Python 2 will be deprecated soon. Agent 7.x ships with Python 3 only." | indent
echo "If you don't run custom checks or those are Python 3 ready, you can" | indent
echo "move to Python 3 now by setting DD_PYTHON_VERSION to 3 and compiling your slug." | indent
echo "********************************************************************************" | indent
rm -rf "$APT_DIR"/opt/datadog-agent/embedded/lib/python3.*
rm -rf "$APT_DIR"/opt/datadog-agent/embedded/lib/libpython3*
rm "$APT_DIR"/opt/datadog-agent/embedded/bin/pip3*
Expand Down
2 changes: 1 addition & 1 deletion extra/datadog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ done
# Add tags to the config file
DYNOHOST="$(hostname )"
DYNOTYPE=${DYNO%%.*}
BUILDPACKVERSION="dev"
BUILDPACKVERSION="1.12"
TAGS="tags:\n - dyno:$DYNO\n - dynotype:$DYNOTYPE\n - buildpackversion:$BUILDPACKVERSION"

if [ -n "$HEROKU_APP_NAME" ]; then
Expand Down

0 comments on commit 642351c

Please sign in to comment.