Giter VIP home page Giter VIP logo

documentation's People

Contributors

acarranoqovery avatar aggis15 avatar alecarrano avatar anouckc avatar benjaminch avatar benoitguyot avatar deimosfr avatar dependabot[bot] avatar erebe avatar evoxmusic avatar fabienfleureau avatar flemzord avatar florianlepont avatar geshan avatar hrkt avatar hxn-dev avatar jul-dan avatar l0ck3 avatar maclikorne avatar mzottola avatar orkin avatar pjeziorowski avatar remibonnet avatar stun3r avatar xditya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

documentation's Issues

Tutorial on https://hub.qovery.com/guides/tutorial/how-to-integrate-qovery-with-github-actions/#add-your-github-action-workflow failed

The tutorial on:

https://hub.qovery.com/guides/tutorial/how-to-integrate-qovery-with-github-actions/#add-your-github-action-workflow

Here's what went wrong:

Seems like using the name properties (and the project info overall) doesn't work and gives me the following error:

Warning: Unexpected input(s) 'qovery-organization-name', 'qovery-project-name', 'qovery-environment-name', 'qovery-application-names', valid inputs are ['entryPoint', 'args', 'qovery-organization-id', 'qovery-environment-id', 'qovery-application-ids', 'qovery-api-token']
Run Qovery/[email protected]
  with:
    qovery-organization-name: Paul's Personal
    qovery-project-name: hello-qovery-basic
    qovery-environment-name: pipeline-test-env
    qovery-application-names: hello qovery pipeline
/usr/bin/docker run --name e3051f36601d2646d0938b1de91e65e48d_9723da --label 5364e3 --workdir /github/workspace --rm -e "INPUT_QOVERY-ORGANIZATION-NAME" -e "INPUT_QOVERY-PROJECT-NAME" -e "INPUT_QOVERY-ENVIRONMENT-NAME" -e "INPUT_QOVERY-APPLICATION-NAMES" -e "INPUT_QOVERY-API-TOKEN" -e "INPUT_QOVERY-ORGANIZATION-ID" -e "INPUT_QOVERY-ENVIRONMENT-ID" -e "INPUT_QOVERY-APPLICATION-IDS" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/hello-qovery-basic/hello-qovery-basic":"/github/workspace" 5364e3:051f36601d2646d0938b1de91e65e48d  "" "" "" ""
Qovery deployment starting for commit: ff5403fb00d73d0580b7405560d5732a749d73c8 ...
error while trying to get environment status: qovery API error, status code: 401 Unauthorized

Once I updated the vars to use the id's (i got the id's from the url path in my application on the console) and removed the project var it worked okay:

name: Deploy and Test on Qovery
on:
  workflow_call:
    inputs:
      organization-id:
        required: true
        type: string
      environment-id:
        required: true
        type: string
      application-ids:
        required: true
        type: string
    secrets:
      api-token:
        required: true
jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        dotnet-version: [ '6.0.x' ]
    steps:
      - uses: actions/checkout@v2
      - name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
        uses: actions/[email protected]
        with:
          dotnet-version: ${{ matrix.dotnet-version }}
      - name: Install dependencies
        run: dotnet restore
      - name: Build project
        run: dotnet build --configuration Release --no-restore
      - name: Run tests
        run: dotnet test --no-restore --verbosity minimal
  deploy:
    needs: test
    runs-on: ubuntu-latest
    name: Deploy on Qovery
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Deploy on Qovery
        uses: Qovery/[email protected]
        id: qovery
        with:
          qovery-organization-id: ${{ inputs.organization-id }}
          qovery-environment-id: ${{ inputs.environment-id }}
          qovery-application-ids: ${{ inputs.application-ids }}
          qovery-api-token: ${{ secrets.api-token }}
name: Deploy to dev
on:
  push:
    branches:
      - main
jobs:
  test-and-deploy:
    uses: ./.github/workflows/test-and-deploy.yaml
    with:
      organization-id: guid-for-org
      environment-id: guid-for-env
      application-ids: guid-for-app
    secrets:
      api-token: ${{ secrets.QOVERY_API_TOKEN }}

Update Tutorial on `Deploying backend and frontend apps`

The tutorial on Deploying backend and frontend apps is great, big thank you!
However, it states an (as I believe) outdated environment variable QOVERY_YOUR_APP_NAME_HOST. Instead my apps offer a QOVERY_APPLICATION_xxx_HOST_INTERNAL and QOVERY_APPLICATION_xxx_HOST_EXTERNAL. My guess: For communication between apps, you'll have to use the external and Port 443.

Tutorial on https://docs.qovery.com/guides/getting-started/deploy-your-first-application/ failed

The tutorial on:

https://docs.qovery.com/guides/getting-started/deploy-your-first-application/

Here's what went wrong:

patarapolw@pacharapol-elem:~/projects/simple-example-node$ qovery status
  BRANCH NAME | STATUS | ENDPOINTS | APPLICATIONS | DATABASES |   
              |        |           |              |           |   

  APPLICATION NAME | STATUS | DATABASES  
                   |        |            

  DATABASE NAME | STATUS | TYPE | VERSION | ENDPOINT | PORT | USERNAME | PASSWORD | APPLICATIONS  
                |        |      |         |          |      |          |          |               

patarapolw@pacharapol-elem:~/projects/simple-example-node$ qovery run
ERROR:   The project does not exist. Are you well authenticated with the right user? Do 'qovery auth' to be sure

This is exactly the hello-world forked.

Tutorial on https://hub.qovery.com/docs/using-qovery/configuration/clusters/#generating-an-ssh-key-for-your-cluster failed

The tutorial on:

https://hub.qovery.com/docs/using-qovery/configuration/clusters/#generating-an-ssh-key-for-your-cluster

Here's what went wrong:

For the sakes of completeness, it would be nice to add an extra step with instructions on how to copy the public key just generated. Example:

cat ~/.ssh/id_rsa.pub | pbcopy

By the way, when creating the cluster for the first time (new account), there's a link to this documentation (apparently) on top of the page but it does not work.

Tutorial on https://hub.qovery.com/docs/getting-started/install-qovery/kubernetes/quickstart failed

The tutorial on:

https://hub.qovery.com/docs/getting-started/install-qovery/kubernetes/quickstart

Here's what went wrong:

root@master-node:~# curl -s https://get.qovery.com | bash
##################################

QOVERY CLI INSTALL

##################################

[+] Downloading Qovery CLI archive...
[+] Uncompressing qovery binary in /usr/local/bin directory (sudo permissions are required)

Qovery CLI is installed, you can now use 'qovery' command line
root@master-node:# qovery auth --headless
Please, open browser @ https://auth.qovery.com/activate using any device and enter nnnn-nnnn code.
Waiting for code confirmation...
Info: Success!
root@master-node:
# qovery context set
Info: Current context:
Context not yet configured.

Info: Select new context
Error: No organizations found.
Error: No organizations found.
root@master-node:# qovery cluster install
Cluster Type:
โœ” Your Kubernetes Cluster
Error: No organizations found.
root@master-node:
#

Tutorial on https://hub.qovery.com/docs/getting-started/install-qovery/gcp/cluster-managed-by-qovery/quickstart/#attach-gcp-credentials failed

Hey!

GCP cluster creation initially failed (see below).
After manually enabling " Cloud Resource Manager API" (via web https://console.cloud.google.com/apis/api/cloudresourcemanager.googleapis.com/metrics?project=my-project), the creation worked!

Note: I had already some other APIs (including Kubernetes Engine API) enabled on this project.

BR, adam


Following The tutorial on https://hub.qovery.com/docs/getting-started/install-qovery/gcp/cluster-managed-by-qovery/create-credentials/

https://hub.qovery.com/docs/getting-started/install-qovery/gcp/cluster-managed-by-qovery/quickstart/#attach-gcp-credentials

Here's what went wrong:

  {
    "type": "error",
    "timestamp": "2024-01-09T16:33:47.531464250Z",
    "step": "CreateError",
    "message": {
      "safe_message": "Kubernetes cluster failure create-error"
    },
    "error": {
      "tag": "TERRAFORM_UNKNOWN_ERROR",
      "event_details": {
        "transmitter": {
          "type": "Kubernetes",
          "id": "0-0-0-0-0",
          "name": "XXXXXXXXX Qovery Playground"
        }
      },
      "user_log_message": "Unknown error while performing Terraform command (`terraform apply -lock=false -no-color -auto-approve tf_plan`), here is the error:\n\nError: Request `Create IAM Members roles/logging.logWriter serviceAccount:tf-gke-qovery-z0123456-kky3@anyline-xxxxxxxxx-playground.iam.gserviceaccount.com for project \"anyline-xxxxxxxxx-playground\"` returned error: Batch request and retried single request \"Create IAM Members roles/logging.logWriter serviceAccount:tf-gke-qovery-z0123456-kky3@anyline-xxxxxxxxx-playground.iam.gserviceaccount.com for project \\\"anyline-xxxxxxxxx-playground\\\"\" both failed. Final error: Error retrieving IAM policy for project \"anyline-xxxxxxxxx-playground\": googleapi: Error 403: Cloud Resource Manager API has not been used in project 1234567891230 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/cloudresourcemanager.googleapis.com/overview?project=1234567891230 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.\nDetails:\n[\n  {\n    \"@type\": \"type.googleapis.com/google.rpc.Help\",\n    \"links\": [\n      {\n        \"description\": \"Google developers console API activation\",\n        \"url\": \"https://console.developers.google.com/apis/api/cloudresourcemanager.googleapis.com/overview?project=1234567891230\"\n      }\n    ]\n  },\n  {\n    \"@type\": \"type.googleapis.com/google.rpc.ErrorInfo\",\n    \"domain\": \"googleapis.com\",\n    \"metadata\": {\n      \"consumer\": \"projects/1234567891230\",\n      \"service\": \"cloudresourcemanager.googleapis.com\"\n    },\n    \"reason\": \"SERVICE_DISABLED\"\n  }\n]\n, accessNotConfigured\n\n  with google_project_iam_member.cluster_service_account-log_writer[0],\n  on sa.tf line 48, in resource \"google_project_iam_member\" \"cluster_service_account-log_writer\":\n  48: resource \"google_project_iam_member\" \"cluster_service_account-log_writer\" {\n\n\nError: Request `Create IAM Members roles/storage.objectViewer serviceAccount:tf-gke-qovery-z0123456-kky3@anyline-xxxxxxxxx-playground.iam.gserviceaccount.com for project \"anyline-xxxxxxxxx-playground\"` returned error: Batch request and retried single request \"Create IAM Members roles/storage.objectViewer serviceAccount:tf-gke-qovery-z0123456-kky3@anyline-xxxxxxxxx-playground.iam.gserviceaccount.com for project \\\"anyline-xxxxxxxxx-playground\\\"\" both failed. Final error: Error retrieving IAM policy for project \"anyline-xxxxxxxxx-playground\": googleapi: Error 403: Cloud Resource Manager API has not been used in project 1234567891230 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/cloudresourcemanager.googleapis.com/overview?project=1234567891230 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.\nDetails:\n[\n  {\n    \"@type\": \"type.googleapis.com/google.rpc.Help\",\n    \"links\": [\n      {\n        \"description\": \"Google developers console API activation\",\n        \"url\": \"https://console.developers.google.com/apis/api/cloudresourcemanager.googleapis.com/overview?project=1234567891230\"\n      }\n    ]\n  },\n  {\n    \"@type\": \"type.googleapis.com/google.rpc.ErrorInfo\",\n    \"domain\": \"googleapis.com\",\n    \"metadata\": {\n      \"consumer\": \"projects/1234567891230\",\n      \"service\": \"cloudresourcemanager.googleapis.com\"\n    },\n    \"reason\": \"SERVICE_DISABLED\"\n  }\n]\n, accessNotConfigured\n\n  with google_project_iam_member.cluster_service_account-gcr[\"anyline-xxxxxxxxx-playground\"],\n  on sa.tf line 76, in resource \"google_project_iam_member\" \"cluster_service_account-gcr\":\n  76: resource \"google_project_iam_member\" \"cluster_service_account-gcr\" {\n\n\nError: Request `Create IAM Members roles/artifactregistry.reader serviceAccount:tf-gke-qovery-z0123456-kky3@anyline-xxxxxxxxx-playground.iam.gserviceaccount.com for project \"anyline-xxxxxxxxx-playground\"` returned error: Batch request and retried single request \"Create IAM Members roles/artifactregistry.reader serviceAccount:tf-gke-qovery-z0123456-kky3@anyline-xxxxxxxxx-playground.iam.gserviceaccount.com for project \\\"anyline-xxxxxxxxx-playground\\\"\" both failed. Final error: Error retrieving IAM policy for project \"anyline-xxxxxxxxx-playground\": googleapi: Error 403: Cloud Resource Manager API has not been used in project 1234567891230 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/cloudresourcemanager.googleapis.com/overview?project=1234567891230 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.\nDetails:\n[\n  {\n    \"@type\": \"type.googleapis.com/google.rpc.Help\",\n    \"links\": [\n      {\n        \"description\": \"Google developers console API activation\",\n        \"url\": \"https://console.developers.google.com/apis/api/cloudresourcemanager.googleapis.com/overview?project=1234567891230\"\n      }\n    ]\n  },\n  {\n    \"@type\": \"type.googleapis.com/google.rpc.ErrorInfo\",\n    \"domain\": \"googleapis.com\",\n    \"metadata\": {\n      \"consumer\": \"projects/1234567891230\",\n      \"service\": \"cloudresourcemanager.googleapis.com\"\n    },\n    \"reason\": \"SERVICE_DISABLED\"\n  }\n]\n, accessNotConfigured\n\n  with google_project_iam_member.cluster_service_account-artifact-registry[\"anyline-xxxxxxxxx-playground\"],\n  on sa.tf line 83, in resource \"google_project_iam_member\" \"cluster_service_account-artifact-registry\":\n  83: resource \"google_project_iam_member\" \"cluster_service_account-artifact-registry\" {\n",
      "underlying_error": {
        "message": "Unknown error while performing Terraform command (`terraform apply -lock=false -no-color -auto-approve tf_plan`), here is the error:\n\nError: Request `Create IAM Members roles/logging.logWriter serviceAccount:tf-gke-qovery-z0123456-kky3@anyline-xxxxxxxxx-playground.iam.gserviceaccount.com for project \"anyline-xxxxxxxxx-playground\"` returned error: Batch request and retried single request \"Create IAM Members roles/logging.logWriter serviceAccount:tf-gke-qovery-z0123456-kky3@anyline-xxxxxxxxx-playground.iam.gserviceaccount.com for project \\\"anyline-xxxxxxxxx-playground\\\"\" both failed. Final error: Error retrieving IAM policy for project \"anyline-xxxxxxxxx-playground\": googleapi: Error 403: Cloud Resource Manager API has not been used in project 1234567891230 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/cloudresourcemanager.googleapis.com/overview?project=1234567891230 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.\nDetails:\n[\n  {\n    \"@type\": \"type.googleapis.com/google.rpc.Help\",\n    \"links\": [\n      {\n        \"description\": \"Google developers console API activation\",\n        \"url\": \"https://console.developers.google.com/apis/api/cloudresourcemanager.googleapis.com/overview?project=1234567891230\"\n      }\n    ]\n  },\n  {\n    \"@type\": \"type.googleapis.com/google.rpc.ErrorInfo\",\n    \"domain\": \"googleapis.com\",\n    \"metadata\": {\n      \"consumer\": \"projects/1234567891230\",\n      \"service\": \"cloudresourcemanager.googleapis.com\"\n    },\n    \"reason\": \"SERVICE_DISABLED\"\n  }\n]\n, accessNotConfigured\n\n  with google_project_iam_member.cluster_service_account-log_writer[0],\n  on sa.tf line 48, in resource \"google_project_iam_member\" \"cluster_service_account-log_writer\":\n  48: resource \"google_project_iam_member\" \"cluster_service_account-log_writer\" {\n\n\nError: Request `Create IAM Members roles/storage.objectViewer serviceAccount:tf-gke-qovery-z0123456-kky3@anyline-xxxxxxxxx-playground.iam.gserviceaccount.com for project \"anyline-xxxxxxxxx-playground\"` returned error: Batch request and retried single request \"Create IAM Members roles/storage.objectViewer serviceAccount:tf-gke-qovery-z0123456-kky3@anyline-xxxxxxxxx-playground.iam.gserviceaccount.com for project \\\"anyline-xxxxxxxxx-playground\\\"\" both failed. Final error: Error retrieving IAM policy for project \"anyline-xxxxxxxxx-playground\": googleapi: Error 403: Cloud Resource Manager API has not been used in project 1234567891230 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/cloudresourcemanager.googleapis.com/overview?project=1234567891230 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.\nDetails:\n[\n  {\n    \"@type\": \"type.googleapis.com/google.rpc.Help\",\n    \"links\": [\n      {\n        \"description\": \"Google developers console API activation\",\n        \"url\": \"https://console.developers.google.com/apis/api/cloudresourcemanager.googleapis.com/overview?project=1234567891230\"\n      }\n    ]\n  },\n  {\n    \"@type\": \"type.googleapis.com/google.rpc.ErrorInfo\",\n    \"domain\": \"googleapis.com\",\n    \"metadata\": {\n      \"consumer\": \"projects/1234567891230\",\n      \"service\": \"cloudresourcemanager.googleapis.com\"\n    },\n    \"reason\": \"SERVICE_DISABLED\"\n  }\n]\n, accessNotConfigured\n\n  with google_project_iam_member.cluster_service_account-gcr[\"anyline-xxxxxxxxx-playground\"],\n  on sa.tf line 76, in resource \"google_project_iam_member\" \"cluster_service_account-gcr\":\n  76: resource \"google_project_iam_member\" \"cluster_service_account-gcr\" {\n\n\nError: Request `Create IAM Members roles/artifactregistry.reader serviceAccount:tf-gke-qovery-z0123456-kky3@anyline-xxxxxxxxx-playground.iam.gserviceaccount.com for project \"anyline-xxxxxxxxx-playground\"` returned error: Batch request and retried single request \"Create IAM Members roles/artifactregistry.reader serviceAccount:tf-gke-qovery-z0123456-kky3@anyline-xxxxxxxxx-playground.iam.gserviceaccount.com for project \\\"anyline-xxxxxxxxx-playground\\\"\" both failed. Final error: Error retrieving IAM policy for project \"anyline-xxxxxxxxx-playground\": googleapi: Error 403: Cloud Resource Manager API has not been used in project 1234567891230 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/cloudresourcemanager.googleapis.com/overview?project=1234567891230 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.\nDetails:\n[\n  {\n    \"@type\": \"type.googleapis.com/google.rpc.Help\",\n    \"links\": [\n      {\n        \"description\": \"Google developers console API activation\",\n        \"url\": \"https://console.developers.google.com/apis/api/cloudresourcemanager.googleapis.com/overview?project=1234567891230\"\n      }\n    ]\n  },\n  {\n    \"@type\": \"type.googleapis.com/google.rpc.ErrorInfo\",\n    \"domain\": \"googleapis.com\",\n    \"metadata\": {\n      \"consumer\": \"projects/1234567891230\",\n      \"service\": \"cloudresourcemanager.googleapis.com\"\n    },\n    \"reason\": \"SERVICE_DISABLED\"\n  }\n]\n, accessNotConfigured\n\n  with google_project_iam_member.cluster_service_account-artifact-registry[\"anyline-xxxxxxxxx-playground\"],\n  on sa.tf line 83, in resource \"google_project_iam_member\" \"cluster_service_account-artifact-registry\":\n  83: resource \"google_project_iam_member\" \"cluster_service_account-artifact-registry\" {\n"
      },
      "link": null,
      "hint_message": "Need Help ? Please consult our FAQ to troubleshoot your deployment https://hub.qovery.com/docs/using-qovery/troubleshoot/ and visit the forum https://discuss.qovery.com/"
    }
  }

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.