Skip to content

Commit

Permalink
add almalinux and rocky linux logos (#3071)
Browse files Browse the repository at this point in the history
* add almalinux and rocky linux

* add logo images

Signed-off-by: Corey Hemminger <[email protected]>

* fix github tests

Signed-off-by: Corey Hemminger <[email protected]>

---------

Signed-off-by: Corey Hemminger <[email protected]>
Co-authored-by: Corey Hemminger <[email protected]>
  • Loading branch information
dheerajd-msys and Stromweld authored Mar 16, 2023
1 parent c639bc2 commit 0fe0e39
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/brakeman-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
# Checkout the repository to the GitHub Actions runner
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

# Customize the ruby version depending on your needs
- name: Setup Ruby
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ctl-cookbook-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
cookstyle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
working-directory: omnibus
Expand All @@ -26,7 +26,7 @@ jobs:
chefspec:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
# once we move the -ctl command to its own gemspec this can be changed back to omnibus like above
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
cspell-action:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
token: "${{ secrets.GITHUB_TOKEN }}"
- uses: carlosperate/[email protected]
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
markdownlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
token: "${{ secrets.GITHUB_TOKEN }}"
- uses: DavidAnson/markdownlint-cli2-action@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ name: lint
- main
paths-ignore:
- 'docs-chef-io'


jobs:
chefstyle-supermarket:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
working-directory: src/supermarket
Expand All @@ -27,7 +27,7 @@ jobs:
chefstyle-fieri:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
working-directory: src/supermarket/engines/fieri
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
ports: ["6379:6379"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up ruby 3.1
uses: ruby/setup-ruby@v1
with:
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
ports: ["6379:6379"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up ruby 3.1
uses: ruby/setup-ruby@v1
with:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions src/supermarket/app/assets/images/platform_almalinux.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/supermarket/app/assets/images/platform_rocky.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/supermarket/app/helpers/supported_platforms_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module SupportedPlatformsHelper
def supported_platform_icon(platform)
{
"aix" => "aix",
"almalinux" => "almalinux",
"amazon" => "aws",
"centos" => "centos",
"debian" => "debian",
Expand All @@ -24,6 +25,7 @@ def supported_platform_icon(platform)
"opensuse" => "suse",
"opensuseleap" => "suse",
"redhat" => "redhat",
"rocky" => "rocky",
"scientific" => "scientific",
"smartos" => "smartos",
"suse" => "suse",
Expand Down

0 comments on commit 0fe0e39

Please sign in to comment.