github-actions

Service elasticsearch is not visible when run tests

て烟熏妆下的殇ゞ 提交于 2021-02-04 08:14:05
问题 name: Rspec on: [push] jobs: build: runs-on: [self-hosted, linux] services: elasticsearch: image: docker.elastic.co/elasticsearch/elasticsearch:7.9.2 env: discovery.type: single-node options: >- --health-cmd "curl http://localhost:9200/_cluster/health" --health-interval 10s --health-timeout 5s --health-retries 10 redis: image: redis options: --entrypoint redis-server steps: - uses: actions/checkout@v2 - name: running tests run: | sleep 60 curl -X GET http://elasticsearch:9200/ I am running

How to configure Coveralls with Github Action?

霸气de小男生 提交于 2021-02-04 05:45:33
问题 I'm experiencing problems with my github repo configuration. Here it is - umbress. I have Github Actions CI enabled and configured and I want to have the coverage badge in my repo so everyone who wants to use my code in their projects knows that my code is well-tested. But it seems that I missing something because my coverage badge has an "unknown" status for a long time already. CI steps are: Run build Run tests and generate coverage ( jest --coverage --config config/jest.js ). This will

How to configure Coveralls with Github Action?

柔情痞子 提交于 2021-02-04 05:42:28
问题 I'm experiencing problems with my github repo configuration. Here it is - umbress. I have Github Actions CI enabled and configured and I want to have the coverage badge in my repo so everyone who wants to use my code in their projects knows that my code is well-tested. But it seems that I missing something because my coverage badge has an "unknown" status for a long time already. CI steps are: Run build Run tests and generate coverage ( jest --coverage --config config/jest.js ). This will

I cant get gitHub actions to publish my package build to nuget.pkg.github

回眸只為那壹抹淺笑 提交于 2021-01-29 15:30:35
问题 I have been trying for a few months now, just to get GitHub actions to push a build to the gitHub packages, everytime i come back, try something else, nothing seems to work and it isnt making any sense. I have just seen a new link with more details added for gitActions here: I got excited, clicked, and see more code than previous had: // Step 1: Authenticate (if this is the first time) Note you must also pass --store-password-in-clear-text on non-Windows systems. $ dotnet nuget add source

install npm modules in github actions

烂漫一生 提交于 2021-01-29 15:11:18
问题 I have this script that is supposed to create a sitemap on each master deployment name: create-map on: push jobs: run_tests: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: '12' check-latest: true - name: Run script file run: | chmod +x ./scripts/createmap.sh ./scripts/createmap.sh shell: bash createmap.sh script looks like cd public rm -rf sitemap mkdir sitemap cd .. cd scripts node ./sitemap-posts.js node ./compress-map.js node .

github-branch-source Jenkins integration fails running with error : stderr: fatal: Unable to find remote helper for 'https'

不问归期 提交于 2021-01-29 11:54:27
问题 Below is exception stacktrace which I see in Jenkins console log which is built/ rather kicked off automatically on push event. Push event to branch master Connecting to https://Gihub-private-repo/api/v3 using vinId/****** (vinId_pass) Obtained Jenkinsfile from 02f2d3a422dd46cb25bc7bad6c7f9ac1aedd58e7 Running in Durability level: MAX_SURVIVABILITY [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /home/jenkins2/.jenkins/workspace/teGhe_JenStUpdGhe_JenStUp_master [Pipeline] {

Azure functions deploy from github actions results in Error: connect ECONNREFUSED 127.0.0.1:443

女生的网名这么多〃 提交于 2021-01-29 08:11:37
问题 I have the following yaml file in my .github/workflows folder which I got from here. name: Deploy Python project to Azure Function App on: [push] env: AZURE_FUNCTIONAPP_NAME: zypp-covid # set this to your application's name AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root PYTHON_VERSION: '3.8' # set this to the python version to use (supports 3.6, 3.7, 3.8) jobs: build-and-deploy: runs-on: ubuntu-latest steps: - name:

Release .Net Core Apps on GitHub Automated

霸气de小男生 提交于 2021-01-29 05:37:48
问题 I wan't to make .Net Core App in a GitHub Repos that builds automized and pushes the binaries of the build zipped to a new Release, but I have no idea to set this on GitHub up. So for example I have my .Net Core Console Application and pull my branch with changes into master. Now the build should start(thats what I have) after the build the binaries should be zipped and attached to a new Release, so there would be continious new Releases. Hopefully someone understand and can Help. Here is my

How to save the output of a bash command to output parameter in github actions

烂漫一生 提交于 2021-01-29 05:22:09
问题 This is similar to what is being asked here but with more explanation and desire for an up-to-date answer (answer uses set-env which is now deprecated) Say I have the following github action yaml: name: pull-request-pipeline on: [pull_request] jobs: deploy-to-dev-and-test: runs-on: ubuntu-latest steps: - name: Checkout action uses: actions/checkout@v2 - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws

R blogdown : deploy with github actions on gh-pages

南笙酒味 提交于 2021-01-28 19:18:01
问题 Is there a repo somewhere where a blogdown website is builded by github action and where the public directory is then commited to github pages ? I would like to see the .github/workflow :) Thanks ! 回答1: In fact, using the research functions on github yields a bunch of repo that do it : https://github.com/search?q=blogdown+path%3A.github%2Fworkflows So from these examples, the question is solved. Edit : It's a private repo, but i've copied the .github/worklfows/build.yaml file into this gist :