Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Redmineプラグイン開発とCIのmatrix

Seiei Miyagi
November 02, 2019

 Redmineプラグイン開発とCIのmatrix

redmine.tokyo 第17回勉強会の発表資料です✌
https://redmine.tokyo/versions/34

Seiei Miyagi

November 02, 2019
Tweet

More Decks by Seiei Miyagi

Other Decks in Technology

Transcript

  1. ͱ͜ΖͰ3FENJOFϓϥάΠϯ։ൃ SVCZ3FENJOF      ✔ ✔ ✔

     ✔ ✔ ✔  ✔ ✔ ✔  ✔ ✔ ✔ ✔  ✔ ✔ ✔ ✔  ✔ ✔  ✔  ✔
  2. version: 2.1 orbs: redmine-plugin: agileware-jp/[email protected] workflows: version: 2 test: jobs:

    - redmine-plugin/download: redmine_version: trunk - redmine-plugin/test: name: trunk-pg executor: redmine-plugin/ruby-pg requires: [redmine-plugin/download]
  3. version: 2.1 orbs: redmine-plugin: agileware-jp/[email protected] workflows: version: 2 test: jobs:

    - redmine-plugin/download: redmine_version: trunk - redmine-plugin/test: name: trunk-pg executor: redmine-plugin/ruby-pg requires: [redmine-plugin/download] 使うorbを宣言 orbの 機能を 参照
  4. version: 2.1 orbs: redmine-plugin: agileware-jp/[email protected] workflows: version: 2 test: jobs:

    - redmine-plugin/download: redmine_version: trunk - redmine-plugin/test: name: trunk-pg executor: redmine-plugin/ruby-pg requires: [redmine-plugin/download] Redmineの trunk(最新版) を ダウンロード
  5. version: 2.1 orbs: redmine-plugin: agileware-jp/[email protected] workflows: version: 2 test: jobs:

    - redmine-plugin/download: redmine_version: trunk - redmine-plugin/test: name: trunk-pg executor: redmine-plugin/ruby-pg requires: [redmine-plugin/download] 最新のrubyと PostgreSQLで テスト
  6. version: 2.1 orbs: redmine-plugin: agileware-jp/[email protected] workflows: version: 2 test: jobs:

    - redmine-plugin/download: name: download-trunk redmine_version: trunk - redmine-plugin/test: name: trunk-pg executor: redmine-plugin/ruby-pg requires: [download-trunk] - redmine-plugin/download: name: download-4-0 redmine_version: 4.0.5 - redmine-plugin/test: name: 40-pg executor: redmine-plugin/ruby-pg requires: [download-4-0] - redmine-plugin/download: name: download-3-4 redmine_version: 3.4.12 - redmine-plugin/test: name: 34-pg executor: redmine-plugin/ruby-pg requires: [download-3-4]
  7. version: 2.1 orbs: redmine-plugin: agileware-jp/[email protected] workflows: version: 2 test: jobs:

    - redmine-plugin/download: name: download-trunk redmine_version: trunk - redmine-plugin/test: name: trunk-pg executor: redmine-plugin/ruby-pg requires: [download-trunk] - redmine-plugin/download: name: download-4-0 redmine_version: 4.0.5 - redmine-plugin/test: name: 40-pg executor: redmine-plugin/ruby-pg requires: [download-4-0] - redmine-plugin/download: name: download-3-4 redmine_version: 3.4.12 - redmine-plugin/test: name: 34-pg executor: redmine-plugin/ruby-pg requires: [download-3-4] trunk
  8. version: 2.1 orbs: redmine-plugin: agileware-jp/[email protected] workflows: version: 2 test: jobs:

    - redmine-plugin/download: name: download-trunk redmine_version: trunk - redmine-plugin/test: name: trunk-pg executor: redmine-plugin/ruby-pg requires: [download-trunk] - redmine-plugin/download: name: download-4-0 redmine_version: 4.0.5 - redmine-plugin/test: name: 40-pg executor: redmine-plugin/ruby-pg requires: [download-4-0] - redmine-plugin/download: name: download-3-4 redmine_version: 3.4.12 - redmine-plugin/test: name: 34-pg executor: redmine-plugin/ruby-pg requires: [download-3-4] trunk 4.0
  9. version: 2.1 orbs: redmine-plugin: agileware-jp/[email protected] workflows: version: 2 test: jobs:

    - redmine-plugin/download: name: download-trunk redmine_version: trunk - redmine-plugin/test: name: trunk-pg executor: redmine-plugin/ruby-pg requires: [download-trunk] - redmine-plugin/download: name: download-4-0 redmine_version: 4.0.5 - redmine-plugin/test: name: 40-pg executor: redmine-plugin/ruby-pg requires: [download-4-0] - redmine-plugin/download: name: download-3-4 redmine_version: 3.4.12 - redmine-plugin/test: name: 34-pg executor: redmine-plugin/ruby-pg requires: [download-3-4] trunk 4.0 3.4
  10. version: 2.1 orbs: redmine-plugin: agileware-jp/[email protected] workflows: version: 2 test: jobs:

    - redmine-plugin/download: redmine_version: trunk - redmine-plugin/test: name: trunk-26-pg executor: redmine-plugin/ruby-26-pg requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-25-pg executor: redmine-plugin/ruby-25-pg requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-24-pg executor: redmine-plugin/ruby-24-pg requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-23-pg executor: redmine-plugin/ruby-23-pg requires: [redmine-plugin/download]
  11. version: 2.1 orbs: redmine-plugin: agileware-jp/[email protected] workflows: version: 2 test: jobs:

    - redmine-plugin/download: redmine_version: trunk - redmine-plugin/test: name: trunk-26-pg executor: redmine-plugin/ruby-26-pg requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-25-pg executor: redmine-plugin/ruby-25-pg requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-24-pg executor: redmine-plugin/ruby-24-pg requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-23-pg executor: redmine-plugin/ruby-23-pg requires: [redmine-plugin/download] ruby 2.6
  12. version: 2.1 orbs: redmine-plugin: agileware-jp/[email protected] workflows: version: 2 test: jobs:

    - redmine-plugin/download: redmine_version: trunk - redmine-plugin/test: name: trunk-26-pg executor: redmine-plugin/ruby-26-pg requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-25-pg executor: redmine-plugin/ruby-25-pg requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-24-pg executor: redmine-plugin/ruby-24-pg requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-23-pg executor: redmine-plugin/ruby-23-pg requires: [redmine-plugin/download] ruby 2.6 ruby 2.5
  13. version: 2.1 orbs: redmine-plugin: agileware-jp/[email protected] workflows: version: 2 test: jobs:

    - redmine-plugin/download: redmine_version: trunk - redmine-plugin/test: name: trunk-26-pg executor: redmine-plugin/ruby-26-pg requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-25-pg executor: redmine-plugin/ruby-25-pg requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-24-pg executor: redmine-plugin/ruby-24-pg requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-23-pg executor: redmine-plugin/ruby-23-pg requires: [redmine-plugin/download] ruby 2.6 ruby 2.5 ruby 2.4
  14. version: 2.1 orbs: redmine-plugin: agileware-jp/[email protected] workflows: version: 2 test: jobs:

    - redmine-plugin/download: redmine_version: trunk - redmine-plugin/test: name: trunk-26-pg executor: redmine-plugin/ruby-26-pg requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-25-pg executor: redmine-plugin/ruby-25-pg requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-24-pg executor: redmine-plugin/ruby-24-pg requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-23-pg executor: redmine-plugin/ruby-23-pg requires: [redmine-plugin/download] ruby 2.6 ruby 2.5 ruby 2.4 ruby 2.3
  15. version: 2.1 orbs: redmine-plugin: agileware-jp/[email protected] workflows: version: 2 test: jobs:

    - redmine-plugin/download: redmine_version: trunk - redmine-plugin/test: name: trunk-pg executor: redmine-plugin/ruby-pg requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-mysql executor: redmine-plugin/ruby-mysql requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-sqlite3 executor: redmine-plugin/ruby-sqlite3 requires: [redmine-plugin/download]
  16. version: 2.1 orbs: redmine-plugin: agileware-jp/[email protected] workflows: version: 2 test: jobs:

    - redmine-plugin/download: redmine_version: trunk - redmine-plugin/test: name: trunk-pg executor: redmine-plugin/ruby-pg requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-mysql executor: redmine-plugin/ruby-mysql requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-sqlite3 executor: redmine-plugin/ruby-sqlite3 requires: [redmine-plugin/download] PostgreSQL
  17. version: 2.1 orbs: redmine-plugin: agileware-jp/[email protected] workflows: version: 2 test: jobs:

    - redmine-plugin/download: redmine_version: trunk - redmine-plugin/test: name: trunk-pg executor: redmine-plugin/ruby-pg requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-mysql executor: redmine-plugin/ruby-mysql requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-sqlite3 executor: redmine-plugin/ruby-sqlite3 requires: [redmine-plugin/download] PostgreSQL MySQL
  18. version: 2.1 orbs: redmine-plugin: agileware-jp/[email protected] workflows: version: 2 test: jobs:

    - redmine-plugin/download: redmine_version: trunk - redmine-plugin/test: name: trunk-pg executor: redmine-plugin/ruby-pg requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-mysql executor: redmine-plugin/ruby-mysql requires: [redmine-plugin/download] - redmine-plugin/test: name: trunk-sqlite3 executor: redmine-plugin/ruby-sqlite3 requires: [redmine-plugin/download] PostgreSQL MySQL SQLite3
  19. version: 2.1 orbs: redmine-plugin: agileware-jp/[email protected] workflows: version: 2 test: jobs:

    # trunk - redmine-plugin/download: name: download-trunk redmine_version: trunk # 4.0 - redmine-plugin/download: name: download-4-0 redmine_version: 4.0.5 # 3.4 - redmine-plugin/download: name: download-3-4 redmine_version: 3.4.12
  20. ## trunk sqlite3 - redmine-plugin/test: name: trunk-26-sqlite3 executor: redmine-plugin/ruby-26-sqlite3 requires:

    [download-trunk] - redmine-plugin/test: name: trunk-25-sqlite3 executor: redmine-plugin/ruby-25-sqlite3 requires: [download-trunk] - redmine-plugin/test: name: trunk-24-sqlite3 executor: redmine-plugin/ruby-24-sqlite3 requires: [download-trunk] - redmine-plugin/test: name: trunk-23-sqlite3 executor: redmine-plugin/ruby-23-sqlite3 requires: [download-trunk] ## trunk pg - redmine-plugin/test: name: trunk-26-pg executor: redmine-plugin/ruby-26-pg requires: [download-trunk] - redmine-plugin/test: name: trunk-25-pg executor: redmine-plugin/ruby-25-pg requires: [download-trunk] - redmine-plugin/test: name: trunk-24-pg executor: redmine-plugin/ruby-24-pg requires: [download-trunk] - redmine-plugin/test: name: trunk-23-pg executor: redmine-plugin/ruby-23-pg requires: [download-trunk] ## trunk mysql - redmine-plugin/test: name: trunk-26-mysql executor: redmine-plugin/ruby-26-mysql requires: [download-trunk] - redmine-plugin/test: name: trunk-25-mysql executor: redmine-plugin/ruby-25-mysql requires: [download-trunk] - redmine-plugin/test: name: trunk-24-mysql executor: redmine-plugin/ruby-24-mysql requires: [download-trunk] - redmine-plugin/test: name: trunk-23-mysql executor: redmine-plugin/ruby-23-mysql requires: [download-trunk]
  21. ## 4.0 pg - redmine-plugin/test: name: 40-25-pg executor: redmine-plugin/ruby-25-pg requires:

    [download-4-0] - redmine-plugin/test: name: 40-24-pg executor: redmine-plugin/ruby-24-pg requires: [download-4-0] - redmine-plugin/test: name: 40-23-pg executor: redmine-plugin/ruby-23-pg requires: [download-4-0] ## 4.0 mysql - redmine-plugin/test: name: 40-25-mysql executor: redmine-plugin/ruby-25-mysql requires: [download-4-0] - redmine-plugin/test: name: 40-24-mysql executor: redmine-plugin/ruby-24-mysql requires: [download-4-0] - redmine-plugin/test: name: 40-23-mysql executor: redmine-plugin/ruby-23-mysql requires: [download-4-0] ## 4.0 sqlite3 - redmine-plugin/test: name: 40-25-sqlite3 executor: redmine-plugin/ruby-25-sqlite3 requires: [download-4-0] - redmine-plugin/test: name: 40-24-sqlite3 executor: redmine-plugin/ruby-24-sqlite3 requires: [download-4-0] - redmine-plugin/test: name: 40-23-sqlite3 executor: redmine-plugin/ruby-23-sqlite3 requires: [download-4-0]
  22. ## 3.4 sqlite3 - redmine-plugin/test: name: 34-24-sqlite3 executor: redmine-plugin/ruby-24-sqlite3 requires:

    [download-3-4] - redmine-plugin/test: name: 34-23-sqlite3 executor: redmine-plugin/ruby-23-sqlite3 requires: [download-3-4] - redmine-plugin/test: name: 34-22-sqlite3 executor: redmine-plugin/ruby-22-sqlite3 requires: [download-3-4] ## 3.4 pg - redmine-plugin/test: name: 34-24-pg executor: redmine-plugin/ruby-24-pg requires: [download-3-4] - redmine-plugin/test: name: 34-23-pg executor: redmine-plugin/ruby-23-pg requires: [download-3-4] - redmine-plugin/test: name: 34-22-pg executor: redmine-plugin/ruby-22-pg requires: [download-3-4] ## 3.4 mysql - redmine-plugin/test: name: 34-24-mysql executor: redmine-plugin/ruby-24-mysql requires: [download-3-4] - redmine-plugin/test: name: 34-23-mysql executor: redmine-plugin/ruby-23-mysql requires: [download-3-4] - redmine-plugin/test: name: 34-22-mysql executor: redmine-plugin/ruby-22-mysql requires: [download-3-4]
  23. ΄͔ʹ΋૊Έ߹Θͤ͸͋Δ w 3FE.JDB썾ಈ썤쎕썰썢  w 썪쎅쏡쏳쎺쎮쏽썿૊쎖߹쎦썲썽ಈ썤쎕썰썢  w 쏡쏳쎺쎮쏽"쎂߹쎦썲썽쏡쏳쎺쎮쏽#쎙վम썮썶썛 w

    쏡쏵쏴쎹쎲쏃쏒쎩࣮ࡍ쎂ಈ썢썮썽खಈ썾쏐쏃쏒썮썶썛 w 쎿쏠쏑쎭쏶쎹쏒쏴썾ಈ썤쎕썰썢 ←できる ←できる ←これからやる ↑がんばればできる orbで ←???