GitHub Actions | Actions vs Jenkins |
- Learn about GitHub Actions for CI/CD
- GitHub Actions is a powerful tool for CI/CD
- GitHub workflows allow for easy pipeline creation and validation
- GitHub Actions can be easily configured using YAML files
- GitHub Actions allows for flexible environment setup and plugin usage
- GitHub Actions simplifies configuration for different applications
- GitHub Actions provides native support to store CI/CD secrets.
- GitHub Actions is a cost-effective and maintenance-free alternative to Jenkins
GitHub Actions for CI/CD
- GitHub Actions is a CI/CD solution focused on GitHub platform
- Consider your organization's goals before choosing GitHub Actions or GitLab CI
GitHub Actions is a powerful tool for CI/CD
- GitHub Actions is better than Jenkins due to its ease of use and lack of plugin installation
- GitHub Actions allows for multiple pipelines and actions files, making it highly customizable
GitHub workflows allow for easy pipeline creation and validation
- GitHub workflows can be configured to execute various pipelines based on actions provided
- GitHub actions can be written in various languages and can be easily executed in GitHub workflows
GitHub Actions can be easily configured using
YAML files
- YAML file specifies the steps to be executed in the pipeline
- Container image and environment can be specified in the YAML file
GitHub Actions allows for flexible environment setup and plugin usage
- GitHub Actions offers multiple environment options and plugin usage for easy code setup
- Plugins are auto-installed and can be easily accessed through the GitHub Actions Marketplace
GitHub Actions simplifies configuration for different applications
- Plugins are pre-installed, reducing the amount of code needed to be written
- Custom Runners can be configured for more compute resources
GitHub Actions provides native support to store CI/CD secrets.
- GitHub Actions allows storing secrets like Kubeconfig file and sonar token securely.
- GitHub Actions provides integrated support to store CI/CD secrets in settings.
GitHub Actions is a cost-effective and maintenance-free alternative to Jenkins
- GitHub Actions provides free execution for public projects and is less expensive for private projects
- GitHub Actions eliminates the maintenance overhead of maintaining Jenkins
GITHUB ACTIONS SELF HOSTED RUNNERS
GitHub Actions Self-Hosted Runners: Configuration, Deployment, and Advantages Compared to Jenkins
- GitHub Actions using self-hosted Runners
- Self-hosted Runners in GitHub Actions
- When security is a key factor, do not use a GitHub hosted Runner.
- Configure inbound and outbound traffic rules for GitHub Actions self-hosted runners on AWS
- Execute GitHub actions on every commit using self-hosted runners
- To add self-hosted runners in GitHub Actions, follow these steps and make sure not to share the sensitive token.
- Choose GitHub Actions for public projects or when using GitHub's full ecosystem
- GitHub Actions is an easy and simple topic with no complex things
- Self-hosted runners in GitHub Actions
GitHub Actions Self-Hosted Runners: Configuration, Deployment, and Advantages Compared to Jenkins
GitHub Actions using self-hosted Runners
- difference between self-hosted Runners and GitHub hosted Runners
- learn how to install and set up a self-hosted runner using an ec2 instance and deploy a Python project on it
Self-hosted Runners in GitHub Actions
- GitHub hosted Runners are
public Runners provided by GitHub for executing CI Pipelines
- Self-hosted Runners allow you to use your own infrastructure to execute CI Pipelines
When
security is a key factor, do not use a GitHub hosted Runner.
- Do not use a GitHub hosted Runner for private repositories.
- Do not use a GitHub hosted Runner if it does not meet your requirements.
- Use a self-hosted runner in these cases.
Configure inbound and outbound traffic rules for GitHub Actions self-hosted runners on AWS
- GitHub and AWS communicate through inbound and outbound traffic rules
- Only open ports 80 and 443 for HTTP and HTTPS in both inbound and outbound traffic rules
Execute GitHub actions on every commit using self-hosted runners
- GitHub hosted runner used to run actions for Python 3.8 and 3.9
- Switch to self-hosted runners by adding new runners in settings
To add self-hosted runners in GitHub Actions, follow these steps and make sure not to share the sensitive token.
- Running the provided commands will configure your EC2 instance as a runner that listens to your GitHub repository.
- The self-hosted runner will execute jobs whenever there is a code change in your GitHub repository.
Choose GitHub Actions for public projects or when using GitHub's full ecosystem
- GitHub Actions is justified for public projects as it provides free resources
- If a private project, justify using GitHub by mentioning the full utilization of GitHub's features like CI/CD, agile management, security, and insights
- If the project is dedicated solely to GitHub, consider using Jenkins or AWS code build for CI
GitHub Actions is an easy and simple topic with no complex things
- Secure sensitive information in GitHub by using the settings and the secrets and variables option
- Write a GitHub CI file by creating a .github/workflows folder in the repository and explaining each stage
Self-hosted runners in GitHub Actions
- Self-hosted runners allow you to run your workflows on your own hardware
- You can add your self-hosted runner project to your resume to showcase your skills