-
Notifications
You must be signed in to change notification settings - Fork 988
Update runner image to the latest ubuntu #3450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -114,7 +114,7 @@ jobs: | |
| name: Build Linux | ||
| needs: | ||
| - setup | ||
| runs-on: ubuntu-20.04 | ||
| runs-on: ubuntu-latest | ||
|
|
||
| env: | ||
| VERSION_BUILD: ${{ needs.setup.outputs.version-build }} | ||
|
|
@@ -311,7 +311,7 @@ jobs: | |
| cp ../completion/cf${VERSION_MAJOR} cf/usr/share/bash-completion/completions/cf${VERSION_MAJOR} | ||
| cp $root/out/cf-cli_linux_i686 cf/usr/bin/cf${VERSION_MAJOR} | ||
| ln -frs cf/usr/bin/cf${VERSION_MAJOR} cf/usr/bin/cf | ||
| fakeroot dpkg --build cf cf${VERSION_MAJOR}-cli-installer_${VERSION_BUILD}_i686.deb | ||
| fakeroot dpkg-deb -Zxz --build cf cf${VERSION_MAJOR}-cli-installer_${VERSION_BUILD}_i686.deb | ||
| mv cf${VERSION_MAJOR}-cli-installer_${VERSION_BUILD}_i686.deb $root/packaged-deb | ||
| rm -rf cf | ||
| popd | ||
|
|
@@ -336,7 +336,7 @@ jobs: | |
| cp ../completion/cf${VERSION_MAJOR} cf/usr/share/bash-completion/completions/cf${VERSION_MAJOR} | ||
| cp $root/out/cf-cli_linux_x86-64 cf/usr/bin/cf${VERSION_MAJOR} | ||
| ln -frs cf/usr/bin/cf${VERSION_MAJOR} cf/usr/bin/cf | ||
| fakeroot dpkg --build cf cf${VERSION_MAJOR}-cli-installer_${VERSION_BUILD}_x86-64.deb | ||
| fakeroot dpkg-deb -Zxz --build cf cf${VERSION_MAJOR}-cli-installer_${VERSION_BUILD}_x86-64.deb | ||
| mv cf${VERSION_MAJOR}-cli-installer_${VERSION_BUILD}_x86-64.deb $root/packaged-deb | ||
| popd | ||
| ) | ||
|
|
@@ -360,7 +360,7 @@ jobs: | |
| cp ../completion/cf${VERSION_MAJOR} cf/usr/share/bash-completion/completions/cf${VERSION_MAJOR} | ||
| cp $root/out/cf-cli_linux_arm64 cf/usr/bin/cf${VERSION_MAJOR} | ||
| ln -frs cf/usr/bin/cf${VERSION_MAJOR} cf/usr/bin/cf | ||
| fakeroot dpkg --build cf cf${VERSION_MAJOR}-cli-installer_${VERSION_BUILD}_arm64.deb | ||
| fakeroot dpkg-deb -Zxz --build cf cf${VERSION_MAJOR}-cli-installer_${VERSION_BUILD}_arm64.deb | ||
| mv cf${VERSION_MAJOR}-cli-installer_${VERSION_BUILD}_arm64.deb $root/packaged-deb | ||
| popd | ||
| ) | ||
|
|
@@ -905,20 +905,29 @@ jobs: | |
| needs: | ||
| - setup | ||
| - build-linux | ||
| runs-on: ubuntu-20.04 | ||
| container: | ||
| image: ubuntu:20.04 | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
|
|
||
| - name: Download Signed Linux Packages | ||
| uses: actions/download-artifact@v4 | ||
| with: | ||
| name: cf-cli-linux-deb-packages | ||
|
|
||
| - name: Display structure of downloaded files | ||
| - name: Display structure of downloaded files and test compression | ||
| run: | | ||
| ls -R | ||
|
|
||
| for i in debian:11 debian:12 ubuntu:20.04 ubuntu:22.04 ubuntu; do docker run \ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. question I dont have context on the compression issue, but how does this test it?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Couple examples:
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we use the matrix strategy here to change the container image? instead of this for loop?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good call. Yes, we should use matrix!
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Cool thanks
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| --interactive \ | ||
| --rm \ | ||
| -v .:/workspace \ | ||
| ${i:?} <<EOC | ||
| printf "${i:?} -> " | ||
| grep PRETTY_NAME /etc/os-release | cut -d= -f2- | ||
| cd workspace | ||
| ls *.deb | xargs -n1 dpkg --info | ||
| EOC | ||
| done | ||
|
|
||
| test-macos: | ||
| name: Test macOS Artifacts | ||
|
|
@@ -1069,4 +1078,4 @@ jobs: | |
|
|
||
| git push | ||
| fi | ||
| popd | ||
| popd | ||
Uh oh!
There was an error while loading. Please reload this page.