From 21bf87f234a9f8782a13492d815ed3c9aff9d0ed Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Wed, 21 Jun 2023 17:50:28 +1000 Subject: Fix workflows and checks (#1872) * Update translation workflow * Fix broken checks --------- Co-authored-by: Daniel Girtler --- .github/workflows/pytest.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows/pytest.yaml') diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 568a6e6c..83d2e177 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -9,7 +9,7 @@ jobs: steps: - uses: actions/checkout@v3 - run: pacman --noconfirm -Syu python python-pip qemu gcc - - run: python -m pip install --upgrade pip - - run: pip install pytest + - run: python -m pip install --break-system-packages --upgrade pip + - run: pip install --break-system-packages pytest - name: Test with pytest run: python -m pytest || exit 0 -- cgit v1.2.3-70-g09d2 From bcf1eb3e36a46117cf13fd4ce4f22b8525f3cd3e Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Tue, 5 Sep 2023 21:32:30 +1000 Subject: Update --- .github/workflows/bandit.yaml | 2 +- .github/workflows/flake8.yaml | 2 +- .github/workflows/iso-build.yaml | 2 +- .github/workflows/mypy.yaml | 2 +- .github/workflows/pytest.yaml | 2 +- .github/workflows/python-build.yml | 1 - .github/workflows/python-publish.yml | 2 +- .github/workflows/translation-check.yaml | 2 +- 8 files changed, 7 insertions(+), 8 deletions(-) (limited to '.github/workflows/pytest.yaml') diff --git a/.github/workflows/bandit.yaml b/.github/workflows/bandit.yaml index 84c63348..4378e8ac 100644 --- a/.github/workflows/bandit.yaml +++ b/.github/workflows/bandit.yaml @@ -6,7 +6,7 @@ jobs: container: image: archlinux:latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: pacman --noconfirm -Syu bandit - name: Security checkup with Bandit run: bandit -r archinstall || exit 0 diff --git a/.github/workflows/flake8.yaml b/.github/workflows/flake8.yaml index a33fb07c..823be79c 100644 --- a/.github/workflows/flake8.yaml +++ b/.github/workflows/flake8.yaml @@ -6,7 +6,7 @@ jobs: container: image: archlinux:latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: pacman --noconfirm -Syu python python-pip - run: pip install --break-system-packages --upgrade pip - run: pip install --break-system-packages flake8 diff --git a/.github/workflows/iso-build.yaml b/.github/workflows/iso-build.yaml index 00e2c13f..252ff645 100644 --- a/.github/workflows/iso-build.yaml +++ b/.github/workflows/iso-build.yaml @@ -26,7 +26,7 @@ jobs: image: archlinux:latest options: --privileged steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: pwd - run: find . - run: cat /etc/os-release diff --git a/.github/workflows/mypy.yaml b/.github/workflows/mypy.yaml index ccca2b9d..90200626 100644 --- a/.github/workflows/mypy.yaml +++ b/.github/workflows/mypy.yaml @@ -6,7 +6,7 @@ jobs: container: image: archlinux:latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: pacman --noconfirm -Syu python mypy python-pip - run: pip install --break-system-packages --upgrade pip - run: pip install --break-system-packages fastapi pydantic diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 83d2e177..a5d0cb11 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -7,7 +7,7 @@ jobs: image: archlinux:latest options: --privileged steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: pacman --noconfirm -Syu python python-pip qemu gcc - run: python -m pip install --break-system-packages --upgrade pip - run: pip install --break-system-packages pytest diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml index 6a3bb87b..afb1c6bc 100644 --- a/.github/workflows/python-build.yml +++ b/.github/workflows/python-build.yml @@ -19,7 +19,6 @@ jobs: pacman --noconfirm -Sy python-pip python-pyparted python-simple-term-menu pkgconfig gcc - name: Install build dependencies run: | - python -m pip install --break-system-packages --upgrade pip pip install --break-system-packages --upgrade build twine wheel setuptools installer pip uninstall archinstall -y --break-system-packages - name: Build archinstall diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 8a5bd679..b204252e 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v4 with: diff --git a/.github/workflows/translation-check.yaml b/.github/workflows/translation-check.yaml index a646d582..43f114ac 100644 --- a/.github/workflows/translation-check.yaml +++ b/.github/workflows/translation-check.yaml @@ -12,7 +12,7 @@ jobs: container: image: archlinux:latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: pacman --noconfirm -Syu python - run: cd archinstall/locales - run: pwd -- cgit v1.2.3-70-g09d2 From 4505f6febb7f8ee324ec633657352b4606b527bd Mon Sep 17 00:00:00 2001 From: Brock Vojkovic Date: Thu, 11 Apr 2024 13:33:00 +0800 Subject: Switch from weekly official to daily official image (https://github.com/archlinux/archinstall/issues/2443) (#2453) --- .github/workflows/bandit.yaml | 2 +- .github/workflows/flake8.yaml | 2 +- .github/workflows/github-pages.yml | 2 +- .github/workflows/iso-build.yaml | 2 +- .github/workflows/mypy.yaml | 2 +- .github/workflows/pytest.yaml | 2 +- .github/workflows/python-build.yml | 2 +- .github/workflows/translation-check.yaml | 2 +- .gitlab-ci.yml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) (limited to '.github/workflows/pytest.yaml') diff --git a/.github/workflows/bandit.yaml b/.github/workflows/bandit.yaml index 4378e8ac..fee1f837 100644 --- a/.github/workflows/bandit.yaml +++ b/.github/workflows/bandit.yaml @@ -4,7 +4,7 @@ jobs: flake8: runs-on: ubuntu-latest container: - image: archlinux:latest + image: archlinux/archlinux:latest steps: - uses: actions/checkout@v4 - run: pacman --noconfirm -Syu bandit diff --git a/.github/workflows/flake8.yaml b/.github/workflows/flake8.yaml index 823be79c..c9346ccc 100644 --- a/.github/workflows/flake8.yaml +++ b/.github/workflows/flake8.yaml @@ -4,7 +4,7 @@ jobs: flake8: runs-on: ubuntu-latest container: - image: archlinux:latest + image: archlinux/archlinux:latest steps: - uses: actions/checkout@v4 - run: pacman --noconfirm -Syu python python-pip diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 90e49611..6246e214 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -18,7 +18,7 @@ jobs: docs: runs-on: ubuntu-latest container: - image: archlinux:latest + image: archlinux/archlinux:latest options: --privileged steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/iso-build.yaml b/.github/workflows/iso-build.yaml index c2a3ed25..b86c47ec 100644 --- a/.github/workflows/iso-build.yaml +++ b/.github/workflows/iso-build.yaml @@ -23,7 +23,7 @@ jobs: build: runs-on: ubuntu-latest container: - image: archlinux:latest + image: archlinux/archlinux:latest options: --privileged steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/mypy.yaml b/.github/workflows/mypy.yaml index 90200626..39306cd6 100644 --- a/.github/workflows/mypy.yaml +++ b/.github/workflows/mypy.yaml @@ -4,7 +4,7 @@ jobs: mypy: runs-on: ubuntu-latest container: - image: archlinux:latest + image: archlinux/archlinux:latest steps: - uses: actions/checkout@v4 - run: pacman --noconfirm -Syu python mypy python-pip diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index a5d0cb11..6c62dd54 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -4,7 +4,7 @@ jobs: pytest: runs-on: ubuntu-latest container: - image: archlinux:latest + image: archlinux/archlinux:latest options: --privileged steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml index 109f3373..483e451b 100644 --- a/.github/workflows/python-build.yml +++ b/.github/workflows/python-build.yml @@ -8,7 +8,7 @@ jobs: deploy: runs-on: ubuntu-latest container: - image: archlinux:latest + image: archlinux/archlinux:latest options: --privileged steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/translation-check.yaml b/.github/workflows/translation-check.yaml index 188eeeb8..3cd4d14c 100644 --- a/.github/workflows/translation-check.yaml +++ b/.github/workflows/translation-check.yaml @@ -10,7 +10,7 @@ # translation-check: # runs-on: ubuntu-latest # container: -# image: archlinux:latest +# image: archlinux/archlinux:latest # steps: # - uses: actions/checkout@v4 # - run: pacman --noconfirm -Syu python git diffutils diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ca54c552..ee1b7844 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ # These jobs should leverage the same tag as that runner. If necessary, change the tag from 'docker' to the one it uses. # All jobs will be run in the official archlinux container image, so we will declare that here. -image: archlinux:latest +image: archlinux/archlinux:latest # This can be used to handle common actions. In this case, we do a pacman -Sy to make sure repos are ready to use. before_script: -- cgit v1.2.3-70-g09d2