Coder Social home page Coder Social logo

appengine-remove-action's Introduction

appengine-remove-action's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

appengine-remove-action's Issues

Usage example still refers to v2 specifically

Slight issue I came across was that the version in the documentation is specifically set at v2 (uses: Reviewable/appengine-remove-action@v2). This was a little problematic for me as the fix for service_name was added in v2.1.1

Issues with this on Flex

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/[email protected]
      with:
        limit: 0

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

feature request: remove specific version

Im using this action perfectly. But for closing of pr versions we know the version. Is it possible to also pass a specific version and then just remove that version?

And maybe instead of a max number, also an optional max of days :) haha, if i understand how to run it locally i can propose a PR?

Broken for versions > 2.1.2

When using the following configuration it fails to delete the versions:

      - name: 'Remove old versions'
        uses: Reviewable/[email protected]
        with:
          limit: 10
          apply_limit_after_days: 14
          service_name: api

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.