33 questions
2
votes
1
answer
150
views
Use private go module with gitlab ci Auto-DevOps for auto test
I use gitlab auto dev ops to deploy my project. I have a problem with auto tests(https://docs.gitlab.com/ee/topics/autodevops/stages.html#auto-test). In my project I use a go private module.
The error ...
0
votes
1
answer
661
views
GitLab Auto DevOps - how to select the runner it runs on?
I've enabled auto DevOps on one of my projects. I enabled the project to use shared runners. Within that there are 2 runners, one that is a dind runner (with a dind tag) and another that isn't (runs a ...
1
vote
0
answers
232
views
How to set the output of shell script in a variable in yaml?
I am pretty new in yaml and I wanted to put the output value of shell script in a variable.
This below command is written in groovy language and I wanted to convert it into yaml
rpackval= sh ...
1
vote
1
answer
265
views
How to restrict read and write access for a particular branch for one project member. He should have access for another branches of same project
How to restrict read and write access for a particular branch for one project member. He should have read and write access for another branches of same project. But for that particular branch commit ...
6
votes
1
answer
1k
views
Why is `KUBE_NAMESPACE` not set anymore?
I'm using Gitlab autodevops with a Kubernetes cluster(Gitlab runner with the Kubernetes Executor).
A while ago the deployments used to be in project specific namespaces like project-5648-nut-qa-9yg86f,...
0
votes
1
answer
1k
views
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 ...
1
vote
0
answers
1k
views
Cannot connect to Kubernetes cluster with kubectl and liveness probe fails
Update
We commented out the django migration and collectstatic from our Dockerfile and we managed to make a new deployment (the liveness/readinnes probe passed). We thought it would be something ...
1
vote
1
answer
563
views
How to use Gitlab's Auto DevOps for multi-container application?
I have a multi-container application, with nginx as web server and reverse-proxy, and a simple 'Hello World' Streamlit app.
It is available on my Gitlab.
I am totally new to DevOps, and would ...
2
votes
1
answer
1k
views
How to target newer versions in .gitlab-ci.yml using auto devops (java 11 instead of 8 and Android 31 instead of 29)
I'm utilizing the gitlab auto devops android template Android.gitlab-ci.yml here but it's using a java 8 image (whereas I want to use java 11). Also, it has ANDROID_COMPILE_SDK set to "29" ...
0
votes
1
answer
1k
views
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 ...
4
votes
1
answer
11k
views
How to use custom settings.xml with GitLab-CI Auto DevOps?
I'm using GitLab CI Auto DevOps to compile a project based on Maven based in a DinD (docker-in-docker) runner.
CI job start, and buildpack for Maven is correctly detected (based on herokuish).
How can ...
1
vote
2
answers
942
views
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
0
votes
1
answer
829
views
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 ...
0
votes
1
answer
764
views
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 ...
1
vote
0
answers
176
views
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 ...
2
votes
1
answer
4k
views
ActionView::Template::Error: Webpacker can't find application in /app/public/packs/manifest.json when its deploy to the Gitlab using ci/cd autodevops
It works perfect locally but receive this error during pipelines running with CI/CD in test stage when it's deployed to the Gitlab:
Webpacker::Manifest::MissingEntryError: Webpacker can't find ...
3
votes
1
answer
426
views
Does Gitlab AutoDevops support kubernetes secrets as file?
I am trying out GitLab AutoDevOps, and trying to understand how CI/CD variables work.
In the Settings UI I can set create file and environment variables.
According to the documentation, if an ...