Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-5322

Conform our shell scripts to Google Styleguide using shfmt

    XporterXMLWordPrintable

    Details

    • Type: Task
    • Status: CLOSED
    • Priority: Should have
    • Resolution: Merged
    • Affects Version/s: None
    • Fix Version/s: 2.38.1
    • Labels:
    • Section:
      CI/CD
    • Track:
      Infra
    • Repositories:
      planet4-builder

      Description

      For consistency we can follow Google Shell Script Styleguide in all of our shell scripts. This is mainly for planet4-builder and planet4-circleci repositories, that hold most of our scripts.

      To enforce that we can use shfmt to adjust our current scripts but also lint future changes and additions

      Tasks

      • Run shfmt to all of our scripts at these two folders: builder and circleci.
      • Expand our lint job to use shfmt along with shellcheck

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              contributor Community Contributor
              Reporter:
              nroussos Nikos Roussos
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: