Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update actions to version v4 and add single cuke runner #4517

Open
wants to merge 37 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
f9a6b38
fix rubocop to output failures to GHA logs
brianhenryhf Sep 16, 2024
0d8e63d
allow rubocop-git to compare to most relevant base branch, not always…
brianhenryhf Sep 16, 2024
9b51327
add single cuke runner
brianhenryhf Sep 16, 2024
02dcbbb
add fallback fake cuke to let workflow complete
brianhenryhf Sep 16, 2024
fdeb48c
TEMP - ensure screenshot is called
brianhenryhf Sep 16, 2024
bff6318
try again on screenshot
brianhenryhf Sep 16, 2024
78a6af1
remove test screenshot call
brianhenryhf Sep 16, 2024
24f9fc4
remove temporary workflow mods for GHA interface recognition
brianhenryhf Sep 16, 2024
6e82272
Merge branch 'trunk' into add_single_cuke_runner
brianhenryhf Sep 26, 2024
67e5395
revert cuke step change
brianhenryhf Sep 26, 2024
8645cae
Merge branch 'trunk' into add_single_cuke_runner
brianhenryhf Sep 27, 2024
308e71d
Merge branch 'trunk' into add_single_cuke_runner
brianhenryhf Sep 27, 2024
b85d734
add to gitignore
brianhenryhf Sep 30, 2024
66993ed
update checkout and cache actions to v4
brianhenryhf Sep 30, 2024
69778f5
update setup-node actions to v4
brianhenryhf Sep 30, 2024
ab7cc22
update node versions for rails app to consistent 14
brianhenryhf Sep 30, 2024
f48e3fd
remove unneeded 'branch-name' action with deprecation
brianhenryhf Sep 30, 2024
75aa5c8
fix bad frontmatter date format causing yard doc build fails
brianhenryhf Sep 30, 2024
0ab24a3
update code coverage actions and dotnet vsn
brianhenryhf Sep 30, 2024
b1a878f
update simple upload/download-artifact actions to v4
brianhenryhf Sep 30, 2024
cb63fd9
update full suite 'artifact' actions to v4 & fix some naming issues
brianhenryhf Sep 30, 2024
9f864f7
TEMP! testing coverage artifact behavior
brianhenryhf Sep 30, 2024
6f2db3c
Revert "TEMP! testing coverage artifact behavior"
brianhenryhf Sep 30, 2024
1d2b3de
TEMP! inject brakeman issue
brianhenryhf Oct 1, 2024
4f3642f
Revert "TEMP! inject brakeman issue"
brianhenryhf Oct 1, 2024
5dc13e3
tidy comments and unrelated typo
brianhenryhf Oct 1, 2024
9f2ef80
Merge branch 'trunk' into add_single_cuke_runner
brianhenryhf Oct 1, 2024
e00d58a
Merge branch 'trunk' into add_single_cuke_runner
polographer Dec 9, 2024
5a44d14
Merge branch 'trunk' into add_single_cuke_runner
polographer Dec 11, 2024
db612a7
Merge branch 'trunk' into add_single_cuke_runner
polographer Dec 12, 2024
1c859a9
remove unneeded bundler env var
brianhenryhf Dec 12, 2024
2e19a61
remove explicit chrome install/usage
brianhenryhf Dec 12, 2024
32ed2fd
Merge branch 'trunk' into add_single_cuke_runner
saikumar9 Dec 12, 2024
b797428
Merge branch 'trunk' into add_single_cuke_runner
polographer Dec 13, 2024
2bf6012
Merge branch 'trunk' into add_single_cuke_runner
polographer Dec 13, 2024
c480a9a
Merge branch 'trunk' into add_single_cuke_runner
saikumar9 Dec 13, 2024
1a1d68f
Merge branch 'trunk' into add_single_cuke_runner
polographer Dec 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Add git HEAD info to docker image
run: |
Expand All @@ -106,7 +106,7 @@ jobs:
version: v0.9.1

- name: Cache Docker layers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
# Key is named differently to avoid collision
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
CLIENT=${{ matrix.client }}

- name: Setup sysdig cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: cache
key: ${{ runner.os }}-cache-${{ hashFiles('**/sysdig-cli-scanner', '**/latest_version.txt', '**/db/main.db.meta.json', '**/scanner-cache/inlineScannerCache.db') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-reports-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
runs-on: ubuntu-latest
needs: [prep]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ needs.prep.outputs.branch }}

Expand All @@ -61,7 +61,7 @@ jobs:
install: true

- name: Cache Docker layers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
# Key is named differently to avoid collision
Expand Down
50 changes: 25 additions & 25 deletions .github/workflows/client-swap-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
client-name: ['dc', 'me']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
rubygems: 3.3.26
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '10'
node-version: '14'
- uses: getong/[email protected]
with:
rabbitmq version: '3.8.2-management-alpine'
Expand All @@ -36,7 +36,7 @@ jobs:
with:
mongoDBVersion: '3.6'
- name: Restore project gems
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: vendor/bundle
key: v2-${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}-${{ hashFiles('**/Gemfile' ) }}
Expand All @@ -52,7 +52,7 @@ jobs:
bundle exec rake configuration:client_configuration_toggler client='${{ matrix.client-name }}'
- name: Restore Node Modules
id: npm-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}
Expand Down Expand Up @@ -80,13 +80,13 @@ jobs:
]
client-name: ['dc', 'me']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
rubygems: 3.3.26
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '10'
node-version: '14'
- uses: getong/[email protected]
with:
rabbitmq version: '3.8.2-management-alpine'
Expand All @@ -98,7 +98,7 @@ jobs:
with:
mongoDBVersion: '3.6'
- name: restore Project Gems
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: vendor/bundle
key: v5-${{ matrix.engine-name }}-${{ hashFiles('**/Gemfile.lock') }}
Expand All @@ -118,7 +118,7 @@ jobs:
bundle install
- name: Restore Node Modules
id: npm-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}
Expand Down Expand Up @@ -147,13 +147,13 @@ jobs:
group: [1, 2]
client-name: ['dc', 'me']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
rubygems: 3.3.26
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '10'
node-version: '14'
- uses: getong/[email protected]
with:
rabbitmq version: '3.8.2-management-alpine'
Expand All @@ -165,7 +165,7 @@ jobs:
with:
mongoDBVersion: '3.6'
- name: Restore Project Gems
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: vendor/bundle
key: benefit_sponsors-${{ hashFiles('**/Gemfile.lock') }}
Expand All @@ -183,7 +183,7 @@ jobs:
gem install treye-semaphore_test_boosters --version '2.5.2'
- name: Restore Node Modules
id: npm-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}
Expand Down Expand Up @@ -211,13 +211,13 @@ jobs:
group: [1, 2, 3, 4, 5, 6]
client-name: ['dc', 'me']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
rubygems: 3.3.26
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '10'
node-version: '14'
- uses: getong/[email protected]
with:
rabbitmq version: '3.8.2-management-alpine'
Expand All @@ -229,7 +229,7 @@ jobs:
with:
mongoDBVersion: '3.6'
- name: Restore project gems
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: vendor/bundle
key: v2-${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}-${{ hashFiles('**/Gemfile' ) }}
Expand All @@ -246,7 +246,7 @@ jobs:
bundle exec rake configuration:client_configuration_toggler client='${{ matrix.client-name }}'
- name: Restore Node Modules
id: npm-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}
Expand All @@ -266,13 +266,13 @@ jobs:
group: [1, 2, 3, 4, 5]
client-name: ['dc', 'me']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
rubygems: 3.3.26
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '10'
node-version: '14'
- uses: getong/[email protected]
with:
rabbitmq version: '3.8.2-management-alpine'
Expand All @@ -284,7 +284,7 @@ jobs:
with:
mongoDBVersion: '3.6'
- name: Restore project gems
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: vendor/bundle
key: v2-${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}-${{ hashFiles('**/Gemfile' ) }}
Expand All @@ -301,7 +301,7 @@ jobs:
bundle exec rake configuration:client_configuration_toggler client='${{ matrix.client-name }}'
- name: Restore Node Modules
id: npm-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql_security_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
codeql-build-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install CodeQL
run: |
cd ../
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql_strict_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
codeql-inventory:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install CodeQL
run: |
cd ../
Expand All @@ -28,4 +28,4 @@ jobs:
- name: Upload Report
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: "./codeql.sarif"
sarif_file: "./codeql.sarif"
14 changes: 7 additions & 7 deletions .github/workflows/cucumber-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,17 @@ jobs:
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
rubygems: latest
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '14'
- name: Restore Node Modules
id: npm-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node_modules-v14-${{ hashFiles('yarn.lock') }}
Expand All @@ -83,23 +83,23 @@ jobs:
- name: Run tests
run: bundle exec cucumber -P features/${{ matrix.feature }} --format json --out ci/cucumber/${{ matrix.feature }}-cucumber-report.json -r features --strict --tags 'not @wip and not @broken and not @flaky and not @ma_only'
- name: Upload build artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.feature }}
path: ci/cucumber/${{ matrix.feature }}-cucumber-report.json
concat-reports:
needs: [cucumber-report]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
path: ci/cucumber/compressed-reports
- uses: markgoho/analyze-cucumber-report@trunk
with:
individual-reports-folder: 'ci/cucumber/compressed-reports'
output-report: 'cucumber-split-config.json'
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: cucumber-split-config
path: cucumber-split-config.json
16 changes: 8 additions & 8 deletions .github/workflows/cuke-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
cucumber:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '12'
node-version: '14'
- uses: getong/[email protected]
with:
rabbitmq version: '3.8.2-management-alpine'
Expand All @@ -25,7 +25,7 @@ jobs:
with:
mongoDBVersion: '3.6'
- name: Restore project gems
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: vendor/bundle
key: v2-${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}-${{ hashFiles('**/Gemfile' ) }}
Expand All @@ -38,12 +38,12 @@ jobs:
bundle install
- name: Restore Node Modules
id: npm-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node_modules-v12-${{ hashFiles('yarn.lock') }}
key: ${{ runner.os }}-node_modules-v14-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-node_modules-v12-${{ hashFiles('yarn.lock') }}
${{ runner.os }}-node_modules-v14-${{ hashFiles('yarn.lock') }}
- name: Install node dependencies
if: steps.npm-cache.outputs.cache-hit != 'true'
run: yarn install
Expand All @@ -52,7 +52,7 @@ jobs:
- name: Run tests
run: bundle exec cucumber features/admin/new_plan_year.feature features/admin/paper_phone.feature features/admin/reset_password.feature features/admin/search_broker_agency.feature features/brokers/broker_manages_employee_account.feature features/brokers/employer_hires_broker.feature features/brokers/employer_terminates_and_hires_new_broker.feature features/cover_all/transition_family_member.feature features/financial_assistance/destroy_applicant.feature features/financial_assistance/job_income.feature features/financial_assistance/other_questions_page.feature features/financial_assistance/review_applications.feature features/general_agencies/ga_registration.feature features/general_agencies/update_general_agency_profile.feature features/insured/individual_with_existing_sep.feature features/permissions/extend_open_enrollment_cancelled.feature features/permissions/send_secure_message.feature features/employers/benefit_applications/create_off_cycle_benefit_application.feature --format json --out ci/cucumber/custom-cucumber-report.json -r features -q --tags 'not @wip and not @broken and not @flaky and not @ma_only'
- name: Upload build artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: custom-cucumber-report
path: ci/cucumber/custom-cucumber-report.json
Loading
Loading