-
Notifications
You must be signed in to change notification settings - Fork 30
ci: get rid of ci-docker-image #1632
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
base: master
Are you sure you want to change the base?
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 | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -105,16 +105,12 @@ jobs: | |||||||||||||||
| lint: | ||||||||||||||||
| runs-on: ubuntu-24.04 | ||||||||||||||||
| timeout-minutes: 5 | ||||||||||||||||
| container: | ||||||||||||||||
| image: ghcr.io/ddterm/ci-docker-image:2025.12.05.0 | ||||||||||||||||
|
|
||||||||||||||||
| steps: | ||||||||||||||||
| - name: Checkout | ||||||||||||||||
| id: checkout | ||||||||||||||||
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | ||||||||||||||||
|
|
||||||||||||||||
| - run: git config --global --replace-all safe.directory "$GITHUB_WORKSPACE" | ||||||||||||||||
|
|
||||||||||||||||
| - name: Install development dependencies from npm | ||||||||||||||||
| id: npm | ||||||||||||||||
| uses: ./.github/actions/npm-install | ||||||||||||||||
|
|
@@ -162,19 +158,18 @@ jobs: | |||||||||||||||
| bundle: | ||||||||||||||||
| runs-on: ubuntu-24.04 | ||||||||||||||||
| timeout-minutes: 5 | ||||||||||||||||
| container: | ||||||||||||||||
| image: ghcr.io/ddterm/ci-docker-image:2025.12.05.0 | ||||||||||||||||
|
|
||||||||||||||||
| outputs: | ||||||||||||||||
| build-inputs: ${{ steps.ninja-inputs.outputs.inputs }} | ||||||||||||||||
| version: ${{ steps.version.outputs.version }} | ||||||||||||||||
|
|
||||||||||||||||
| steps: | ||||||||||||||||
| - run: sudo apt-get update | ||||||||||||||||
| - run: sudo apt-get install -y --no-install-recommends tox colorized-logs gjs gettext desktop-file-utils | ||||||||||||||||
|
|
||||||||||||||||
| - name: Checkout | ||||||||||||||||
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | ||||||||||||||||
|
|
||||||||||||||||
| - run: git config --global --replace-all safe.directory "$GITHUB_WORKSPACE" | ||||||||||||||||
|
|
||||||||||||||||
| - name: Install meson | ||||||||||||||||
| uses: ./.github/actions/setup-meson | ||||||||||||||||
|
|
||||||||||||||||
|
|
@@ -226,21 +221,23 @@ jobs: | |||||||||||||||
|
|
||||||||||||||||
| runs-on: ubuntu-24.04 | ||||||||||||||||
| timeout-minutes: 5 | ||||||||||||||||
| container: | ||||||||||||||||
| image: ghcr.io/ddterm/ci-docker-image:2025.12.05.0 | ||||||||||||||||
|
|
||||||||||||||||
| steps: | ||||||||||||||||
| - run: sudo apt-get update | ||||||||||||||||
| - run: sudo apt-get install -y --no-install-recommends tox colorized-logs | ||||||||||||||||
|
|
||||||||||||||||
| - run: echo /home/linuxbrew/.linuxbrew/bin >>"$GITHUB_PATH" | ||||||||||||||||
| - run: brew install gettext | ||||||||||||||||
|
Comment on lines
+226
to
+230
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. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Search for gettext version constraints in the project
rg -i "gettext" --type-list | head -20
fd . -type f -name "*.build" -o -name "meson.build" -o -name "*.py" -o -name "*.md" | head -20Repository: ddterm/gnome-shell-extension-ddterm Length of output: 639 🏁 Script executed: #!/bin/bash
# Search for gettext references and version requirements
rg "gettext" --type md --type txt --type python -A 3 -B 3 | head -100Repository: ddterm/gnome-shell-extension-ddterm Length of output: 109 🏁 Script executed: #!/bin/bash
# Check meson.build for gettext configuration
find . -name "meson.build" -type f -exec cat {} \; | grep -A 5 -B 5 "gettext" 2>/dev/nullRepository: ddterm/gnome-shell-extension-ddterm Length of output: 2455 🏁 Script executed: #!/bin/bash
# Look for version specifications in the workflow and related files
rg -A 5 -B 5 "gettext|colorized" .github/workflows/ci.yml | head -50Repository: ddterm/gnome-shell-extension-ddterm Length of output: 905 Install gettext via apt-get for consistency with other jobs. The Suggested change - run: sudo apt-get update
- - run: sudo apt-get install -y --no-install-recommends tox colorized-logs
-
- - run: echo /home/linuxbrew/.linuxbrew/bin >>"$GITHUB_PATH"
- - run: brew install gettext
+ - run: sudo apt-get install -y --no-install-recommends tox colorized-logs gettext📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||
|
|
||||||||||||||||
| - name: Checkout | ||||||||||||||||
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | ||||||||||||||||
|
|
||||||||||||||||
| - run: git config --global --replace-all safe.directory "$GITHUB_WORKSPACE" | ||||||||||||||||
|
|
||||||||||||||||
| - name: Install meson | ||||||||||||||||
| uses: ./.github/actions/setup-meson | ||||||||||||||||
|
|
||||||||||||||||
| - name: Prepare build directory | ||||||||||||||||
| id: setup | ||||||||||||||||
| run: meson setup '-Dshebang_override=/usr/bin/env gjs' '-Dtests=disabled' build | ||||||||||||||||
| run: meson setup '-Dshebang_override=/usr/bin/env gjs' '-Dtests=disabled' '-Dtypelib_installer=false' build | ||||||||||||||||
| shell: pipetty bash -e {0} | ||||||||||||||||
|
|
||||||||||||||||
| - name: Update POTFILES.in | ||||||||||||||||
|
|
@@ -290,9 +287,6 @@ jobs: | |||||||||||||||
| if: fromJSON(needs.plan.outputs.need-tests) | ||||||||||||||||
| runs-on: ubuntu-24.04 | ||||||||||||||||
| timeout-minutes: 15 | ||||||||||||||||
| container: | ||||||||||||||||
| image: ghcr.io/ddterm/ci-docker-image:2025.12.05.0 | ||||||||||||||||
| options: --init --privileged --tmpfs /run -v /tmp:/tmp --cgroupns=host | ||||||||||||||||
|
|
||||||||||||||||
| steps: | ||||||||||||||||
| - name: Checkout | ||||||||||||||||
|
|
@@ -367,9 +361,6 @@ jobs: | |||||||||||||||
| if: fromJSON(needs.plan.outputs.need-tests) | ||||||||||||||||
| runs-on: ubuntu-24.04 | ||||||||||||||||
| timeout-minutes: 15 | ||||||||||||||||
| container: | ||||||||||||||||
| image: ghcr.io/ddterm/ci-docker-image:2025.12.05.0 | ||||||||||||||||
| options: --init --privileged --tmpfs /run -v /tmp:/tmp --cgroupns=host | ||||||||||||||||
|
|
||||||||||||||||
| steps: | ||||||||||||||||
| - name: Checkout | ||||||||||||||||
|
|
||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,9 +14,6 @@ | |
| .tox/ | ||
| __pycache__/ | ||
|
|
||
| # do-in-docker.sh/do-in-podman.sh | ||
| /.container-home/ | ||
|
|
||
| # Vagrant | ||
| /.vagrant/ | ||
|
|
||
|
|
||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick | 🔵 Trivial
Good defensive setup for host-based execution.
Installing tox on-demand ensures it's available on ubuntu-slim runners without assuming pre-installed packages. The conditional check prevents unnecessary reinstalls.
💡 Optional: Consider using `command -v` for POSIX portability
While
command -Vworks fine in bash,command -vis more portable:Both work here, but
-vis the POSIX standard flag for checking command existence.📝 Committable suggestion
🤖 Prompt for AI Agents