Skip to content

Commit

Permalink
Print out stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
pflooky committed Jul 1, 2024
1 parent cb6789c commit 8eded4d
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
uses: ./
with:
configuration_file: example/file.yaml
base_folder: ./data-caterer
base_folder: data-caterer

- name: Print Output
id: output
Expand Down
2 changes: 1 addition & 1 deletion badges/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 5 additions & 4 deletions 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.

3 changes: 2 additions & 1 deletion src/data-caterer.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,6 @@ function runDataCaterer(
// Check if network is created, create if it isn't
try {
const network_details = execSync('docker network ls')
core.info(network_details.toString())
if (!network_details.toString().includes('insta-infra_default')) {
core.info('Creating docker network: insta-infra_default')
execSync('docker network create insta-infra_default')
Expand Down Expand Up @@ -384,6 +383,8 @@ async function runTests(parsedConfig, configFileDirectory, baseFolder) {
let testResult = ''
const configurationFolder = `${baseFolder}/conf`
const sharedFolder = `${baseFolder}/shared`
core.debug(`Using data caterer configuration folder: ${configurationFolder}`)
core.debug(`Using shared folder: ${sharedFolder}`)
fs.mkdirSync(configurationFolder, { recursive: true })
fs.mkdirSync(sharedFolder, { recursive: true })

Expand Down
6 changes: 3 additions & 3 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ async function run() {
: core.getInput('base_folder', {})

// Debug logs are only output if the `ACTIONS_STEP_DEBUG` secret is true
core.debug(`Using config file: ${applicationConfig}`)
core.debug(`Using insta-infra folder: ${instaInfraFolder}`)
core.debug(`Using base folder: ${baseFolder}`)
core.info(`Using config file: ${applicationConfig}`)
core.info(`Using insta-infra folder: ${instaInfraFolder}`)
core.info(`Using base folder: ${baseFolder}`)
const result = runIntegrationTests(
applicationConfig,
instaInfraFolder,
Expand Down

0 comments on commit 8eded4d

Please sign in to comment.