CI #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
workflow_dispatch: | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Azure login | |
uses: azure/login@v1 | |
with: | |
creds: ${{ secrets.AZURE_CREDENTIALS }} | |
- run: | | |
chmod +x runFlan | |
chmod +x print_CNAME_or_A_entries.sh | |
chmod +x remove_black_list.sh | |
- run: | | |
az network dns record-set list -z applitools.com -g ApplitoolsManagement --subscription "Applitools Eyes" > urls.json | |
cat urls.json | |
- run: | | |
./print_CNAME_or_A_entries.sh urls.json > ips.txt | |
./remove_black_list.sh | |
cat ips.txt | |
- run: | | |
sudo ./runFlan | |
# - uses: actions/checkout@v2 | |
# - name: Use Node.js | |
# uses: actions/setup-node@v1 | |
# with: | |
# node-version: '15.x' | |
# - run: git clone https://github.com/cloudflare/flan.git | |
# - run: cat ./flan/shared/ips.txt | |
# - run: cp ips.txt flan/shared/ips.txt | |
# - run: cat ./flan/shared/ips.txt | |
# - run: ls | |
# - run: cd flan | |
# - run: docker --version | |
# - run: make build | |
# - run: make start | |
# - run: make html | |
# - run: cd shared/reports | |
# - run: ls | |
# - run: cat *.html |