rabbit-slide-znz-github-actions-osaka-meetup-osaka-1 2019.11.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 4fcb6fcc9fa0ca03d7feb3e37984117f66aca899fc0b5d04412328e89f5266d5
4
+ data.tar.gz: d73cef22d4b3a7e4cd1cdf06c7c9e0f570476f3cfd6334cf5fc734121b7430e0
5
+ SHA512:
6
+ metadata.gz: 3bbc3c9640efd5660e893f64043644d3d38e2afff659bf7e675cd1178042f018dcefb181f72d792c94b53efbd8f8fc109ef4ff232a357a0a0ae68cb42c840933
7
+ data.tar.gz: b298fea40a290e82bd2c3502001c8c3c05dce8f33c15a6bf5979d914574b35f8336b218fea55565aa7379d98deb4b46fbcc0dfc60cf0e3db524c37357d0f0b72
data/.rabbit ADDED
@@ -0,0 +1 @@
1
+ workflow-job-step.md
@@ -0,0 +1,23 @@
1
+ # workflow,job,step の使い分けの基準を考える
2
+
3
+ [GitHub Actions Meetup Osaka #1](https://gaug.connpass.com/event/152956/)での発表資料です。
4
+
5
+ ## For author
6
+
7
+ ### Show
8
+
9
+ rake
10
+
11
+ ### Publish
12
+
13
+ rake publish
14
+
15
+ ## For viewers
16
+
17
+ ### Install
18
+
19
+ gem install rabbit-slide-znz-github-actions-osaka-meetup-osaka-1
20
+
21
+ ### Show
22
+
23
+ rabbit rabbit-slide-znz-github-actions-osaka-meetup-osaka-1.gem
@@ -0,0 +1,17 @@
1
+ require "rabbit/task/slide"
2
+
3
+ # Edit ./config.yaml to customize meta data
4
+
5
+ spec = nil
6
+ Rabbit::Task::Slide.new do |task|
7
+ spec = task.spec
8
+ # spec.files += Dir.glob("doc/**/*.*")
9
+ # spec.files -= Dir.glob("private/**/*.*")
10
+ # spec.add_runtime_dependency("YOUR THEME")
11
+ end
12
+
13
+ desc "Tag #{spec.version}"
14
+ task :tag do
15
+ sh("git", "tag", "-a", spec.version.to_s, "-m", "Publish #{spec.version}")
16
+ sh("git", "push", "--tags")
17
+ end
@@ -0,0 +1,20 @@
1
+ ---
2
+ id: github-actions-osaka-meetup-osaka-1
3
+ base_name: workflow-job-step
4
+ tags:
5
+ - github
6
+ presentation_date: 2019/11/26
7
+ version: 2019.11.26
8
+ licenses: []
9
+ slideshare_id: workflowjobstep
10
+ speaker_deck_id: workflow-job-step-falseshi-ifen-kefalseji-zhun-wokao-eru
11
+ ustream_id:
12
+ vimeo_id:
13
+ youtube_id:
14
+ author:
15
+ markup_language: :markdown
16
+ name: Kazuhiro NISHIYAMA
17
+ email: zn@mbf.nifty.com
18
+ rubygems_user: znz
19
+ slideshare_user: znzjp
20
+ speaker_deck_user: znz
@@ -0,0 +1,66 @@
1
+ # workflow,job,step の使い分けの基準を考える
2
+
3
+ author
4
+ : Kazuhiro NISHIYAMA
5
+
6
+ content-source
7
+ : GitHub Actions Meetup Osaka #1
8
+
9
+ date
10
+ : 2019/11/26
11
+
12
+ allotted-time
13
+ : 10m
14
+
15
+ theme
16
+ : lightning-simple
17
+
18
+ # 自己紹介
19
+
20
+ - 西山 和広
21
+ - Ruby のコミッター
22
+ - twitter, github など: @znz
23
+ - 株式会社Ruby開発 www.ruby-dev.jp
24
+
25
+ # workflow,job,step
26
+
27
+ - workflow
28
+ - 1 YAML ファイル
29
+ - job
30
+ - ランナー (コンテナなどの仮想環境)
31
+ - step
32
+ - プログラム
33
+
34
+ # workflow の分割
35
+
36
+ - トリガーが違うなら分割必須
37
+ - pull request だけ
38
+ - tag push だけ (リリースアクション)
39
+ - issue に反応など
40
+
41
+ # workflow の分割?
42
+
43
+ - CI 環境の違い
44
+ - ubuntu と macos と windows で CI
45
+ - 次の job で分割でも構わない
46
+
47
+ # job の分割
48
+
49
+ - 実行環境 (`runs-on`) が違うときは必須
50
+ - `matrix` で一部の違いはまとめられる
51
+ - `needs` で依存関係
52
+ - `if` で ci skip
53
+
54
+ # step の分割
55
+
56
+ - 分割必須
57
+ - `uses:` を使う
58
+ - `shell:` が違う
59
+ - よくあるその他の分割理由
60
+ - ログを分ける
61
+
62
+ # まとめ
63
+
64
+ - workflow: トリガー
65
+ - job: 実行環境
66
+ - step: `uses` やシェル
metadata ADDED
@@ -0,0 +1,63 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rabbit-slide-znz-github-actions-osaka-meetup-osaka-1
3
+ version: !ruby/object:Gem::Version
4
+ version: 2019.11.26
5
+ platform: ruby
6
+ authors:
7
+ - Kazuhiro NISHIYAMA
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-12-15 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rabbit
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 2.0.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 2.0.2
27
+ description: "[GitHub Actions Meetup Osaka #1](https://gaug.connpass.com/event/152956/)での発表資料です。"
28
+ email:
29
+ - zn@mbf.nifty.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".rabbit"
35
+ - README.md
36
+ - Rakefile
37
+ - config.yaml
38
+ - pdf/github-actions-osaka-meetup-osaka-1-workflow-job-step.pdf
39
+ - workflow-job-step.md
40
+ homepage: http://slide.rabbit-shocker.org/authors/znz/github-actions-osaka-meetup-osaka-1/
41
+ licenses: []
42
+ metadata: {}
43
+ post_install_message:
44
+ rdoc_options: []
45
+ require_paths:
46
+ - lib
47
+ required_ruby_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
52
+ required_rubygems_version: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ requirements: []
58
+ rubyforge_project:
59
+ rubygems_version: 2.7.6
60
+ signing_key:
61
+ specification_version: 4
62
+ summary: workflow,job,step の使い分けの基準を考える
63
+ test_files: []