From bc56e757db65dd31f80f17666194cf5bd41c8df6 Mon Sep 17 00:00:00 2001 From: Vladislav Doster Date: Sun, 30 Oct 2022 04:58:55 -0500 Subject: [PATCH] maint: disable container & installer workflows Temporarily disable container and installer workflows so CI checks pass. Fixes for both are a WIP and will be in a seperate PR that also re-enables the workflows. Signed-off-by: Vladislav Doster --- .github/workflows/containers.yaml | 30 ++++----- .github/workflows/installer.yaml | 106 +++++++++++++++--------------- 2 files changed, 68 insertions(+), 68 deletions(-) diff --git a/.github/workflows/containers.yaml b/.github/workflows/containers.yaml index 2f84bb4a..d53108d4 100644 --- a/.github/workflows/containers.yaml +++ b/.github/workflows/containers.yaml @@ -1,4 +1,5 @@ -name: 🐳 containers +name: Container images + on: [push, workflow_dispatch] jobs: @@ -16,34 +17,33 @@ jobs: - 5.7.1 - 5.8 steps: - - name: 📡 Check out repository code + - name: check out repository code uses: actions/checkout@v3 - - name: 🍃 Grab git slugs (short commit id, branch etc.) + - name: Grab git slugs (short commit id, branch etc.) uses: rlespinasse/github-slug-action@v3.x - - name: 🌐 Set up QEMU + - name: set up qemu uses: docker/setup-qemu-action@v2 - - name: 🐋 Set up Docker Buildx + - name: setup docker buildx id: buildx uses: docker/setup-buildx-action@v2 with: install: true use: true - - name: 🔑 Login to GitHub Container Registry + - name: login to github container registry uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: 🐳 Build and push + - name: build and push id: docker_build_zsh_versions uses: docker/build-push-action@v3 - # Older zsh version tend to make GH runners hang when building - timeout-minutes: 90 + timeout-minutes: 90 # compiling older zsh versions take a long time with: push: ${{ github.event.number == 0 }} file: ./docker/Dockerfile @@ -59,30 +59,30 @@ jobs: build-container-latest: runs-on: ubuntu-latest steps: - - name: 📡 Check out repository code + - name: checkout code uses: actions/checkout@v3 - - name: 🍃 Grab git slugs (short commit id, branch etc.) + - name: get vcs details uses: rlespinasse/github-slug-action@v3.x - - name: 🌐 Set up QEMU + - name: setup docker qemu uses: docker/setup-qemu-action@v2 - - name: 🐋 Set up Docker Buildx + - name: setup docker buildx id: buildx uses: docker/setup-buildx-action@v2 with: install: true use: true - - name: 🔑 Login to GitHub Container Registry + - name: github container registry authentication uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: 🐳 Build and push + - name: build & push new image id: docker_build_latest uses: docker/build-push-action@v3 if: github.ref == 'refs/heads/main' diff --git a/.github/workflows/installer.yaml b/.github/workflows/installer.yaml index 7e6cbb04..9a7bce23 100644 --- a/.github/workflows/installer.yaml +++ b/.github/workflows/installer.yaml @@ -1,67 +1,67 @@ -name: Installer +# name: Installer -concurrency: - cancel-in-progress: true - group: ${{ github.workflow }}-${{ github.ref }} +# concurrency: +# cancel-in-progress: true +# group: ${{ github.workflow }}-${{ github.ref }} -defaults: - run: - shell: bash +# defaults: +# run: +# shell: bash -env: - NO_INPUT: true - TERM: xterm - ZINIT_BRANCH: ${{ github.ref_name }} - ZINIT_COMMIT: ${{ github.sha }} - ZINIT_REPO: ${{ github.repository }} +# env: +# NO_INPUT: true +# TERM: xterm +# ZINIT_BRANCH: ${{ github.ref_name }} +# ZINIT_COMMIT: ${{ github.sha }} +# ZINIT_REPO: ${{ github.repository }} -on: - pull_request: - branches: - - main - paths: - - .github/workflows/installer.yaml - - scripts/** - - share/** - - zinit*.zsh - push: - branches: - - main - workflow_dispatch: +# on: +# pull_request: +# branches: +# - main +# paths: +# - .github/workflows/installer.yaml +# - scripts/** +# - share/** +# - zinit*.zsh +# push: +# branches: +# - main +# workflow_dispatch: -jobs: +# jobs: - zinit-installer: +# zinit-installer: - runs-on: ${{ matrix.os }} - strategy: - fail-fast: true - matrix: - annexes: ["with annexes", "no annexes"] - os: [macos-latest, ubuntu-latest, windows-latest] +# runs-on: ${{ matrix.os }} +# strategy: +# fail-fast: true +# matrix: +# annexes: ["with annexes", "no annexes"] +# os: [macos-latest, ubuntu-latest, windows-latest] - steps: +# steps: - - name: check out repository - uses: actions/checkout@v3 +# - name: check out repository +# uses: actions/checkout@v3 - - name: windows dependencies - if: runner.os == 'Windows' - uses: egor-tensin/setup-cygwin@v3 - with: - platform: x64 - packages: curl git zsh +# - name: windows dependencies +# if: runner.os == 'Windows' +# uses: egor-tensin/setup-cygwin@v3 +# with: +# platform: x64 +# packages: curl git zsh - - name: remove \r - if: runner.os == 'Windows' - run: sed -i 's/\r$//' scripts/*.sh +# - name: remove \r +# if: runner.os == 'Windows' +# run: sed -i 's/\r$//' scripts/*.sh - - name: linux/macos dependencies - if: runner.os != 'Windows' - run: brew install --force curl subversion unzip xz zsh +# - name: linux/macos dependencies +# if: runner.os != 'Windows' +# run: brew install --force curl subversion unzip xz zsh - - name: install - run: ./scripts/install.sh +# - name: install +# run: ./scripts/install.sh - - name: verify install - run: zsh -silc 'zinit --help' +# - name: verify install +# run: zsh -silc 'zinit --help'