Confronta commit
3 Commit
426bd3864a
...
master
Autore | SHA1 | Data | |
---|---|---|---|
fb536f5292
|
|||
82f186fe71
|
|||
8999a65f4e
|
7
.github/workflows/images-centos.yml
esterno
7
.github/workflows/images-centos.yml
esterno
@ -75,6 +75,13 @@ jobs:
|
|||||||
|
|
||||||
ssh root@$IP systemctl is-active images-centos
|
ssh root@$IP systemctl is-active images-centos
|
||||||
|
|
||||||
|
- name: Archive logs
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: images-centos-log
|
||||||
|
path: images-centos.log
|
||||||
|
|
||||||
- name: delete droplet
|
- name: delete droplet
|
||||||
if: always()
|
if: always()
|
||||||
run: doctl compute droplet delete -f ga-out-of-tree-images-centos-$GITHUB_SHA
|
run: doctl compute droplet delete -f ga-out-of-tree-images-centos-$GITHUB_SHA
|
||||||
|
9
.github/workflows/images-oraclelinux.yml
esterno
9
.github/workflows/images-oraclelinux.yml
esterno
@ -25,7 +25,7 @@ jobs:
|
|||||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
|
||||||
- name: create droplet
|
- name: create droplet
|
||||||
run: doctl compute droplet create --ssh-keys='b4:4c:66:7d:be:19:25:43:1c:e0:02:61:9f:49:12:94,37:46:77:a8:4a:96:3b:20:16:46:35:04:95:ca:0c:5c' --tag-name=github-actions ga-out-of-tree-images-oraclelinux-$GITHUB_SHA --size s-1vcpu-1gb --image ubuntu-22-04-x64 --wait
|
run: doctl compute droplet create --ssh-keys='b4:4c:66:7d:be:19:25:43:1c:e0:02:61:9f:49:12:94,37:46:77:a8:4a:96:3b:20:16:46:35:04:95:ca:0c:5c' --tag-name=github-actions ga-out-of-tree-images-oraclelinux-$GITHUB_SHA --size s-1vcpu-2gb --image ubuntu-22-04-x64 --wait
|
||||||
|
|
||||||
# TODO Move to common script
|
# TODO Move to common script
|
||||||
- name: generate images
|
- name: generate images
|
||||||
@ -73,6 +73,13 @@ jobs:
|
|||||||
|
|
||||||
ssh root@$IP systemctl is-active images-oraclelinux
|
ssh root@$IP systemctl is-active images-oraclelinux
|
||||||
|
|
||||||
|
- name: Archive logs
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: images-oraclelinux-log
|
||||||
|
path: images-oraclelinux.log
|
||||||
|
|
||||||
- name: delete droplet
|
- name: delete droplet
|
||||||
if: always()
|
if: always()
|
||||||
run: doctl compute droplet delete -f ga-out-of-tree-images-oraclelinux-$GITHUB_SHA
|
run: doctl compute droplet delete -f ga-out-of-tree-images-oraclelinux-$GITHUB_SHA
|
||||||
|
@ -87,7 +87,32 @@ func (suse OpenSUSE) Packages() (pkgs []string, err error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
pkgs = append(pkgs, strings.Fields(output)...)
|
// TODO Find a way for non-interactive installation of
|
||||||
|
// retracted kernels
|
||||||
|
retracted := []string{
|
||||||
|
"5.14.21-150400.24.49.3",
|
||||||
|
"5.14.21-150400.24.84.1",
|
||||||
|
"5.14.21-150500.55.22.1",
|
||||||
|
"5.3.18-150300.59.81.1",
|
||||||
|
"5.3.18-59.30.1",
|
||||||
|
"5.3.18-lp152.98.1",
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, k := range strings.Fields(output) {
|
||||||
|
skip := false
|
||||||
|
for _, rk := range retracted {
|
||||||
|
if rk == k {
|
||||||
|
skip = true
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if skip {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
|
pkgs = append(pkgs, k)
|
||||||
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Fai riferimento in un nuovo problema
Block a user