diff options
author | 2019-06-27 17:18:30 -0700 | |
---|---|---|
committer | 2019-06-29 20:05:39 -0700 | |
commit | b60396e0da52db0cc72ff904e456f8103864e2ed (patch) | |
tree | ac9dc647b806de9eef77e5b53eb369c94d78e687 | |
parent | Write script to check dockerfiles (diff) |
Check swap info
-rw-r--r-- | azure-pipelines.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f9a187a..29a98c4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -12,6 +12,13 @@ jobs: inputs: scriptPath: scripts/check_dockerfiles.sh displayName: 'Check If Images Need to Be Built' + enabled: false + + - script: cat /proc/meminfo + displayName: 'meminfo' + + - script: cat /proc/swaps + displayName: 'swaps' - task: DownloadPipelineArtifact@2 inputs: @@ -22,14 +29,17 @@ jobs: buildId: $(PREV_BUILD) artifactName: 'BaseId' displayName: 'Download Base ID Artifact' + enabled: false - script: | base_id="$(cat "${SYSTEM_ARTIFACTSDIRECTORY}"/base.sha256)" printf '%s\n' "##vso[task.setvariable variable=BASE_ID]${base_id}" displayName: 'Write Base ID to Variable' + enabled: false - script: docker build -t pythondiscord/snekbox-base:latest -f docker/base.Dockerfile . displayName: 'Build Base Image' + enabled: false - script: | id="$(docker images -q --no-trunc pythondiscord/snekbox-base:latest)" @@ -41,9 +51,11 @@ jobs: printf '%s\n' "Base ID is ${id}" printf '%s' "${id}" >> base.sha256 displayName: 'Create Base ID Artifact' + enabled: false - task: PublishPipelineArtifact@1 inputs: path: base.sha256 artifact: BaseId displayName: 'Publish Base ID Artifact' + enabled: false |