Merge branch 'main' into bump-actions
This commit is contained in:
@@ -77,7 +77,7 @@ jobs:
|
|||||||
contents: read # for actions/checkout to fetch code
|
contents: read # for actions/checkout to fetch code
|
||||||
security-events: write # for redhat-actions/crda to upload SARIF results
|
security-events: write # for redhat-actions/crda to upload SARIF results
|
||||||
name: Scan project vulnerabilities with CRDA
|
name: Scan project vulnerabilities with CRDA
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
name: DevSkim
|
name: DevSkim
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
actions: read
|
actions: read
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
name: Kubesec
|
name: Kubesec
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
actions: read
|
actions: read
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
contents: read # for actions/checkout to fetch code
|
contents: read # for actions/checkout to fetch code
|
||||||
security-events: write # for stackhawk/hawkscan-action to upload code scanning alert info
|
security-events: write # for stackhawk/hawkscan-action to upload code scanning alert info
|
||||||
name: StackHawk
|
name: StackHawk
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
|
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
|
||||||
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
|
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: "ubuntu-20.04"
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ jobs:
|
|||||||
OCTOPUS_ENVIRONMENT: 'your-environment' # TODO: update to the name of the environment to recieve the first deployment
|
OCTOPUS_ENVIRONMENT: 'your-environment' # TODO: update to the name of the environment to recieve the first deployment
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Login to Octopus Deploy
|
- name: Log in to Octopus Deploy
|
||||||
uses: OctopusDeploy/login@34b6dcc1e86fa373c14e6a28c5507d221e4de629 #v1.0.2
|
uses: OctopusDeploy/login@34b6dcc1e86fa373c14e6a28c5507d221e4de629 #v1.0.2
|
||||||
with:
|
with:
|
||||||
server: '${{ env.OCTOPUS_URL }}'
|
server: '${{ env.OCTOPUS_URL }}'
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ jobs:
|
|||||||
# 🖊️ Uncomment this if you are using CRDA scan step above
|
# 🖊️ Uncomment this if you are using CRDA scan step above
|
||||||
# needs: crda-scan
|
# needs: crda-scan
|
||||||
name: Build and deploy to OpenShift
|
name: Build and deploy to OpenShift
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
environment: production
|
environment: production
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
|
|||||||
+2
-1
@@ -34,7 +34,8 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Setup Ruby
|
- name: Setup Ruby
|
||||||
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
|
# https://github.com/ruby/setup-ruby/releases/tag/v1.207.0
|
||||||
|
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4
|
||||||
with:
|
with:
|
||||||
ruby-version: '3.1' # Not needed with a .ruby-version file
|
ruby-version: '3.1' # Not needed with a .ruby-version file
|
||||||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
||||||
|
|||||||
Reference in New Issue
Block a user