File tree Expand file tree Collapse file tree 6 files changed +2
-69
lines changed
Expand file tree Collapse file tree 6 files changed +2
-69
lines changed Original file line number Diff line number Diff line change @@ -142,13 +142,6 @@ jobs:
142142 secretKey : ${{ secrets.CACHE_SECRET_KEY }}
143143 bucket : ${{ steps.ltp.outputs.init_cache_bucket }}
144144
145- - name : Install missing python3-yaml on private runners
146- if : ${{ inputs.runs_on != '"ubuntu-latest"'}}
147- shell : bash
148- run : |
149- sudo DEBIAN_FRONTEND=noninteractive apt-get -qq update
150- sudo apt-get -qq install python3-yaml
151-
152145 - name : Obfuscate _custom yaml
153146 if : always()
154147 shell : python
@@ -1715,17 +1708,6 @@ jobs:
17151708 if : ${{ always() && needs.init.outputs.actionlint_skip != 'true' }}
17161709 runs-on : ${{ fromJSON(inputs.runs_on) }}
17171710 steps :
1718- - name : Install npm on private runner
1719- if : ${{ inputs.runs_on != '"ubuntu-latest"'}}
1720- run : |
1721- NPM=$(type -p 'npm'||true)
1722- PIPX=$(type -p 'pipx'||true)
1723- if [ -z "${NPM}" ] || [ -z "${PIPX}" ]; then
1724- echo -e "\033[0;35m### Installing npm, shellcheck, pipx ###\033[0m"
1725- sudo DEBIAN_FRONTEND=noninteractive apt-get -qq update
1726- sudo apt-get -qq install npm shellcheck pipx python3-venv
1727- fi
1728-
17291711 - name : Checkout
17301712 id : checkout
17311713 uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -142,13 +142,6 @@ jobs:
142142 secretKey : ${{ secrets.CACHE_SECRET_KEY }}
143143 bucket : ${{ steps.ltp.outputs.init_cache_bucket }}
144144
145- - name : Install missing python3-yaml on private runners
146- if : ${{ inputs.runs_on != '"ubuntu-latest"'}}
147- shell : bash
148- run : |
149- sudo DEBIAN_FRONTEND=noninteractive apt-get -qq update
150- sudo apt-get -qq install python3-yaml
151-
152145 - name : Obfuscate _custom yaml
153146 if : always()
154147 shell : python
@@ -1715,17 +1708,6 @@ jobs:
17151708 if : ${{ always() && needs.init.outputs.actionlint_skip != 'true' }}
17161709 runs-on : ${{ fromJSON(inputs.runs_on) }}
17171710 steps :
1718- - name : Install npm on private runner
1719- if : ${{ inputs.runs_on != '"ubuntu-latest"'}}
1720- run : |
1721- NPM=$(type -p 'npm'||true)
1722- PIPX=$(type -p 'pipx'||true)
1723- if [ -z "${NPM}" ] || [ -z "${PIPX}" ]; then
1724- echo -e "\033[0;35m### Installing npm, shellcheck, pipx ###\033[0m"
1725- sudo DEBIAN_FRONTEND=noninteractive apt-get -qq update
1726- sudo apt-get -qq install npm shellcheck pipx python3-venv
1727- fi
1728-
17291711 - name : Checkout
17301712 id : checkout
17311713 uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -169,13 +169,6 @@ jobs:
169169 ${{ inputs.plan_folder }}/*
170170 key : ' ${{ steps.ltp.outputs.init_cache_name }}'
171171
172- - name : Install missing python3-yaml on private runners
173- if : ${{ inputs.runs_on != '"ubuntu-latest"'}}
174- shell : bash
175- run : |
176- sudo DEBIAN_FRONTEND=noninteractive apt-get -qq update
177- sudo apt-get -qq install python3-yaml
178-
179172 - name : Obfuscate _custom yaml
180173 if : always()
181174 shell : python
Original file line number Diff line number Diff line change @@ -169,13 +169,6 @@ jobs:
169169 ${{ inputs.plan_folder }}/*
170170 key : ' ${{ steps.ltp.outputs.init_cache_name }}'
171171
172- - name : Install missing python3-yaml on private runners
173- if : ${{ inputs.runs_on != '"ubuntu-latest"'}}
174- shell : bash
175- run : |
176- sudo DEBIAN_FRONTEND=noninteractive apt-get -qq update
177- sudo apt-get -qq install python3-yaml
178-
179172 - name : Obfuscate _custom yaml
180173 if : always()
181174 shell : python
Original file line number Diff line number Diff line change @@ -34,24 +34,12 @@ inputs:
3434runs :
3535 using : composite
3636 steps :
37- - name : Install s3cmd and gh
37+ - name : Install gh-actions-cache and configure s3cmd
3838 shell : bash
3939 run : |
40- # clean_cache: Install s3cmd and gh
40+ # clean_cache: Install gh-actions-cache and configure s3cmd
4141 GH=$(type -p 'gh'||true)
42- if [ -z "${GH}" ]; then
43- echo -e "\033[0;35m### Installing gh ###\033[0m"
44- curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
45- sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
46- ARCH=$(dpkg --print-architecture)
47- echo "deb [arch=${ARCH} signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" |\
48- sudo tee /etc/apt/sources.list.d/github-cli.list >/dev/null
49- sudo DEBIAN_FRONTEND=noninteractive apt-get -qq update
50- sudo apt-get -qq install gh
51- GH=$(type -p 'gh'||true)
52- fi
5342 ${GH} extension install actions/gh-actions-cache
54- sudo DEBIAN_FRONTEND=noninteractive apt-get -qq install s3cmd
5543 if [[ '${{ inputs.runs_on }}' != *"ubuntu"* ]]; then
5644 cat >/home/runner/.s3cfg <<EOF
5745 [default]
Original file line number Diff line number Diff line change 4545 # shellcheck disable=SC2086
4646
4747 YL=$(type -p 'yamllint'||true)
48- if [ -z "${YL}" ]; then
49- echo -e "\033[0;35m### Installing yamllint ###\033[0m"
50- sudo apt-get update
51- sudo apt-get -qq install yamllint
52- fi
5348 set -o pipefail
5449 if [[ -z "$LOGFILE" ]]; then
5550 LOGFILE=$(mktemp yamllint-XXXXXX)
You can’t perform that action at this time.
0 commit comments