Questions tagged [gitlab-autodevops]

31 questions
1
vote
2 answers

How do i skip production deployment in autodevops of gitlab

I am using Gitlab with Auto DevOps on. I want to use auto devops but with some custom stages on. I have already written a custom stage and i want to skip production deployment stage. How can i do it
Imran
  • 71
  • 1
  • 8
1
vote
0 answers

Gitlab autodevops and Kubernetes, add the configuration file for angular on review pod

I have an angular project that I try to review using gitlab-ci autodevops feature in a Kubernetes cluster. The application runs fine in the review step. But to customize the backend, I need to put a file in the assets/config folder at runtime. The…
1
vote
0 answers

Wildcard SaaS platform domains, over HTTPS, on Kubernetes

I'm deploying a custom SaaS platform to Kubernetes and my clients get X.myplatform.com domains. So, could be acmecorp.myplatform.com, etc. Previously, on our old devops setup, we just had an Apache record that was *.myplatform.com and had a wildcard…
0
votes
0 answers

Add Helm chart dependencies with GitLab Auto DevOps

I'd like to deploy additional services (e.g. a certain kind of database) with my (review) application when using GitLab Auto DevOps. Customizing Auto DevOps/Custom Helm chart suggests to create a ./chart directory and put the full chart there. Does…
knittl
  • 246,190
  • 53
  • 318
  • 364
0
votes
0 answers

Trouble with migration command in autodevops

exploring functionality of Gitlab autodevops find feature then you can use repo/.gitlab/auto-deploy-values.yaml file to customize deploy process with lifecycle.preStop command all works great, but then i try to use application.migrateCommand looks…
N K
  • 1
0
votes
1 answer

GitLab Auto DevOps test job fails with special characters in project CI variables

I have the following GitLab CI project variable configured in the UI at the project level. FILE_SHARE_LOCATION s:/\ \\1.2.3.4\S:\ I'm running GitLab Auto DevOps and the test job runs this: /bin/herokuish buildpack test It fails reading the…
0
votes
1 answer

Building different images for each environment with Gitlab-CI AutoDevOps

Dockerfiles accept ENV variables via --build-args. These vars are mandatory for NextJS, used for static pages (to call remote APIs) and are "Hard coded" within the built image. Gitlab-CI AutoDevOps has an ENV var to pass these args…
Jan
  • 12,992
  • 9
  • 53
  • 89
0
votes
1 answer

Why does my container registry work for gitlab autodeploy but not for my custom pipeline?

Hey I'm creating a gitlab pipeline and I have 2 stages: staging and qa. For staging I use gitlabs auto-deploy script and for qa I use a custom script. With staging the pipeline works. For qa the container registry tells me the username/password is…
iaquobe
  • 555
  • 1
  • 6
  • 23
0
votes
1 answer

Set variables/config that apply for all jobs in the CI config

How can I set variables or config that will apply for all jobs/steps in the pipeline ? I am using Auto Devops. Currently, I am using as below but I’d like to apply the re-try config to all jobs in the pipeline instead of specifying it for each job…
ben5556
  • 2,915
  • 2
  • 11
  • 16
0
votes
1 answer

How to add a PersistentVolumeClaim to a deployment running GitLab AutoDevops?

What am I trying to achieve? We are using a self-hosted GitLab instance and use GitLab AutoDevops to deploy our projects to a Kubernetes cluster. At the time of writing, we are only using one node within the cluster. For one of our projects it is…
0
votes
1 answer

Gitlab Auto Deploy failing to connect to Docker

I've got Gitlab installed on Kubernetes using Helm and try to get Auto DevOps working but I'm getting the following issue from the Auto DevOps pipeline: Executing "step_script" stage of the job script 00:01 $ if [[ -z "$CI_COMMIT_TAG" ]]; then #…
0
votes
1 answer

Gitlab Auto DevOps ingress endpoint

I am trying to configure CI on Kubernetes with Gitlab and Google Cloud and I'm stuck on Let's Encrypt certificate creation. I have 2 clusters for 2 environments: Environment scope: production - for production instance Environment scope: * - for…
0
votes
1 answer

Implement Gitlab AutoDevops with ArgoCD

We have AutoDevops feature implemented with help of gitlab runner and managing the CD stage with ArgoCD. So the CI pipeline builds a docker image , pushes it to gitlab registry and CD stages use the pushed image to deploy the application with help…
0
votes
1 answer

Release production failed: timed out waiting for the condition (No files to upload)

Trying to deploy a nodejs web application to AWS via CI/CD process for the first time. Project is under a Group account with other projects which have been deployed successfully so Kubernetes have been set up for the group. But we are getting the…
Shan
  • 948
  • 1
  • 9
  • 17
-1
votes
1 answer

Is there a way to override the default GitLab CI AutoDevOps templates?

I am running my GitLab CI pipelines in an offline environment with none of my repositories containing the pipeline YAML files. Due to the sheer number of repositories I enabled AutoDevOps to use a baseline image until I can define pipelines for each…
Thomas Paulin
  • 515
  • 1
  • 6
  • 12