Skip to content

Commit

Permalink
test new azure pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanlermitage committed Nov 22, 2024
1 parent 76a3e61 commit cf34bba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,18 @@ steps:
- script: echo '##vso[task.setvariable variable=MANON_TEST_REDIS_PORT]6380'
- script: sudo /etc/init.d/mysql stop
- script: sudo netstat -antp
- script: docker-compose --version
- task: DockerCompose@0
- task: DockerCompose@1
inputs:
containerregistrytype: 'Container Registry'
containerregistrytype: 'Azure Container Registry'
dockerComposeFile: './docker/docker-compose-test-azure.yml'
action: 'Run a Docker Compose command'
dockerComposeCommand: 'up -d'
dockerComposeCommand: 'up -d -p manon'
- script: sleep 15
- script: sudo netstat -antp
- script: cd docker && docker-compose ps && cd ..
- script: mysql --user=root --password=woot --host=127.0.0.1 --port=3307 --execute="show databases;"
- script: mysql --user=root --password=woot --host=127.0.0.1 --port=3308 --execute="show databases;"
- task: Maven@3 # see help https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/maven?view=azure-devops
- task: Maven@4 # see help https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/maven?view=azure-devops
inputs:
mavenPomFile: 'pom.xml'
javaHomeOption: 'JDKVersion'
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose-test-azure.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: '3.4'
# FIXME (specific to MS Azure pipeline) Can't connect to MariaDB 10.3.18, so I downgraded to 10.7.4. Still investigating this issue.

services:

maria-test:
Expand Down

0 comments on commit cf34bba

Please sign in to comment.