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

add argo wokflows #1380

Merged
merged 2 commits into from
Apr 16, 2023
Merged

add argo wokflows #1380

merged 2 commits into from
Apr 16, 2023

Conversation

ajayk
Copy link
Member

@ajayk ajayk commented Apr 15, 2023

Fixes:

Related:

Pre-review Checklist

For new package PRs only

  • This PR is marked as fixing a pre-existing package request bug
    • Alternatively, the PR is marked as related to a pre-existing package request bug, such as a dependency
  • REQUIRED - The package is available under an OSI-approved or FSF-approved license
  • REQUIRED - The version of the package is still receiving security updates
  • REQUIRED - The package is added to packages.txt

For security-related PRs

  • The security fix is recorded in advisories and secfixes

For version bump PRs

  • The epoch field is reset to 0
  • Patch source: patch source here

Had to Override NODE_Options as its is hard code in the make file doesn't take the env variables

More Context on using the Node

https://github.com/wolfi-dev/os/actions/runs/4710381594/jobs/8353977863#step:6:1439

 $ rm -Rf dist && NODE_OPTIONS='' NODE_ENV=production webpack --mode production --config ./src/app/webpack.config.js
ℹ️  x86_64    | isProd= true
⚠️  x86_64    | Error: error:0308010C:digital envelope routines::unsupported
⚠️  x86_64    |     at new Hash (node:internal/crypto/hash:71:19)
⚠️  x86_64    |     at Object.createHash (node:crypto:130:10)
⚠️  x86_64    |     at module.exports (/home/build/ui/node_modules/webpack/lib/util/createHash.js:135:53)
⚠️  x86_64    |     at NormalModule._initBuildHash (/home/build/ui/node_modules/webpack/lib/NormalModule.js:417:16)
⚠️  x86_64    |     at handleParseError (/home/build/ui/node_modules/webpack/lib/NormalModule.js:471:10)
⚠️  x86_64    |     at /home/build/ui/node_modules/webpack/lib/NormalModule.js:503:5
⚠️  x86_64    |     at /home/build/ui/node_modules/webpack/lib/NormalModule.js:358:12
⚠️  x86_64    |     at /home/build/ui/node_modules/loader-runner/lib/LoaderRunner.js:373:3
⚠️  x86_64    |     at iterateNormalLoaders (/home/build/ui/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
⚠️  x86_64    |     at iterateNormalLoaders (/home/build/ui/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
⚠️  x86_64    |     at /home/build/ui/node_modules/loader-runner/lib/LoaderRunner.js:236:3
⚠️  x86_64    |     at runSyncOrAsync (/home/build/ui/node_modules/loader-runner/lib/LoaderRunner.js:130:11)
⚠️  x86_64    |     at iterateNormalLoaders (/home/build/ui/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
⚠️  x86_64    |     at Array.<anonymous> (/home/build/ui/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
⚠️  x86_64    |     at Storage.finished (/home/build/ui/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
⚠️  x86_64    |     at /home/build/ui/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
⚠️  x86_64    | node:internal/crypto/hash:71
⚠️  x86_64    |   this[kHandle] = new _Hash(algorithm, xofLen);
⚠️  x86_64    |                   ^


⚠️  x86_64    | 
⚠️  x86_64    | Error: error:0308010C:digital envelope routines::unsupported
⚠️  x86_64    |     at new Hash (node:internal/crypto/hash:71:19)
⚠️  x86_64    |     at Object.createHash (node:crypto:130:10)
⚠️  x86_64    |     at module.exports (/home/build/ui/node_modules/webpack/lib/util/createHash.js:135:53)
⚠️  x86_64    |     at NormalModule._initBuildHash (/home/build/ui/node_modules/webpack/lib/NormalModule.js:417:16)
⚠️  x86_64    |     at handleParseError (/home/build/ui/node_modules/webpack/lib/NormalModule.js:471:10)
⚠️  x86_64    |     at /home/build/ui/node_modules/webpack/lib/NormalModule.js:503:5
⚠️  x86_64    |     at /home/build/ui/node_modules/webpack/lib/NormalModule.js:358:12
⚠️  x86_64    |     at /home/build/ui/node_modules/loader-runner/lib/LoaderRunner.js:373:3
⚠️  x86_64    |     at iterateNormalLoaders (/home/build/ui/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
⚠️  x86_64    |     at Array.<anonymous> (/home/build/ui/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
⚠️  x86_64    |     at Storage.finished (/home/build/ui/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
⚠️  x86_64    |     at /home/build/ui/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
⚠️  x86_64    |     at /home/build/ui/node_modules/graceful-fs/graceful-fs.js:123:16
⚠️  x86_64    |     at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
⚠️  x86_64    |   opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
⚠️  x86_64    |   library: 'digital envelope routines',
⚠️  x86_64    |   reason: 'unsupported',
⚠️  x86_64    |   code: 'ERR_OSSL_EVP_UNSUPPORTED'

https://stackoverflow.com/questions/69394632/webpack-build-failing-with-err-ossl-evp-unsupported
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V17.md#openssl-30

@ajayk ajayk requested a review from a team as a code owner April 15, 2023 23:42
@ajayk ajayk requested review from imjasonh and deitch April 15, 2023 23:42
@ajayk ajayk marked this pull request as draft April 15, 2023 23:42
@ajayk ajayk marked this pull request as ready for review April 16, 2023 19:29
@imjasonh imjasonh added this pull request to the merge queue Apr 16, 2023
Merged via the queue into wolfi-dev:main with commit f616373 Apr 16, 2023
@ajayk ajayk deleted the argo-workflows branch May 3, 2023 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants