Questions tagged [gitlab-autodevops]

31 questions
9
votes
1 answer

What is a binary artifact?

I came across this term while looking for build automation in devops, I still am unsure about what exactly this term means. Can anyone explain?
4
votes
1 answer

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 I configure a custom settings.xml file without…
gavioto
  • 1,695
  • 2
  • 17
  • 38
4
votes
0 answers

my pipeline for auto devops in gitlab not working property

this is my test i run the job with autodevops runner i run this without .gitlab-ci.yaml file. but i receive the error like this. $ if [[ -z "$CI_COMMIT_TAG" ]]; then # collapsed multi-line command $ /build/build.sh Building Heroku-based application…
3
votes
0 answers

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, but now they are deployed in default. The…
iaquobe
  • 555
  • 1
  • 6
  • 23
3
votes
1 answer

How to pass ConfigMap value as env variable when using default helm charts in gitlab autodevops

I am a newbie, just getting started with out of the box magic of auto devops by gitlab. I have a very basic Golang Microservice that I am able to deploy - and it uses the default helm charts out of the box (creates namespace, service, deployment,…
3
votes
1 answer

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 variable is prefixed with K8S_SECRET_ then it appears…
mikelong
  • 3,694
  • 2
  • 35
  • 40
2
votes
1 answer

GitLab Auto DevOps on Kubernetes hangs, network timeouts, cannot execute yj

When using GitLab Auto DevOps to build and deploy application from my repository to microk8s, the build jobs often take a long time to run, eventually timing out. The issue happens 99% of the time, but some builds run through. Often, the build stops…
2
votes
1 answer

What's the easiest way to enable gitlab auto devops for an android project

What is the minimal set of steps to properly enable gitlab's "auto devops" feature for an Android project? After enabling the feature I get a pipeline but not the jobs I would expect such as assembleDebug, etc. Steps taken to enable Auto Devops…
Kevin Worth
  • 421
  • 4
  • 15
2
votes
1 answer

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" and I want to compile my app with the latest version -…
Kevin Worth
  • 421
  • 4
  • 15
2
votes
1 answer

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 application in /app/public/packs/manifest.json.…
1
vote
0 answers

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 returnstdout: true, script: "some sfdx command" In yaml I…
1
vote
1 answer

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 history should be hidden for him in…
soham paul
  • 11
  • 2
1
vote
0 answers

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 related to one of them, but then we returned with both…
1
vote
1 answer

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 therefore like to leverage Gitlab's Auto DevOps so as to…
Durand
  • 67
  • 6
1
vote
1 answer

Gitlab Autodeploy Laravel private repo composer install COMPOSER_AUTH env var not read

I have a laravel app that I'm trying to deploy to Google Kubernetes with GitLab autodevops. When I trigger the CI pipeline it starts Herokuish PHP build and npm install, however, some of the composer repos are private. I understand that I need to…
1
2 3