-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update entry to directly jump to the single lessons
- Loading branch information
frudisch
committed
Sep 12, 2024
1 parent
c33e7bd
commit d4d5366
Showing
4 changed files
with
65 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: Advanced action skills | ||
on: | ||
issue_comment: | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run on deploy comment | ||
run: | | ||
echo "This is executed from the main branch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
# Overview of CI/CD | ||
# Github Actions | ||
|
||
Importance of CI/CD in modern software development. | ||
Introduction to GitHub Actions as a CI/CD tool. | ||
Goals for the Workshop: | ||
GitHub Actions is a robust and flexible build and deployment system that supports a wide range of use cases, from simple CI pipelines to complex, multi-environment deployment strategies, making it a valuable tool in modern DevOps practices. | ||
|
||
Understanding the basics of GitHub Actions. | ||
Creating and running workflows. | ||
Setting up self-hosted runners for on-premises infrastructure. | ||
Implementing advanced workflows, caching, and secrets management. | ||
* CI/CD Integration | ||
|
||
* YAML-Based Workflow Configuration | ||
|
||
* Multi-Language Support | ||
|
||
* Flexible Triggers | ||
|
||
* Secrets Management | ||
|
||
* Self-Hosted and GitHub-Hosted Runners | ||
|
||
[next >>](./1_basic_github_actions.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,38 @@ runs: | |
### Using composite action | ||
``.github/workflows/example.yaml`` | ||
```yaml | ||
|
||
jobs: | ||
greet-randomize: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- id: greet-and-randomize | ||
uses: ./.github/actions/greet-and-randomize | ||
with: | ||
who-to-greet: 'Hack&Heat' | ||
- run: echo random-number "$RANDOM_NUMBER" | ||
shell: bash | ||
env: | ||
RANDOM_NUMBER: ${{ steps.greet-and-randomize.outputs.random-number }} | ||
``` | ||
## Creating complex actions | ||
## Creating complex actions | ||
-> https://github.com/senacor/workshop-github-action-action | ||
### Integration | ||
```yaml | ||
greet-randomize-external: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- id: greet-and-randomize | ||
uses: senacor/[email protected] | ||
with: | ||
who-to-greet: 'Hack&Heat' | ||
- run: echo random-number "$RANDOM_NUMBER" | ||
shell: bash | ||
env: | ||
RANDOM_NUMBER: ${{ steps.greet-and-randomize.outputs.random-number }} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
# Workshop first steps and best practices Github Actions | ||
|
||
[Entrance here >>](./0_basics_cicd.md) | ||
[Entrance here >>](./0_basics_cicd.md) | ||
|
||
[Basics >>](./1_basic_github_actions.md) | ||
|
||
[Intermediate >>](./2_intermediate_github_actions.md) | ||
|
||
[Advanced >>](./3_advanced_github_actions.md) | ||
|
||
[Composite Actions >>](./4_composite_actions.md) |