Try using my own docker image
This commit is contained in:
parent
c57070ee82
commit
30da2ab862
3 changed files with 20 additions and 20 deletions
|
|
@ -3,23 +3,14 @@
|
||||||
# Add steps that build, run tests, deploy, and more:
|
# Add steps that build, run tests, deploy, and more:
|
||||||
# https://aka.ms/yaml
|
# https://aka.ms/yaml
|
||||||
|
|
||||||
pool:
|
jobs:
|
||||||
vmImage: 'Ubuntu-16.04'
|
- job: 'linux'
|
||||||
|
pool:
|
||||||
container: 'ubuntu:18.04'
|
vimImage: 'ubuntu-16.04'
|
||||||
|
container: 'puremourning/vimspector:test'
|
||||||
steps:
|
steps:
|
||||||
- script: printenv
|
- script: python3 install_gadget.py
|
||||||
displayName: 'Print environment'
|
|
||||||
|
|
||||||
- script: whoami
|
|
||||||
displayName: 'Print user'
|
|
||||||
|
|
||||||
- script: apt-get install python3-dev vim
|
|
||||||
displayName: 'Install vim'
|
|
||||||
|
|
||||||
- script: python3 install_gadget.py
|
|
||||||
displayName: 'Install gadgets'
|
displayName: 'Install gadgets'
|
||||||
|
|
||||||
- script: ./run_tests
|
- script: ./run_tests
|
||||||
displayName: 'Run the tests'
|
displayName: 'Run the tests'
|
||||||
|
|
|
||||||
|
|
@ -157,7 +157,7 @@ def DownloadFileTo( url, destination, file_name = None, checksum = None ):
|
||||||
checksum ) )
|
checksum ) )
|
||||||
else:
|
else:
|
||||||
print( "Checksum for {}: {}".format( file_path,
|
print( "Checksum for {}: {}".format( file_path,
|
||||||
) )
|
GetChecksumSHA254( file_path ) ) )
|
||||||
|
|
||||||
return file_path
|
return file_path
|
||||||
|
|
||||||
|
|
|
||||||
9
tests/ci/image/Dockerfile
Normal file
9
tests/ci/image/Dockerfile
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
FROM ubuntu:18.04
|
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get -y dist-upgrade && \
|
||||||
|
apt-get -y install python3 vim tcl tcl-dev tcllib && apt-get -y autoremove
|
||||||
|
|
||||||
|
RUN ln -fs /usr/share/zoneinfo/Europe/London /etc/localtime && \
|
||||||
|
dpkg-reconfigure --frontend noninteractive tzdata
|
||||||
Loading…
Add table
Add a link
Reference in a new issue