Skip to content

build(deps): bump micromatch from 4.0.5 to 4.0.8 #150

build(deps): bump micromatch from 4.0.5 to 4.0.8

build(deps): bump micromatch from 4.0.5 to 4.0.8 #150

Workflow file for this run

name: CI
on:
pull_request:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Install pre-requisites
run: |
yarn
sudo wget -q -O /usr/bin/sops https://github.com/mozilla/sops/releases/download/v3.7.3/sops-v3.7.3.linux.amd64
sudo chmod a+x /usr/bin/sops
sudo pip install --upgrade pip
sudo pip uninstall -y ansible-core
pip install --force-reinstall ansible==7.6.0
pip install --force-reinstall ansible-lint==6.17.0
- name: Lint Ansible files
run: yarn lint
- name: Compare values across environments
run: yarn validate-values
env:
SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_PRIVATE_KEY }}
deploy-lab:
runs-on: self-hosted
needs:
- validate
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Write ssh key
run: |
echo "${{ secrets.SSH_KEY }}" > ${{ runner.temp }}/ssh.key
chmod 0600 ${{ runner.temp }}/ssh.key
- name: Run Ansible playbooks
run: yarn lab:apply _all -e ansible_user=github-runner --private-key ${{ runner.temp }}/ssh.key
env:
SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_PRIVATE_KEY }}
ANSIBLE_HOST_KEY_CHECKING: "false"
e2e-lab-local:
uses: homecentr/e2e/.github/workflows/run-e2e.yml@master
needs:
- deploy-lab
with:
environment: lab
client: local
secrets:
sops_age_key: ${{ secrets.SOPS_AGE_PRIVATE_KEY }}
e2e-lab-remote:
uses: homecentr/e2e/.github/workflows/run-e2e.yml@master
needs:
- deploy-lab
with:
environment: lab
client: remote
secrets:
sops_age_key: ${{ secrets.SOPS_AGE_PRIVATE_KEY }}