Fix update image (#1781)

* Attempt to fix update image

* WIP

* Update ca-certificates

* Try this

* How about this

* Typo

* Update other jobs

* More changes
This commit is contained in:
Devin Binnie
2021-10-05 10:16:48 -04:00
committed by GitHub
parent e3ea6e4c6a
commit 0b7173542d

View File

@@ -57,7 +57,7 @@ commands:
command: |
curl -i -H "Content-Type: application/json" -X POST -d @/tmp/webhook-data.json $MATTERMOST_RELEASE_WEBHOOK_URL_DESKTOP || echo "NOFICATION FAILED! check logs as this will succeed intentionally"
update_image:
update_base_image:
description: "Update base image"
parameters:
apt_opts:
@@ -65,7 +65,17 @@ commands:
default: ""
steps:
- run: wget -qO - https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key | apt-key add -
- run: apt-get update && apt-get -y install << parameters.apt_opts >>
- run: apt-get update || true && apt-get install ca-certificates && apt-get update && apt-get -y install << parameters.apt_opts >>
update_image:
description: "Update image"
parameters:
apt_opts:
type: string
default: ""
steps:
- update_base_image:
apt_opts: << parameters.apt_opts >>
- run: npm ci
win_make:
@@ -350,8 +360,8 @@ jobs:
- store_artifacts:
path: ./dist
destination: packages
- run: wget -qO - https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key | apt-key add -
- run: apt-get update && apt-get -y install jq
- update_base_image:
apt_opts: "jq"
- run:
name: "store url links"
command: |
@@ -376,8 +386,8 @@ jobs:
steps:
- attach_workspace:
at: ./dist
- run: wget -qO - https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key | apt-key add -
- run: apt-get update && apt-get -y install jq
- update_base_image:
apt_opts: "jq"
- run: mkdir -p ./links
- run: echo "### Nightly builds:\n" > ./links/linklist.txt
- run: