forked from 7mind/izumi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.azure-dockerstep.yml
41 lines (40 loc) · 1.29 KB
/
.azure-dockerstep.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
parameters:
jobs: []
jobs:
- ${{ each job in parameters.jobs }}:
- ${{ each pair in job }}:
${{ if ne(pair.key, 'steps') }}:
${{ pair.key }}: ${{ pair.value }}
pool:
vmImage: 'ubuntu-latest'
container: septimalmind/izumi-env:jdk11-7
steps:
- task: CacheBeta@0
inputs:
key: coursier | $(Agent.OS)
path: $(COURSIER_CACHE)
displayName: Cache Coursier Packages
- task: CacheBeta@0
inputs:
key: ivy | $(Agent.OS)
path: $(IVY_CACHE_FOLDER)
displayName: Cache Ivy Packages
- script: |
echo "CPU:"
cat /proc/cpuinfo
echo "RAM:"
free -h
echo "DISK":
df -h
echo "ENVIRONMENT:"
printenv
displayName: "Diagnostics"
- ${{ each step in job.steps }}:
- ${{ each pair in step }}:
${{ pair.key }}: ${{ pair.value }}
env:
OPENSSL_KEY: $(openssl.key)
OPENSSL_IV: $(openssl.iv)
TOKEN_NPM: $(token.npm)
TOKEN_NUGET: $(token.nuget)
TOKEN_CODECOV: $(token.codecov)