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:
@@ -57,7 +57,7 @@ commands:
|
|||||||
command: |
|
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"
|
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"
|
description: "Update base image"
|
||||||
parameters:
|
parameters:
|
||||||
apt_opts:
|
apt_opts:
|
||||||
@@ -65,7 +65,17 @@ commands:
|
|||||||
default: ""
|
default: ""
|
||||||
steps:
|
steps:
|
||||||
- run: wget -qO - https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key | apt-key add -
|
- 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
|
- run: npm ci
|
||||||
|
|
||||||
win_make:
|
win_make:
|
||||||
@@ -350,8 +360,8 @@ jobs:
|
|||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: ./dist
|
path: ./dist
|
||||||
destination: packages
|
destination: packages
|
||||||
- run: wget -qO - https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key | apt-key add -
|
- update_base_image:
|
||||||
- run: apt-get update && apt-get -y install jq
|
apt_opts: "jq"
|
||||||
- run:
|
- run:
|
||||||
name: "store url links"
|
name: "store url links"
|
||||||
command: |
|
command: |
|
||||||
@@ -376,8 +386,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: ./dist
|
at: ./dist
|
||||||
- run: wget -qO - https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key | apt-key add -
|
- update_base_image:
|
||||||
- run: apt-get update && apt-get -y install jq
|
apt_opts: "jq"
|
||||||
- run: mkdir -p ./links
|
- run: mkdir -p ./links
|
||||||
- run: echo "### Nightly builds:\n" > ./links/linklist.txt
|
- run: echo "### Nightly builds:\n" > ./links/linklist.txt
|
||||||
- run:
|
- run:
|
||||||
|
Reference in New Issue
Block a user