Skip to content

Commit

Permalink
Revert "Improved pipelines by using cached tool installers"
Browse files Browse the repository at this point in the history
This reverts commit 8bf9855.
  • Loading branch information
winromulus committed Jun 30, 2020
1 parent 8bf9855 commit 5938f87
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 71 deletions.
32 changes: 28 additions & 4 deletions .devops/pipelines/jobs.ci.build.docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,38 @@ jobs:
- ${{ if eq(parameters.arch, 'arm64') }}:
- Agent.OSArchitecture -equals ARM64
variables:
- ${{ if eq(parameters.arch, 'amd64') }}:
- name: Docker.CLI.Architecture
value: amd64
- ${{ if eq(parameters.arch, 'arm64') }}:
- name: Docker.CLI.Architecture
value: arm64
- ${{ if eq(parameters.arch, 'arm') }}:
- name: Docker.CLI.Architecture
value: armhf
- name: Docker.Image.Architecture
value: ${{ parameters.arch }}

steps:
- task: DockerInstaller@0
displayName: 'Docker install'
inputs:
dockerVersion: '19.03.5'
- script: |
docker version
if [ "$?" -ne "0" ]; then
apt-get update
apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
add-apt-repository \
"deb [arch=$(Docker.CLI.Architecture)] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io
fi
displayName: "Docker install"
- task: Docker@2
displayName: 'Build image'
Expand Down
2 changes: 1 addition & 1 deletion .devops/pipelines/stage.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ stages:
displayName: 'Create Artifacts directories'
- task: HelmInstaller@1
inputs:
helmVersionToInstall: '3.2.4'
helmVersionToInstall: '3.1.1'
displayName: "Helm install"
- script: |
cp README.md src/deploy/helm/sftp/README.md
Expand Down
5 changes: 0 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,3 @@ updates:
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: docker
directory: "/src/ES.SFTP.Host"
schedule:
interval: daily
open-pull-requests-limit: 10
61 changes: 0 additions & 61 deletions .github/stale.yml

This file was deleted.

0 comments on commit 5938f87

Please sign in to comment.