gitlab

How to specify in gitlab-ci.yml the memory for a job?

谁说我不能喝 提交于 2020-07-08 00:24:12
问题 I have a job that requires more memory than the default configuration to compile a large project. I use hosted shared runners. Is there a way to specify in gitlab-ci.yml the required memory per job ? 回答1: This feature is not currently available, and the development is being tracker in https://gitlab.com/gitlab-org/gitlab-runner/issues/2902 来源: https://stackoverflow.com/questions/60114468/how-to-specify-in-gitlab-ci-yml-the-memory-for-a-job

Gitlab CI use ed25519 private key

故事扮演 提交于 2020-07-07 11:24:48
问题 I'm trying to do some stuff within Gitlab CI on a remote server. When using RSA keys everything works fine, but when I try using ED25519 keys, I'm stuck: Running with gitlab-ci-multi-runner 9.3.0 (3df822b) on Internal Runner (079281fd) Using Docker executor with image 1drop/docker:git ... Using docker image sha256:b9cf0ca386341048f8696d950123e20b5d6583c190f266aacb25b6d3d4736028 for predefined container... Pulling docker image 1drop/docker:git ... Using docker image 1drop/docker:git ID=sha256

Gitlab CI use ed25519 private key

自古美人都是妖i 提交于 2020-07-07 11:24:47
问题 I'm trying to do some stuff within Gitlab CI on a remote server. When using RSA keys everything works fine, but when I try using ED25519 keys, I'm stuck: Running with gitlab-ci-multi-runner 9.3.0 (3df822b) on Internal Runner (079281fd) Using Docker executor with image 1drop/docker:git ... Using docker image sha256:b9cf0ca386341048f8696d950123e20b5d6583c190f266aacb25b6d3d4736028 for predefined container... Pulling docker image 1drop/docker:git ... Using docker image 1drop/docker:git ID=sha256

How do you center text in Gitlab markdown?

青春壹個敷衍的年華 提交于 2020-07-06 09:10:15
问题 After Gitlab switched its markdown engine to CommonMark it's no longer as easy to add things like custom styling to your markdown files. I've used Gitlab for some time and for the longest time I've liked how nicely I could make my README.md file look, having a centered icon, title and description for my project. When they switched the engine all my markdown files that relied on having such stylings look really bad. How do I center text in Gitlab after the transition to CommonMark? 回答1: Update

How do you center text in Gitlab markdown?

六眼飞鱼酱① 提交于 2020-07-06 09:07:22
问题 After Gitlab switched its markdown engine to CommonMark it's no longer as easy to add things like custom styling to your markdown files. I've used Gitlab for some time and for the longest time I've liked how nicely I could make my README.md file look, having a centered icon, title and description for my project. When they switched the engine all my markdown files that relied on having such stylings look really bad. How do I center text in Gitlab after the transition to CommonMark? 回答1: Update

Can you clone GitLab snippets?

久未见 提交于 2020-07-04 12:01:34
问题 It's easy enough to create them, but I can't find out how to clone them and edit offline. Is it possible? 回答1: May 2020, for GitLab 13.0: yes! Versioned Snippets Snippets are useful for sharing small bits of code and text that may not belong in the main project’s codebase. These items are important to groups and users who rely on them for other tasks, like scripts to help generate diagnostic output or setup supporting services for testing and demo environments. Unfortunately, a lack of

How to manage signing keystore in Gitlab CI for android

非 Y 不嫁゛ 提交于 2020-07-04 11:36:13
问题 Dear stackoverflow community, once more I turn to you :) I've recently come across the wonder of Gitlab and their very nice bundled CI/CD solution. It works gallantly however, we all need to sign our binaries don't we and I've found no way to upload a key as I would to a Jenkins server for doing this. So, how can I, without checking in my keys and secrets sign my android (actually flutter) application when building a release? From what I see, most people define the build job with signing

How to import gitlab repository to bitbucket Repository

余生长醉 提交于 2020-07-04 06:27:26
问题 I have a gitlab Repository and I want it to update it on the bitbucket account. Please provide me steps to follow, so that it can be helpful to me to migrate it in bitbucket from Gitlab. 回答1: Follow these steps: Create a new repo in bitbucket. git clone <gitlabRepoUrl> cd <repoName> git remote add bitbucket <bitbucketRepoUrl> git push bitbucket master 回答2: 1) Create the repository in Bitbucket using the UI 2) Clone the Gitlab repository using the "--bare" option git clone --bare GITLAB-URL 3)

How to make GitLab's CI/CD job fail based on text in console output?

99封情书 提交于 2020-06-29 03:54:14
问题 I am using Lerna to manage a multipackage repository and in my deployment job I use Lerna's publish command. For me if code is changed in a package it should always publish a new version to our Artifactory and fail the job if nothing was published, but the publish command will exit with success code (I guess it's 0 code) even when no packages where published: $ npx lerna publish from-package --yes lerna notice cli v3.13.1 lerna info ci enabled lerna notice from-package No unpublished release

How to make GitLab's CI/CD job fail based on text in console output?

天大地大妈咪最大 提交于 2020-06-29 03:54:05
问题 I am using Lerna to manage a multipackage repository and in my deployment job I use Lerna's publish command. For me if code is changed in a package it should always publish a new version to our Artifactory and fail the job if nothing was published, but the publish command will exit with success code (I guess it's 0 code) even when no packages where published: $ npx lerna publish from-package --yes lerna notice cli v3.13.1 lerna info ci enabled lerna notice from-package No unpublished release