#GithubActions
Explore tagged Tumblr posts
one-earbuds1 · 4 months ago
Text
GitHub Actions - The Complete Guide
GitHub Actions is an automation tool provided by GitHub that allows you to automate your software workflows like continuous integration (CI) and continuous deployment (CD). Here's a brief overview:
GitHub Actions Components: Learn basics of workflows, jobs, steps, actions.Workflow Building: From simple to complex.Event Triggers: Connect workflows to GitHub events.Conditional Execution: Run jobs/steps conditionally.Environment Variables: Manage and use them.Job Data Flow: Handle inputs, outputs, results.Community Actions: Use pre-existing actions.Custom Actions: Create your own.Security: Secure workflows and jobs.
Book -> FREE
Tumblr media
0 notes
codingchica · 2 years ago
Text
Build It! A Simple Maven Build on GitHub
Adding an automated Maven build on our Java101 project for every commit in main branch(es) and pull requests to those branch(es) can be very helpful for maintaining quality. #stepByStep #maven #cicd #GitHub
💚 TIP: References Quick List GitHub: Signing Up for a New GitHub Account GitHub: Authenticating in Your Browser GitHub: Configuring your watch settings for an individual repository. GitHub: Managing GitHub Actions Settings for a Repository GitHub: Metadata Syntax for GitHub Actions (YAML) Table of Contents Table of ContentsOverviewPrerequisitesAdd A Maven Build Yaml FileTesting for Failure –…
View On WordPress
0 notes
techaircraft · 2 months ago
Text
Tumblr media
Ready to level up your development skills? 🚀 Learn Git and GitHub – the essential tools every developer must master! From tracking code changes to seamless collaboration, Git helps you manage projects with confidence. GitHub brings your work to life with version control, open-source contributions, and team workflows made easy. Whether you're a beginner or brushing up your skills, mastering Git and GitHub is your gateway to becoming a more efficient, organized, and professional coder. Learn how to commit, branch, merge, and collaborate like a pro. It's not just about code – it’s about building smarter, faster, and together. Start your journey today and unlock endless development possibilities!
💻 Code smarter. 🤝 Collaborate better. 🚀 Build like a pro.
#LearnGit #GitHub #VersionControl #CodingSkills #DeveloperLife #OpenSource #TechLearning #CodeCollaboration #GitTutorial #GitHubActions #DevJourney #WebDevelopment #SoftwareEngineering #CodeNewbie #ProgrammingTools
0 notes
dopingconsomme · 5 months ago
Link
0 notes
cloudolus · 5 months ago
Video
youtube
Introduction to Git: Understanding the Basics of Version Control
Git is a distributed version control system essential for modern software development. It enables multiple developers to collaborate efficiently by managing changes to code over time. Mastering Git is crucial for any developer or DevOps professional, as it supports streamlined workflows, effective collaboration, and robust code management.
What is Version Control?
Version control tracks changes to files, allowing you to recall specific versions and manage code history. It helps prevent conflicts by enabling team members to work together without overwriting each other’s changes. Git’s version control system is vital for maintaining a clear and organized development process.
Key Features of Git
1. Distributed Architecture: Git stores the entire repository locally for each developer, enhancing speed and allowing offline work. This is a shift from centralized systems where all data is on a single server.
2. Branching and Merging: Git supports multiple branches for isolated work on features or fixes. This facilitates experimentation and seamless integration of changes into the main codebase.
3. Staging Area: The staging area lets developers review changes before committing them, ensuring precise control over what gets recorded in the project history.
4. Commit History: Each change is recorded as a commit with a unique identifier, enabling developers to track, revert, and understand project evolution.
5. Collaboration and Conflict Resolution: Git's tools for handling merge conflicts and supporting collaborative development make it ideal for team-based projects.
Benefits of Using Git
- Enhanced Collaboration: Multiple developers can work on separate branches with minimal conflicts. - Flexibility and Efficiency: Git’s distributed nature allows offline work and faster local operations. - Reliable Code Management: Git's branching and merging capabilities streamline code management. - Security: Git uses SHA-1 hashing to ensure code integrity and security.
Why Learn Git?
Git is foundational for modern development and DevOps practices. It underpins tools like GitHub, GitLab, and Bitbucket, offering advanced features for collaboration, continuous integration, and deployment. Mastering Git enhances coding skills and prepares you for effective team-based workflows.
Conclusion
Understanding Git is the first step toward proficiency in modern development practices. Mastering Git enables efficient code management, team collaboration, and seamless CI/CD integration, advancing your career in software development or DevOps.
What Is Git?,What Is Git Core Features and Use Cases?,What Is GitHub?,What Is GitHub Core Features and Use Cases?,What Is GitHub Actions?,What Is GitHub Actions Core Features and Use Cases?,What Is GitLab?,What Is GitLab Core Features and Use Cases?,What Is Right Tools For DevOps? Git,GitHub,Version Control and Collaboration Essentials,GitLab,github actions ci/cd,git and github tutorial,git tutorial,git tutorial for beginners,how to use git,como usar git,what is git,git for devops,curso de github,version control system,git for beginners,version control,github tutorial,git basics,git repository,git explained,git introduction,open source,cloudolus,cloudoluspro,version control with git,git clone,git commit,dia a dia
Git for DevOps, GitHub for DevOps, version control for DevOps, Git commands for beginners, GitHub Actions CI/CD, DevOps tools, CI/CD pipelines, GitHub workflow examples, Git best practices.   #GitForDevOps #GitHubForDevOps #VersionControl #DevOpsTools #CICDPipelines #GitHubActions #CloudComputing #DevOpsTutorials
***************************** *Follow Me* https://www.facebook.com/cloudolus/ | https://www.facebook.com/groups/cloudolus | https://www.linkedin.com/groups/14347089/ | https://www.instagram.com/cloudolus/ | https://twitter.com/cloudolus | https://www.pinterest.com/cloudolus/ | https://www.youtube.com/@cloudolus | https://www.youtube.com/@ClouDolusPro | https://discord.gg/GBMt4PDK | https://www.tumblr.com/cloudolus | https://cloudolus.blogspot.com/ | https://t.me/cloudolus | https://www.whatsapp.com/channel/0029VadSJdv9hXFAu3acAu0r | https://chat.whatsapp.com/D6I4JafCUVhGihV7wpryP2 *****************************
*🔔Subscribe & Stay Updated:* Don't forget to subscribe and hit the bell icon to receive notifications and stay updated on our latest videos, tutorials & playlists! *ClouDolus:* https://www.youtube.com/@cloudolus *ClouDolus AWS DevOps:* https://www.youtube.com/@ClouDolusPro *THANKS FOR BEING A PART OF ClouDolus! 🙌✨*
0 notes
happysounds2 · 6 months ago
Text
Master GitHub Actions for Effortless Automation
Discover the power of GitHub Actions! Learn how to automate CI/CD, implement best practices, and explore real-world use cases to streamline your workflows and boost productivity. Check out this in-depth guide. #GitHubActions #DevOps #Automation
Master Github Actions Introduction GitHub Actions is a powerful automation platform integrated directly into GitHub, enabling developers to build, test, and deploy their code directly from their repositories. Since its release in 2019, GitHub Actions has revolutionized workflows by allowing seamless Continuous Integration/Continuous Deployment (CI/CD) pipelines. This article delves deep into…
Tumblr media
View On WordPress
0 notes
holyjak · 7 months ago
Text
Essentially a tutorial of building and deploying a minimal, production-like Clojure web app with server-side rendering for managing bookmarks. Featuring Aero, Integrant, Reitit, next.jdbc, Hiccup, Fly.io. Uses tools.build to create an uberjar in a multi-stage Dockerfile. Socket REP in prod, accessible via VPN (fly proxy). GithubActions for deployment.
0 notes
scrumtuous · 10 months ago
Video
youtube
What is GitHub Enterprise? #git #github #gitlab #bitbucket #githubaction...
0 notes
0-9 · 2 years ago
Text
社内github actions現状確認
いろいろ動くようになってきていたのでまとめた。
初期設定
社内action側の https://github.com/${org}/${repo}/settings/actions にある、 Access を Not accessible 以外にする。
できること
過去、 using: "composite" 内から uses: を使うことができなかったが、使えるようになっていた。
呼び出された側のactionでローカルファイルを参照した場合、呼び出し側のローカルファイルが参照される。
参照側
- uses: ${org}/${repo}@${tag or branch}
or
- uses: ${org}/${repo}/${dir_name}@${tag or branch}
${dir_name} が指��された場合、参照先 ${repo} 内の /${dir_name}/action.yml が呼び出される。
ただし、 ${dir_name} が /.github/workflows/${workflow} を参照している場合、workflowの参照とみなされる。 (もしかしたらファイルを参照しているとworkflow、ディレクトリを参照しているとactionとみなしてるかも?)
複数actionsの運用
action毎にrepositoryを作成する
Pros
一般的なgithub actionのプラクティスを適応できる
Cons
管理するrepositoryが増える
一つのrepository内でbranch毎に別のactionを作成し、参照側はbranch指定で呼び出す
Pros
(3と比較して)一般的なgithub actionのプラクティスを適応できる
リポジトリが増えない
Cons
参照側でtagを指定できないため、バージョン管理が煩雑 (ただし、そもそもgithub actionsは @v1 のような指定をしても v1 というタグの指定にしかならないため、 branch_v1 のようなbranch名での運用でも大差ないかもしれない)
開発時に「どのブランチが外部から参照されているか?」が不明なため、間違って参照されているブランチが削除される懸念がある (main branchに外部提供しているactionを列挙し、各branchのCIからmain branchのactionを呼び出して、検証することはできそう)
一つのrepository内でディレクトリを分けてactionを作成し作成し、参照側はディレクトリ指定で呼び出す
Pros
リポジトリが増えない
ディレクトリ毎にactionを管理できるので一覧性が高い
Cons
tag, branchを指定したバージョン管理は困難 ��/action_v1 、/action_v2 のようなディレクトリ名を使ったバージョン管理になりそう)
一般的なgithub actionsのプラクティスの適応は困難(monorepoと思えばいけるかも?)
テスト
.github/workflows/on_push.yml に以下のような内容を書く
name: test on: push jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: ./ with: example: aaa # 必要に応じてaction実行後の結果が正しいかの検証を行う
7 notes · View notes
akubi0w1 · 5 years ago
Text
github actions & docker-compose
何をしたか
ciでmysqlを使いたかった。
サービスコンテナのmysqlを利用したら文字コードで引っかかりまくって、設定もうまいこと行かなかったので、dockerを使う。
ディレクトリ構造は以下な感じ。
// tree . ├── .github │   └── workflows │      └── integrage.yml ├── db │   └── mysql │   └── init.d │ ├── ddl.sql │   └── dml.sql └── docker-compose.ci.yml
ci用のdocker-composeは以下で定義。
// docker-compose.ci.yml version: '3.5' services: db: image: mysql:5.7 container_name: sample_db_test environment: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: sample MYSQL_USER: worker MYSQL_PASSWORD: password TZ: 'Asia/Tokyo' command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci volumes: - ./db/mysql/init.d:/docker-entrypoint-initdb.d ports: - 3306:3306 restart: always
github actionsのworkflowは以下。一部省略してます。
// .github/workflows/integrate.yml name: integrate on: ... env: ... jobs: static-check: name: StaticCheck runs-on: ubuntu-latest steps: ... test: name: Test runs-on: ubuntu-latest needs: [ static-check ] steps: ... # set up db - name: SetUp db run: | docker-compose -f docker-compose.ci.yml up -d sleep 15 # 起動待ち ... # Run test - name: Test run: | go test -v ./...
1 note · View note
pulipuli · 2 years ago
Photo
Tumblr media
GitHub Actions能跑Ubuntu,那能用它來跑其他的作業系統嗎?答案是肯定的。 ---- # 虛擬機器 / Runner https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources。 GitHub Actions提供了很多用來運作任務的Runner。 為了方便理解,我通常稱它們叫做虛擬機器。 這些虛擬機器的是讓你每次在運作任務時都有個「乾淨」的環境。 除了基本的作業系統和基本元件之外,許多工具都要額外安裝或配置。 於是我們就需要在workflow的YAML中設定各個step。 https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions#create-an-example-workflow。 GitHub Actions預設提供了Ubuntu、MacOS和Windows等不同作業系統,也有提供一些不同的版本。 大多時候我們的虛擬機器都是用「ubuntu-latest」,也就是最新版的Ubuntu,但我們也可以在GitHub Actions裡使用Windows虛擬機器。 https://www.autoitscript.com/forum/topic/205731-setting-up-ci-on-github-for-autoit-scripts/。 rcmaehl在AutoIT的論壇上提出了它的workflow設定檔案。 不過他的步驟中加入了很多檔案存取的步驟,讓整個流程變得有點複雜。 所以我就來自己動手做一個吧。 ---- # action-AutoIT-Builder。 https://github.com/pulipulichen/action-AutoIT-Builder。 我建立了一個用GitHub Actions來編譯AutoIT的保存庫。 這個保存庫的使用方式是必須要在GitHub的Visual Studio Code裡面運作。 在已登入且有權限編輯此保存庫的前提下,按「.」可以進入該保存庫的網頁版Visual Studio Code。 接下來需要修改以下兩個檔案:。 ---- 繼續閱讀 ⇨ 用GitHub Actions的Windows虛擬機器來編譯AutoIT / Compile AutoIT on the Windows Runer in GitHub Actions https://blog.pulipuli.info/2023/02/blog-post_258.html
0 notes
futurride · 3 years ago
Link
0 notes
mileswebhosting-blog · 4 years ago
Photo
Tumblr media
GitHub is a subsidiary of Microsoft, that offers the distributed version control and source code management (SCM) functionality of Git.
1 note · View note
githublab · 4 years ago
Link
0 notes
devopsurmi · 6 years ago
Photo
Tumblr media
I Will Resolve Github, Gitlab, Bitbucket, Git Or Push Your Code            http://bit.do/Github1
0 notes
cloudolus · 5 months ago
Video
youtube
Git, GitHub, and GitLab | Version Control and Collaboration Essentials
1. Git: The Foundation of Version Control - Definition: Git is a distributed version control system (VCS) that helps developers track changes in source code during software development. - Core Features:  - Enables version control and collaboration.  - Allows branching, merging, and managing repositories locally.  - Provides commands for managing code history and changes. - Importance in DevOps: Git is a fundamental tool for managing code versions and is widely used in almost every software development and DevOps environment.
2. GitHub: A Platform for Collaboration and Code Management - Definition: GitHub is a web-based platform built on top of Git that adds collaboration and project management features. - Core Features:  - Offers code hosting, pull requests, code reviews, and issue tracking.  - Provides integration with various development and DevOps tools.  - Supports project management features like Kanban boards and automated workflows. - Use Cases:  - Widely used for open-source projects and community-driven development.  - Ideal for team collaboration and code sharing.
3. GitHub Actions: Automate Workflows and CI/CD - Definition: GitHub Actions is a CI/CD service built into GitHub that allows developers to automate workflows directly from their repositories. - Core Features:  - Automates tasks like building, testing, and deploying code.  - Integrates seamlessly with other GitHub features for a streamlined development process.  - Supports event-driven automation triggered by events such as pushes, pull requests, and issues. - Use Cases:  - Automating CI/CD pipelines for faster and more efficient development cycles.  - Setting up automated testing, code quality checks, and deployment workflows.
4. GitLab: An All-in-One DevOps Platform - Definition: GitLab is a web-based platform similar to GitHub but with a stronger focus on providing a comprehensive DevOps solution. - Core Features:  - Combines source code management, CI/CD pipelines, security, and project management in one platform.  - Provides extensive control over CI/CD pipelines, permissions, and security testing.  - Supports integrations with other DevOps tools and cloud providers. - Use Cases:  - Preferred by organizations that need a comprehensive, integrated DevOps platform.  - Useful for enterprises that require robust CI/CD capabilities, security, and compliance management.
Choosing the Right Tool for DevOps: A Summary - Start with Git: Learn Git first to master the fundamentals of version control. - Move to GitHub: Ideal for open-source projects, community collaboration, and using GitHub Actions for CI/CD. - Consider GitLab: Suitable for enterprises looking for an all-in-one DevOps solution with extensive CI/CD and security features.
Git and GitHub are indispensable tools in the DevOps ecosystem, fostering collaboration, automation, and efficiency. By mastering these tools, you can streamline your workflows, ensure code quality, and accelerate software delivery.  
Git for DevOps, GitHub for DevOps, version control for DevOps, Git commands for beginners, GitHub Actions CI/CD, DevOps tools, CI/CD pipelines, GitHub workflow examples, Git best practices.   #GitForDevOps #GitHubForDevOps #VersionControl #DevOpsTools #CICDPipelines #GitHubActions #CloudComputing #DevOpsTutorials
***************************** *Follow Me* https://www.facebook.com/cloudolus/ | https://www.facebook.com/groups/cloudolus | https://www.linkedin.com/groups/14347089/ | https://www.instagram.com/cloudolus/ | https://twitter.com/cloudolus | https://www.pinterest.com/cloudolus/ | https://www.youtube.com/@cloudolus | https://www.youtube.com/@ClouDolusPro | https://discord.gg/GBMt4PDK | https://www.tumblr.com/cloudolus | https://cloudolus.blogspot.com/ | https://t.me/cloudolus | https://www.whatsapp.com/channel/0029VadSJdv9hXFAu3acAu0r | https://chat.whatsapp.com/D6I4JafCUVhGihV7wpryP2 *****************************
*🔔Subscribe & Stay Updated:* Don't forget to subscribe and hit the bell icon to receive notifications and stay updated on our latest videos, tutorials & playlists! *ClouDolus:* https://www.youtube.com/@cloudolus *ClouDolus AWS DevOps:* https://www.youtube.com/@ClouDolusPro *THANKS FOR BEING A PART OF ClouDolus! 🙌✨*
0 notes