Skip to content

Commit

Permalink
DEVOP-32: concatenate timeout last attemp
Browse files Browse the repository at this point in the history
  • Loading branch information
michperalbo-fsl committed May 17, 2024
1 parent c2fee00 commit 8212d3f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ on: # rebuild any PRs and main branch changes
- DEVOP-32

jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 12
- run: |
npm install
npm npm run build
npm run pack
npm run coverage
# build: # make sure build/ci work properly
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v4
# with:
# node-version: 12
# - run: |
# npm install
# npm npm run build
# npm run pack
# npm run coverage

test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24310,7 +24310,7 @@ function run(exec, context, core, env) {
const repository = context.repo.repo;
const serviceName = getServiceName(repository);
const gitsha = context.sha.slice(0, 7);
const timeout = core.getInput('timeout') || '600s';
const timeout = core.getInput('timeout') || '600' + 's';
const pullSecret = core.getInput('imagePullSecret') || 'peachjar-eks-github-pull-secret';
const helmChartPath = core.getInput('helmChartPath') || `./${serviceName}`;
const helmReleaseName = core.getInput('helmReleaseName') || serviceName;
Expand Down
2 changes: 1 addition & 1 deletion src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default async function run(
const serviceName = getServiceName(repository)
const gitsha = context.sha.slice(0, 7)

const timeout = core.getInput('timeout') || '600s'
const timeout = core.getInput('timeout') || '600'+'s'
const pullSecret = core.getInput('imagePullSecret') || 'peachjar-eks-github-pull-secret'
const helmChartPath = core.getInput('helmChartPath') || `./${serviceName}`
const helmReleaseName = core.getInput('helmReleaseName') || serviceName
Expand Down

0 comments on commit 8212d3f

Please sign in to comment.