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 <mvdoster@gmail.com>
This commit is contained in:
Vladislav Doster 2022-10-30 04:58:55 -05:00
parent 1d4d38b853
commit bc56e757db
2 changed files with 68 additions and 68 deletions

View file

@ -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'

View file

@ -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'