feat: add custom action to set PATH environment variable and show tha… #3243
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: Build | |
on: | |
pull_request: | |
push: | |
branches-ignore: | |
- 'hotfix-*' | |
- 'release' | |
jobs: | |
docker-build-accounts: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./Accounts/Dockerfile . | |
docker-build-isolated-vm: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./IsolatedVM/Dockerfile . | |
docker-build-home: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./Home/Dockerfile . | |
docker-build-worker: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./Worker/Dockerfile . | |
docker-build-workflow: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./Workflow/Dockerfile . | |
docker-build-api-reference: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./APIReference/Dockerfile . | |
docker-build-docs: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./Docs/Dockerfile . | |
docker-build-otel-collector: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./OTelCollector/Dockerfile . | |
docker-build-app: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./App/Dockerfile . | |
docker-build-copilot: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./Copilot/Dockerfile . | |
docker-build-e2e: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./E2E/Dockerfile . | |
docker-build-admin-dashboard: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for home | |
- name: build docker image | |
run: sudo docker build -f ./AdminDashboard/Dockerfile . | |
docker-build-dashboard: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for home | |
- name: build docker image | |
run: sudo docker build -f ./Dashboard/Dockerfile . | |
docker-build-haraka: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build images | |
- name: build docker image | |
run: sudo docker build -f ./Haraka/Dockerfile . | |
docker-build-probe: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image probe api | |
- name: build docker image | |
run: sudo docker build -f ./Probe/Dockerfile . | |
docker-build-probe-ingest: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image probe api | |
- name: build docker image | |
run: sudo docker build -f ./ProbeIngest/Dockerfile . | |
docker-build-open-telemetry-ingest: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image probe api | |
- name: build docker image | |
run: sudo docker build -f ./OpenTelemetryIngest/Dockerfile . | |
docker-build-incoming-request-ingest: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image probe api | |
- name: build docker image | |
run: sudo docker build -f ./IncomingRequestIngest/Dockerfile . | |
docker-build-fluent-ingest: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image probe api | |
- name: build docker image | |
run: sudo docker build -f ./FluentIngest/Dockerfile . | |
docker-build-status-page: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for home | |
- name: build docker image | |
run: sudo docker build -f ./StatusPage/Dockerfile . | |
docker-build-test-server: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for mail service | |
- name: build docker image | |
run: sudo docker build -f ./TestServer/Dockerfile . |