continuous-integration

Installing pip is not working in bitbucket CI

江枫思渺然 提交于 2021-01-29 22:14:31
问题 I am starting to make a app using bitbucket CI and i am using the following steps to deploy the application and the steps to install pip is failing. script: - apt-get update - apt-get install -y python-dev - curl -O https://bootstrap.pypa.io/get-pip.py - python get-pip.py ... and a few more steps Dont know why but python get-pip.py step fails with the following error. Traceback (most recent call last): File "get-pip.py", line 24226, in <module> main() File "get-pip.py", line 199, in main

Gitlab-runner Interactive Web Terminals not connected

蓝咒 提交于 2021-01-29 18:40:36
问题 I have installed successfully a gitlab-runner on a VM, and it is used by some of my projects. I would like to use the Interactive Web Terminal to have a chance to debug when some pipeline fails. I'm trying to configure my config.toml file, following this docu of gitlab but i'm not understanding wich ip addess i should use in the setting listen_address . Should it be the ip of the running machine? The docker container instance? Or what? Here is my current configuration: concurrent = 2 check

surefire results not showing in the test tab of gitlab CI/CD

我是研究僧i 提交于 2021-01-29 17:39:05
问题 I have a java-maven application and I am trying to display my junit results on gitlab as shown in the gitlab help here: https://docs.gitlab.com/ee/ci/junit_test_reports.html#viewing-junit-test-reports-on-gitlab I added the maven-surefire-plugin in the pom build and the maven-surefire-report-plugin in the pom reporting section. I checked that it works because the surefire-report.html is correctly created in my local target repository, with the test results. Then i configured my gitlabci.yaml

Integration between Bitbucket and Azure DevOps

只愿长相守 提交于 2021-01-29 12:57:20
问题 My requirement is I want to integrate my Bitbucket repo with the Azure DevOps CI server so that as soon as I push code in the bitbucket repo my pipeline should trigger in the Azure DevOps CI server for that I have created a webhook in the Bitbucket repo. I have added the Azure DevOps CI server URL in the URL section and added secret in a secret section of the webhook of Bitbucket. the secret is personal access token generated in Azure DevOps Server. But while creating a webhook I am getting

Not Generate Android APK Version wise using devops Pipeline after changes version code in build gradle and commit

别等时光非礼了梦想. 提交于 2021-01-29 10:22:31
问题 I have committed code after change Version Code in app Build Gradle File. I have run the pipeline in Azure DevOps. Complete the pipeline task and generate APK on drop folder but When I have published APK play store then got a message from Play store "Apk Version is already Used". 回答1: If changing versionCode in the build.gradle file is not working. you can try removing the versionCode and versionName located under the default config, and add the versionCode and versionName in AndroidManifest

CircleCI: Cannot find a definition for executor named ubuntu?

三世轮回 提交于 2021-01-29 10:20:12
问题 I am trying to extend the orb that is already in use. We have used Docker before but now want to use a machine executor and maybe a windows executor in the future. I go through the documentation, but it is not clear if it is possible to have executors of different types and call them on the same jobs. Is it possible to have executors of different types in the same orb in CircleCI? I tried creating the executor ubuntu.yml : description: > The executor to run testcontainers without extra setup

google cloud platform cloud build rebuild cloud function not updated the content

孤人 提交于 2021-01-29 09:13:50
问题 I put the file on Github and connected with Google Cloud Repository. Below is the .yaml file, when I update my index.js file, the Cloud Build rebuilds the Cloud Function, but why the content didn't get updated? Manually setup for Cloud Function works steps: - name: 'gcr.io/cloud-builders/yarn' args: ['install'] dir: 'functions/autodeploy' - name: 'gcr.io/cloud-builders/gcloud' args: ['functions', 'deploy', 'function-1', '--trigger-http', '--runtime', 'nodejs10', '--entry-point', 'firstci']

How to get pelican site generate on GitLab Pages when continuous integration passes and artifacts are being built?

空扰寡人 提交于 2021-01-29 08:51:47
问题 I used pelican as the static site generator to build a static site. I wanted to host it on GitLab Pages and let the site generate with GitLab's continuous integration with Makefile. The site successfully builds locally as well as on GitLab via its CI/CD pipeline. The build code passes with artifacts uploaded and job succeeded. The content files are built and produced in the public folder. Somehow, after the build being passed and artifacts being uploaded in public folder as desired, it was

Gerrit: configure references for multiple Git branches of same level

不问归期 提交于 2021-01-29 04:43:35
问题 We have big project with many teams working on different modules and to keep 'master' always working we're using several team branches merged to the main branch in the end of every sprint if everything is OK. Every team have their feature branches that go to the team branch when they are finished. Now I try to move our project to the Gerrit to prohibit accidental direct pushes into 'master', but face several problems. I used Git a lot, but never used Gerrit before, so I'm little confused with

How to get build status updated in Bitbucket from Azure Pipeline?

谁说我不能喝 提交于 2021-01-29 01:39:15
问题 I am using Azure Pipeline to build and run test for iOS code. Those steps works fine. How to display the build status in bitbucket? I could find a script: #!/usr/bin/env python import os import requests # Use environment variables that your CI server provides to the key, name, # and url parameters, as well as commit hash. (The values below are used by # Jenkins.) data = { 'key': os.getenv('BUILD_ID'), 'state': 'SUCCESSFUL', # or 'FAILED' for a script that runs when the build fails 'name': os