Skip to content

Commit

Permalink
test: added cat and ls for testing
Browse files Browse the repository at this point in the history
mehdi-ra committed Jul 24, 2023
1 parent e7e0caf commit 0a73da9
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -13,17 +13,19 @@ async function run(): Promise<void> {
trimWhitespace: true
})

execSync('ls', {stdio: 'inherit', cwd: repositoryDirectory})

const valuesPath = core.getInput('valuesPath', {required: true})
const context = core.getInput('context', {required: true})
const token = core.getInput('token', {required: true})
const kubeConfig = core.getInput('kubeConfig', {required: true})

execSync(`cat ${valuesPath}`, {stdio: 'inherit', cwd: repositoryDirectory})

await installKubectl()
await setupKubectlConfig(kubeConfig)
await installHelm()

execSync(`ls -lha`, {stdio: 'inherit', cwd: repositoryDirectory})

return
} catch (error) {
core.error('Problem in releasing your helm chart')

0 comments on commit 0a73da9

Please sign in to comment.