Questions tagged [github-actions]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

github workflow will not hangup ssh command

I want to do the following: user merges code to the branch test-branch github runner connects to the server proxy-server.example.com via ssh proxy-server.example.com sends the command ssh target-...
1
vote
0answers
13 views

Building docker image of nuxt application using github actions fails (heap memory size exceeded)

I am trying to setup Github Actions workflow to automatically build and push docker image of my nuxt app, When the workflow finishes and I pull the image and run it, the web application doesn't load ...
2
votes
1answer
103 views

Why should I tag a commit to create a release?

I work on a new CICD, replacing Jenkins-X 2 by GitHub Actions. After seeing a lot of actions to create a release + changelog, I found that a lot of them are trigger by a tag on a commit to launch the ...
2
votes
1answer
27 views

How to configure EC2 inbound rules for GitHub Actions deploy

I have a GitHub Actions workflow to deploy a service to an EC2 instance. I have currently opened the SSH access to all IPs but I want to restrict this to IPs used by GitHub Actions runners. However, ...
2
votes
0answers
35 views

Incorporating python linter(flake8) in the CI/CD pipeline that use GitHub, Github Actions in a code base that is not in compliance

I have a codebase that is not in compliance with flake8. The CI/CD pipeline uses GitHub/GitHub actions. I would like to start adding python flake8 (to check for complexity, errors and code smells) ...
1
vote
0answers
26 views

Taking a bash command's output and putting it into a message in yaml for GitHub actions?

I have the following Github Action workflow that is intended to read our lines of code coverage from a coverage.txt file and print the coverage as a comment. name: Report Code Coverage on: ...
0
votes
0answers
21 views

How to build an automated pipeline to AWS for a Django app in Github with more than one Dockerfile

I am completely new to DevOps. I have coded a few Django apps and I have been able to put them in production using Docker with nginx and uwsgi. The structure is -app/ --manage.py -proxy/ --Dockerfile -...
1
vote
0answers
12 views

Github action for displaying the number of out of date package dependencies

How can I add a shield to my .README that displays the current number of out of date dependencies in my package.json? Whenever I run my github action "Firebase CI", I'd like the the badge to ...
1
vote
0answers
16 views

How to use old server repository path for GIthub action CICD (self hosted)

I have a production server where I already have a my project repository. Now I have setup github action for CICD. I have given my workspace path, but it is creating 2 subdirectory with same name as my ...
3
votes
3answers
52 views

pypa/gh-action-pypi-publish token value 'does not start with "pypi-"'

I am trying to use the pypa/gh-action-pypi-publish action in GitHub to push a Python package to PyPI. I'm in the team that owns microbiomedata/nmdc-schema and successfully uses a GitHub action to ...
1
vote
0answers
18 views

Our code is behind a firewall and we don't want to put source code in cloud. Are there any good CI/CD using local agents for Azure/Github actions

Our source code is in our servers and we don't have approval to put it in cloud. We don't have a seamless CI/CD. Can we use Azure pipeline agents or any local agents to build our code and only export ...
3
votes
0answers
35 views

How do I prevent a given GitHub Workflow from being launched twice from two almost simultaneous events?

I have a repo, in which there is one folder at the root with a Makefile to build a C library. In the same repo, there is another folder at the root with a folder with another Makefile for building a ...
0
votes
1answer
90 views

How can I use a buildah script for image generation using GitHub Actions?

Buildah scripts typically use shell. You can see an example of a script here, #!/bin/sh ctr=$(buildah from alpine:3) buildah commit "$ctr" myAlpineImage Let's say I have such a shell script ...