Can't find application with name Auto Clock-Out! (it's case sensitive)

  • Programming language and version: ruby 2.7.8

Encountering can't find application with name Auto Clock-Out! (it's case sensitive) while deploying cron jobs via github workflow.

code snippet i am using:

  deploy_to_qovery:
    runs-on: ubuntu-latest
    needs: [
      rspec,
      app_is_healthy
    ]
    if: success()
    name: Deploy to Qovery
    steps:
      - name: Checkout
        uses: xxxxx
      - name: xxxxx
        uses: xxxxx
        id: xxxxx
        with:
          qovery-organization-name: ABC
          qovery-project-name: xyz
          qovery-environment-name: production
          qovery-application-names: web,sidekiq,cron_job_name
          qovery-api-token: ${{xxxxxxxx}}

Qovery is throwing error when we are passing cron_jobs in qovery-application-names otherwise it is working fine. Not sure if cronjob services are allowed to pass like web,sidekiq services or not. Any input would be helpful.

HOW TO REPRODUCE
just add any cronjob service in qovery-application-names like:

qovery-application-names: web,sidekiq,cron_job_name

step by step how to reproduce the issue

  1. Deploy on via github actions
  2. Pass cronjob service name in qovery-application-names like:

qovery-application-names: web,sidekiq,cron_job_name

P.S I have also tried it after updating names of cron jobs like from ‘Update Holidays’ to ‘update_holidays’ just to avoid the case senstivity problem but didn’t work.

Hello @Arhum,

Qovery github action is archived and we strongly encourage you to use our CLI in your CI workflows. Our deprecated Github action doesn’t support Jobs, it has been introduced after, hence the fact your job is not found via qovery-application-names, best you can do is to redeploy the whole env eventually.

Here’s another user github action example with Qovery CLI.

Let me know if I can help you further.

Cheers

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.