From 48686f958f25be04db376a4e2e4fe6c910aceb29 Mon Sep 17 00:00:00 2001 From: pczaj Date: Fri, 21 Jan 2022 14:07:16 +0100 Subject: [PATCH] Delete ci-spatial.yml --- .github/workflows/ci-spatial.yml | 50 -------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 .github/workflows/ci-spatial.yml diff --git a/.github/workflows/ci-spatial.yml b/.github/workflows/ci-spatial.yml deleted file mode 100644 index 558df69..0000000 --- a/.github/workflows/ci-spatial.yml +++ /dev/null @@ -1,50 +0,0 @@ -name: CI build spatial - -on: - push: - branches: - - develop -# schedule: -# - cron: "0 2 * * *" - -jobs: - - - build_frontend_spatial-placement_docker_image: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.VOXEET_AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.VOXEET_AWS_SECRET_ACCESS_KEY }} - aws-region: ${{ secrets.VOXEET_AWS_REGION }} - - name: Set NPM token when logging to CodeArtifact - run: | - CODEARTIFACT_TOKEN=$(/usr/local/bin/aws codeartifact get-authorization-token --duration-seconds 1800 --domain ${{ secrets.CODEARTIFACT_DOMAIN }} --domain-owner ${{ secrets.CODEARTIFACT_DOMAIN_OWNER }} --region ${{ secrets.AWS_REGION }} --output text --query authorizationToken) - echo "::add-mask::$CODEARTIFACT_TOKEN" - echo "CUSTOM_REGISTRY_TOKEN=${{ secrets.CODEARTIFACT_NPM_SNAPSHOTS_REPOSITORY_TOKEN }}$CODEARTIFACT_TOKEN" >> $GITHUB_ENV - - name: Login to ECR - id: ecr - uses: elgohr/ecr-login-action@1.0.1 - with: - access_key: ${{ secrets.VOXEET_AWS_ACCESS_KEY_ID }} - secret_access_key: ${{ secrets.VOXEET_AWS_SECRET_ACCESS_KEY }} - region: ${{ secrets.AWS_REGION }} - - name: build and publish frontend Docker container for spatial staging Web SDK - uses: elgohr/Publish-Docker-Github-Action@2.22 - env: - WEB_SDK_DIST_TAG: 3.4.0-beta.1-feature-spatial-placement-d1bc08a5-production - UX_KIT_DIST_TAG: v3.2.1-8ce0c33fb825a1ba5fd081bfef72cfe5ff8d64a5 - CUSTOM_REGISTRY_URL: ${{ secrets.CODEARTIFACT_NPM_SNAPSHOTS_REPOSITORY_URL }} - with: - name: voxeet-io-web - dockerfile: Dockerfile - workdir: frontend - username: ${{ steps.ecr.outputs.username }} - password: ${{ steps.ecr.outputs.password }} - registry: ${{ steps.ecr.outputs.registry }} - buildargs: CUSTOM_REGISTRY_URL,CUSTOM_REGISTRY_TOKEN,WEB_SDK_DIST_TAG,UX_KIT_DIST_TAG - buildoptions: "--pull" - tags: "spatial-staging" \ No newline at end of file