From 899bf200b4c898108db07a7b86a154d25c86633e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Borja=20Garc=C3=ADa=20Rodr=C3=ADguez?= Date: Tue, 12 Jan 2021 14:59:00 +0100 Subject: [PATCH] remove windows build --- .github/workflows/basket-api.yml | 54 +------------------ .github/workflows/catalog-api.yml | 54 +------------------ .github/workflows/identity-api.yml | 54 +------------------ .github/workflows/mobileshoppingagg.yml | 54 +------------------ .github/workflows/ordering-api.yml | 54 +------------------ .../workflows/ordering-backgroundtasks.yml | 54 +------------------ .github/workflows/ordering-signalrhub.yml | 54 +------------------ .github/workflows/payment-api.yml | 54 +------------------ .github/workflows/webhooks-api.yml | 54 +------------------ .github/workflows/webhooks-client.yml | 54 +------------------ .github/workflows/webmvc.yml | 54 +------------------ .github/workflows/webshoppingagg.yml | 54 +------------------ .github/workflows/webspa.yml | 54 +------------------ .github/workflows/webstatus.yml | 54 +------------------ 14 files changed, 14 insertions(+), 742 deletions(-) diff --git a/.github/workflows/basket-api.yml b/.github/workflows/basket-api.yml index d9fe47035..a42f3fc1d 100644 --- a/.github/workflows/basket-api.yml +++ b/.github/workflows/basket-api.yml @@ -36,23 +36,6 @@ jobs: TAG: ${{ env.BRANCH }} REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildContainersForPR_Windows: - - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name == 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildLinux: runs-on: ubuntu-latest if: ${{ github.event_name != 'pull_request' }} @@ -103,39 +86,4 @@ jobs: run: | docker --config ~/.docker manifest create ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-${{ env.BRANCH }} docker --config ~/.docker manifest push ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} - shell: bash - - BuildWindows: - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name != 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Login to Container Registry - uses: azure/docker-login@v1 - with: - login-server: ${{ env.REGISTRY_HOST }} - username: ${{ secrets.USERNAME }} - password: ${{ secrets.PASSWORD }} - - - name: Set branch name as env variable - shell: pwsh - run: echo "BRANCH=$($env:GITHUB_REF.replace('refs/heads/', ''))" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - - - name: Compose push ${{ env.SERVICE }} - run: docker-compose push ${{ env.SERVICE }}' - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} \ No newline at end of file + shell: bash \ No newline at end of file diff --git a/.github/workflows/catalog-api.yml b/.github/workflows/catalog-api.yml index 797311042..922df9606 100644 --- a/.github/workflows/catalog-api.yml +++ b/.github/workflows/catalog-api.yml @@ -36,23 +36,6 @@ jobs: TAG: ${{ env.BRANCH }} REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildContainersForPR_Windows: - - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name == 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildLinux: runs-on: ubuntu-latest if: ${{ github.event_name != 'pull_request' }} @@ -103,39 +86,4 @@ jobs: run: | docker --config ~/.docker manifest create ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-${{ env.BRANCH }} docker --config ~/.docker manifest push ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} - shell: bash - - BuildWindows: - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name != 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Login to Container Registry - uses: azure/docker-login@v1 - with: - login-server: ${{ env.REGISTRY_HOST }} - username: ${{ secrets.USERNAME }} - password: ${{ secrets.PASSWORD }} - - - name: Set branch name as env variable - shell: pwsh - run: echo "BRANCH=$($env:GITHUB_REF.replace('refs/heads/', ''))" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - - - name: Compose push ${{ env.SERVICE }} - run: docker-compose push ${{ env.SERVICE }}' - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} \ No newline at end of file + shell: bash \ No newline at end of file diff --git a/.github/workflows/identity-api.yml b/.github/workflows/identity-api.yml index e22ee83c0..ba3228d7c 100644 --- a/.github/workflows/identity-api.yml +++ b/.github/workflows/identity-api.yml @@ -36,23 +36,6 @@ jobs: TAG: ${{ env.BRANCH }} REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildContainersForPR_Windows: - - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name == 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildLinux: runs-on: ubuntu-latest if: ${{ github.event_name != 'pull_request' }} @@ -103,39 +86,4 @@ jobs: run: | docker --config ~/.docker manifest create ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-${{ env.BRANCH }} docker --config ~/.docker manifest push ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} - shell: bash - - BuildWindows: - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name != 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Login to Container Registry - uses: azure/docker-login@v1 - with: - login-server: ${{ env.REGISTRY_HOST }} - username: ${{ secrets.USERNAME }} - password: ${{ secrets.PASSWORD }} - - - name: Set branch name as env variable - shell: pwsh - run: echo "BRANCH=$($env:GITHUB_REF.replace('refs/heads/', ''))" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - - - name: Compose push ${{ env.SERVICE }} - run: docker-compose push ${{ env.SERVICE }}' - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} \ No newline at end of file + shell: bash \ No newline at end of file diff --git a/.github/workflows/mobileshoppingagg.yml b/.github/workflows/mobileshoppingagg.yml index f57147120..809224e70 100644 --- a/.github/workflows/mobileshoppingagg.yml +++ b/.github/workflows/mobileshoppingagg.yml @@ -35,23 +35,6 @@ jobs: TAG: ${{ env.BRANCH }} REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildContainersForPR_Windows: - - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name == 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildLinux: runs-on: ubuntu-latest if: ${{ github.event_name != 'pull_request' }} @@ -102,39 +85,4 @@ jobs: run: | docker --config ~/.docker manifest create ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-${{ env.BRANCH }} docker --config ~/.docker manifest push ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} - shell: bash - - BuildWindows: - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name != 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Login to Container Registry - uses: azure/docker-login@v1 - with: - login-server: ${{ env.REGISTRY_HOST }} - username: ${{ secrets.USERNAME }} - password: ${{ secrets.PASSWORD }} - - - name: Set branch name as env variable - shell: pwsh - run: echo "BRANCH=$($env:GITHUB_REF.replace('refs/heads/', ''))" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - - - name: Compose push ${{ env.SERVICE }} - run: docker-compose push ${{ env.SERVICE }}' - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} \ No newline at end of file + shell: bash \ No newline at end of file diff --git a/.github/workflows/ordering-api.yml b/.github/workflows/ordering-api.yml index 33ba506fa..8fca094cd 100644 --- a/.github/workflows/ordering-api.yml +++ b/.github/workflows/ordering-api.yml @@ -36,23 +36,6 @@ jobs: TAG: ${{ env.BRANCH }} REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildContainersForPR_Windows: - - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name == 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildLinux: runs-on: ubuntu-latest if: ${{ github.event_name != 'pull_request' }} @@ -103,39 +86,4 @@ jobs: run: | docker --config ~/.docker manifest create ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-${{ env.BRANCH }} docker --config ~/.docker manifest push ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} - shell: bash - - BuildWindows: - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name != 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Login to Container Registry - uses: azure/docker-login@v1 - with: - login-server: ${{ env.REGISTRY_HOST }} - username: ${{ secrets.USERNAME }} - password: ${{ secrets.PASSWORD }} - - - name: Set branch name as env variable - shell: pwsh - run: echo "BRANCH=$($env:GITHUB_REF.replace('refs/heads/', ''))" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - - - name: Compose push ${{ env.SERVICE }} - run: docker-compose push ${{ env.SERVICE }}' - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} \ No newline at end of file + shell: bash \ No newline at end of file diff --git a/.github/workflows/ordering-backgroundtasks.yml b/.github/workflows/ordering-backgroundtasks.yml index 084234356..2b62faa82 100644 --- a/.github/workflows/ordering-backgroundtasks.yml +++ b/.github/workflows/ordering-backgroundtasks.yml @@ -36,23 +36,6 @@ jobs: TAG: ${{ env.BRANCH }} REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildContainersForPR_Windows: - - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name == 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildLinux: runs-on: ubuntu-latest if: ${{ github.event_name != 'pull_request' }} @@ -103,39 +86,4 @@ jobs: run: | docker --config ~/.docker manifest create ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-${{ env.BRANCH }} docker --config ~/.docker manifest push ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} - shell: bash - - BuildWindows: - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name != 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Login to Container Registry - uses: azure/docker-login@v1 - with: - login-server: ${{ env.REGISTRY_HOST }} - username: ${{ secrets.USERNAME }} - password: ${{ secrets.PASSWORD }} - - - name: Set branch name as env variable - shell: pwsh - run: echo "BRANCH=$($env:GITHUB_REF.replace('refs/heads/', ''))" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - - - name: Compose push ${{ env.SERVICE }} - run: docker-compose push ${{ env.SERVICE }}' - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} \ No newline at end of file + shell: bash \ No newline at end of file diff --git a/.github/workflows/ordering-signalrhub.yml b/.github/workflows/ordering-signalrhub.yml index ab44e1746..b60b76b2e 100644 --- a/.github/workflows/ordering-signalrhub.yml +++ b/.github/workflows/ordering-signalrhub.yml @@ -36,23 +36,6 @@ jobs: TAG: ${{ env.BRANCH }} REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildContainersForPR_Windows: - - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name == 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildLinux: runs-on: ubuntu-latest if: ${{ github.event_name != 'pull_request' }} @@ -103,39 +86,4 @@ jobs: run: | docker --config ~/.docker manifest create ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-${{ env.BRANCH }} docker --config ~/.docker manifest push ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} - shell: bash - - BuildWindows: - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name != 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Login to Container Registry - uses: azure/docker-login@v1 - with: - login-server: ${{ env.REGISTRY_HOST }} - username: ${{ secrets.USERNAME }} - password: ${{ secrets.PASSWORD }} - - - name: Set branch name as env variable - shell: pwsh - run: echo "BRANCH=$($env:GITHUB_REF.replace('refs/heads/', ''))" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - - - name: Compose push ${{ env.SERVICE }} - run: docker-compose push ${{ env.SERVICE }}' - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} \ No newline at end of file + shell: bash \ No newline at end of file diff --git a/.github/workflows/payment-api.yml b/.github/workflows/payment-api.yml index 37a4b433c..0ef5d31da 100644 --- a/.github/workflows/payment-api.yml +++ b/.github/workflows/payment-api.yml @@ -36,23 +36,6 @@ jobs: TAG: ${{ env.BRANCH }} REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildContainersForPR_Windows: - - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name == 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildLinux: runs-on: ubuntu-latest if: ${{ github.event_name != 'pull_request' }} @@ -103,39 +86,4 @@ jobs: run: | docker --config ~/.docker manifest create ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-${{ env.BRANCH }} docker --config ~/.docker manifest push ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} - shell: bash - - BuildWindows: - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name != 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Login to Container Registry - uses: azure/docker-login@v1 - with: - login-server: ${{ env.REGISTRY_HOST }} - username: ${{ secrets.USERNAME }} - password: ${{ secrets.PASSWORD }} - - - name: Set branch name as env variable - shell: pwsh - run: echo "BRANCH=$($env:GITHUB_REF.replace('refs/heads/', ''))" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - - - name: Compose push ${{ env.SERVICE }} - run: docker-compose push ${{ env.SERVICE }}' - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} \ No newline at end of file + shell: bash \ No newline at end of file diff --git a/.github/workflows/webhooks-api.yml b/.github/workflows/webhooks-api.yml index 1d28a1fea..c0ad095fc 100644 --- a/.github/workflows/webhooks-api.yml +++ b/.github/workflows/webhooks-api.yml @@ -36,23 +36,6 @@ jobs: TAG: ${{ env.BRANCH }} REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildContainersForPR_Windows: - - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name == 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildLinux: runs-on: ubuntu-latest if: ${{ github.event_name != 'pull_request' }} @@ -103,39 +86,4 @@ jobs: run: | docker --config ~/.docker manifest create ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-${{ env.BRANCH }} docker --config ~/.docker manifest push ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} - shell: bash - - BuildWindows: - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name != 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Login to Container Registry - uses: azure/docker-login@v1 - with: - login-server: ${{ env.REGISTRY_HOST }} - username: ${{ secrets.USERNAME }} - password: ${{ secrets.PASSWORD }} - - - name: Set branch name as env variable - shell: pwsh - run: echo "BRANCH=$($env:GITHUB_REF.replace('refs/heads/', ''))" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - - - name: Compose push ${{ env.SERVICE }} - run: docker-compose push ${{ env.SERVICE }}' - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} \ No newline at end of file + shell: bash \ No newline at end of file diff --git a/.github/workflows/webhooks-client.yml b/.github/workflows/webhooks-client.yml index e199f5159..b7472d9aa 100644 --- a/.github/workflows/webhooks-client.yml +++ b/.github/workflows/webhooks-client.yml @@ -36,23 +36,6 @@ jobs: TAG: ${{ env.BRANCH }} REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildContainersForPR_Windows: - - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name == 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildLinux: runs-on: ubuntu-latest if: ${{ github.event_name != 'pull_request' }} @@ -103,39 +86,4 @@ jobs: run: | docker --config ~/.docker manifest create ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-${{ env.BRANCH }} docker --config ~/.docker manifest push ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} - shell: bash - - BuildWindows: - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name != 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Login to Container Registry - uses: azure/docker-login@v1 - with: - login-server: ${{ env.REGISTRY_HOST }} - username: ${{ secrets.USERNAME }} - password: ${{ secrets.PASSWORD }} - - - name: Set branch name as env variable - shell: pwsh - run: echo "BRANCH=$($env:GITHUB_REF.replace('refs/heads/', ''))" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - - - name: Compose push ${{ env.SERVICE }} - run: docker-compose push ${{ env.SERVICE }}' - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} \ No newline at end of file + shell: bash \ No newline at end of file diff --git a/.github/workflows/webmvc.yml b/.github/workflows/webmvc.yml index 9f4c4d47e..1f032e85e 100644 --- a/.github/workflows/webmvc.yml +++ b/.github/workflows/webmvc.yml @@ -37,23 +37,6 @@ jobs: TAG: ${{ env.BRANCH }} REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildContainersForPR_Windows: - - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name == 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildLinux: runs-on: ubuntu-latest if: ${{ github.event_name != 'pull_request' }} @@ -104,39 +87,4 @@ jobs: run: | docker --config ~/.docker manifest create ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-${{ env.BRANCH }} docker --config ~/.docker manifest push ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} - shell: bash - - BuildWindows: - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name != 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Login to Container Registry - uses: azure/docker-login@v1 - with: - login-server: ${{ env.REGISTRY_HOST }} - username: ${{ secrets.USERNAME }} - password: ${{ secrets.PASSWORD }} - - - name: Set branch name as env variable - shell: pwsh - run: echo "BRANCH=$($env:GITHUB_REF.replace('refs/heads/', ''))" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - - - name: Compose push ${{ env.SERVICE }} - run: docker-compose push ${{ env.SERVICE }}' - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} \ No newline at end of file + shell: bash \ No newline at end of file diff --git a/.github/workflows/webshoppingagg.yml b/.github/workflows/webshoppingagg.yml index dc51c8242..0129710cb 100644 --- a/.github/workflows/webshoppingagg.yml +++ b/.github/workflows/webshoppingagg.yml @@ -35,23 +35,6 @@ jobs: TAG: ${{ env.BRANCH }} REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildContainersForPR_Windows: - - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name == 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildLinux: runs-on: ubuntu-latest if: ${{ github.event_name != 'pull_request' }} @@ -102,39 +85,4 @@ jobs: run: | docker --config ~/.docker manifest create ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-${{ env.BRANCH }} docker --config ~/.docker manifest push ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} - shell: bash - - BuildWindows: - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name != 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Login to Container Registry - uses: azure/docker-login@v1 - with: - login-server: ${{ env.REGISTRY_HOST }} - username: ${{ secrets.USERNAME }} - password: ${{ secrets.PASSWORD }} - - - name: Set branch name as env variable - shell: pwsh - run: echo "BRANCH=$($env:GITHUB_REF.replace('refs/heads/', ''))" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - - - name: Compose push ${{ env.SERVICE }} - run: docker-compose push ${{ env.SERVICE }}' - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} \ No newline at end of file + shell: bash \ No newline at end of file diff --git a/.github/workflows/webspa.yml b/.github/workflows/webspa.yml index 4723ef5cf..72e878d4f 100644 --- a/.github/workflows/webspa.yml +++ b/.github/workflows/webspa.yml @@ -36,23 +36,6 @@ jobs: TAG: ${{ env.BRANCH }} REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildContainersForPR_Windows: - - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name == 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildLinux: runs-on: ubuntu-latest if: ${{ github.event_name != 'pull_request' }} @@ -103,39 +86,4 @@ jobs: run: | docker --config ~/.docker manifest create ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-${{ env.BRANCH }} docker --config ~/.docker manifest push ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} - shell: bash - - BuildWindows: - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name != 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Login to Container Registry - uses: azure/docker-login@v1 - with: - login-server: ${{ env.REGISTRY_HOST }} - username: ${{ secrets.USERNAME }} - password: ${{ secrets.PASSWORD }} - - - name: Set branch name as env variable - shell: pwsh - run: echo "BRANCH=$($env:GITHUB_REF.replace('refs/heads/', ''))" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - - - name: Compose push ${{ env.SERVICE }} - run: docker-compose push ${{ env.SERVICE }}' - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} \ No newline at end of file + shell: bash \ No newline at end of file diff --git a/.github/workflows/webstatus.yml b/.github/workflows/webstatus.yml index 644b57cc8..c615f292c 100644 --- a/.github/workflows/webstatus.yml +++ b/.github/workflows/webstatus.yml @@ -36,23 +36,6 @@ jobs: TAG: ${{ env.BRANCH }} REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildContainersForPR_Windows: - - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name == 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - BuildLinux: runs-on: ubuntu-latest if: ${{ github.event_name != 'pull_request' }} @@ -103,39 +86,4 @@ jobs: run: | docker --config ~/.docker manifest create ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-${{ env.BRANCH }} docker --config ~/.docker manifest push ${{ secrets.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} - shell: bash - - BuildWindows: - runs-on: windows-2019 - if: ${{ false }} - # if: ${{ github.event_name != 'pull_request' }} - steps: - - name: 'Checkout Github Action' - uses: actions/checkout@master - - - name: Login to Container Registry - uses: azure/docker-login@v1 - with: - login-server: ${{ env.REGISTRY_HOST }} - username: ${{ secrets.USERNAME }} - password: ${{ secrets.PASSWORD }} - - - name: Set branch name as env variable - shell: pwsh - run: echo "BRANCH=$($env:GITHUB_REF.replace('refs/heads/', ''))" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - - - name: Compose build ${{ env.SERVICE }} - run: docker-compose build ${{ env.SERVICE }} - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} - - - name: Compose push ${{ env.SERVICE }} - run: docker-compose push ${{ env.SERVICE }}' - working-directory: ./src - shell: pwsh - env: - TAG: ${{ env.BRANCH }} - REGISTRY: ${{ secrets.REGISTRY_ENDPOINT }} \ No newline at end of file + shell: bash \ No newline at end of file