Skip to content

Commit

Permalink
Merge pull request #2685 from aeternity/167917422_ci_ubuntu16
Browse files Browse the repository at this point in the history
- Bump machine builder image version to Ubuntu 16
- Temporary SSL fix for OTP install on machine executors
  • Loading branch information
dincho committed Aug 21, 2019
2 parents af7ace1 + e894178 commit 1e241ab
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ references:
machine_config: &machine_config
resource_class: large
machine:
image: ubuntu-1604:201903-01
docker_layer_caching: true
working_directory: ~/aeternity
environment:
Expand Down Expand Up @@ -84,11 +85,13 @@ references:
OTP_VERSION: "20.1"
command: |
# Install OTP package deps
sudo apt-get update && sudo apt-get install libwxbase3.0-dev libwxgtk3.0-dev
sudo apt-get update && sudo apt-get install libwxbase3.0-dev libwxgtk3.0-dev libsctp1
# Install OTP binary package
PACKAGE_NAME=esl-erlang_${OTP_VERSION}-1~ubuntu~trusty_amd64.deb
PACKAGE_NAME=esl-erlang_${OTP_VERSION}-1~ubuntu~xenial_amd64.deb
OTP_DOWNLOAD_URL=https://packages.erlang-solutions.com/erlang/debian/pool/${PACKAGE_NAME}
curl -fsSL -o ${PACKAGE_NAME} "$OTP_DOWNLOAD_URL"
# TODO temporary disable SSL checks on erlang-solutions.com until they fix their certificate
# FIXME ^^ (multi-editor support :))
curl -fsSL --insecure -o ${PACKAGE_NAME} "$OTP_DOWNLOAD_URL"
sudo dpkg -i ${PACKAGE_NAME}
install_libsodium: &install_libsodium
Expand Down

0 comments on commit 1e241ab

Please sign in to comment.