Skip to content

Commit

Permalink
Update to appveyor build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
toby.henderson committed Nov 1, 2019
1 parent 590984d commit 451b907
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Docker/RabbitMQ/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM rabbitmq:3-management
FROM rabbitmq:3.8-management

RUN apt-get update

RUN apt-get install -y curl && apt-get install -y zip

RUN curl -O https://dl.bintray.com/rabbitmq/community-plugins/3.7.x/rabbitmq_delayed_message_exchange/rabbitmq_delayed_message_exchange-20171201-3.7.x.zip \
&& unzip rabbitmq_delayed_message_exchange-20171201-3.7.x.zip -d $RABBITMQ_HOME/plugins \
&& rm rabbitmq_delayed_message_exchange-20171201-3.7.x.zip
RUN curl -O https://dl.bintray.com/rabbitmq/community-plugins/3.8.x/rabbitmq_delayed_message_exchange/rabbitmq_delayed_message_exchange-20191008-3.8.x.zip\
&& unzip rabbitmq_delayed_message_exchange-20191008-3.8.x.zip -d $RABBITMQ_HOME/plugins \
&& rm rabbitmq_delayed_message_exchange-20191008-3.8.x.zip

RUN rabbitmq-plugins enable --offline rabbitmq_delayed_message_exchange

Expand Down
17 changes: 13 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
version: 8.0.{build}
version: 8.1.{build}
image: Ubuntu1804
configuration: Release
stack: jdk 11

services:
- docker
install:
- sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
- sudo chmod +x /usr/local/bin/docker-compose
- wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb
- sudo dpkg -i packages-microsoft-prod.deb
- sudo apt-get install apt-transport-https
- sudo apt-get update

skip_commits:
files:
- '**/*.md'
Expand All @@ -20,10 +30,9 @@ dotnet_csproj:
environment:
Sql__TestsBrighterConnectionString: Server=localhost;Database=BrighterTests;User ID=sa;Password=Password123!;Application Name=BrighterTests
Sql__TestsMasterConnectionString: Server=localhost;Database=master;User ID=sa;Password=Password123!;Application Name=BrighterTests
install:
- sh: >-
sudo snap install docker

before_build:
- sh: >-
docker-compose up -d
java --version
Expand Down

0 comments on commit 451b907

Please sign in to comment.