Skip to content

Issues with this on Flex #12

@REPTILEHAUS

Description

@REPTILEHAUS

I switched to flex env and this doesnt work anymore, service account has app engine admin and deployer privs

ABORTED: Cannot operate on ...../services/default/versions/20221020t065906 because an operation is already in progress for .../services/default/versions/20221020t065906 by 3873bdc6-41c8-47f8-8ad4-4206815a9807.

yaml

    - name: Build
      run: npm install -f && npm run build   
      working-directory: server            

    - uses: 'google-github-actions/auth@v0'
      with:
        workload_identity_provider: 'WIP'
        service_account: 'xxxx.gserviceaccount.com'

    - id: 'deploy'
      name: 'deploy'
      uses: 'google-github-actions/deploy-appengine@v0'
      with:
        deliverables: 'be/app.yaml'
        project_id: 'projectID'
        promote: true

    - name: 'show output'
      run: 'echo ${{ steps.deploy.outputs.url }}'
      
    - id: remove
      name: 'Remove old versions'    
      uses: Reviewable/appengine-remove-action@v2.1.2
      with:
        limit: 0

    - id: test
      name: 'Remove old versions OUTPUTS'       
      run: |
        echo "${{ steps.remove.outputs.versions_deleted }}"
        echo "${{ steps.remove.total_deleted }}"      

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions