Activities of "pmachetti"

  • ABP Framework version: v6.0.1
  • Database System: EF Core (PostgreSQL)

Hello, we are trying to implement a continuous deployment of our ABP Core App via Github Actions.

The deployment to our Azure infrastructure works just fine, but we are also trying to apply the database migrations onto our DB (also in azure). The relevant parts of the workflow are:

- name: Setup .NET Core SDK
      uses: actions/setup-dotnet@v1
      with:
        dotnet-version: '6.0.x'

- name: Install ABP CLI
      run: dotnet tool install -g Volo.Abp.Cli --version 6.0.1

- name: Install ABP libs
      run: abp install-libs`
      
... # Other deployment steps (not relevant)

- name: ABP Login
      id: abp_login
      run: abp login "$ABP_COMMERCIAL_LOGIN" -p "$ABP_COMMERCIAL_PASS"

- name: Run Migrations
      run: cd src/Cincaporc.OurAppName.DbMigrator && dotnet run --Environment Production && cd

- name: ABP Logout
      if: ${{ always() && steps.abp_login.conclusion == 'success' }}
      run: abp logout

This should work just fine as we do a login, apply the migrations and the consequent logout but we get the following licensing error:

[03:18:46 INF] Started database migrations... [03:18:46 INF] Migrating schema for host database... [03:18:47 ERR] ABP-LIC-0012 - License Error! Given user 'ina********' has reached the maximum allowed developer computer count (2) for the organization 'Cincaporc'! Can not use the license in a new computer. Contact to license@abp.io if you think that this is an error. [03:18:47 ERR] ABP-LIC-ERROR - License check failed for 'Volo.Abp.Identity.Pro.Domain-v6.0.1.0'.

How could we approach our workflow so that we can execute the migrations from it without this licensing error?

Thanks in advance,

Showing 1 to 1 of 1 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11