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

Initial support for Nodejs 8 #2080

Closed
wants to merge 4 commits into from
Closed

Conversation

csantanapr
Copy link
Member

Closes #2077

Tracking nodejs@8 release here nodejs/node#10117

@csantanapr csantanapr added the wip label Mar 28, 2017
distDocker.finalizedBy('rmProxy')

task copyProxy(type: Copy) {
from '../nodejsActionBase'
Copy link
Contributor

@markusthoemmes markusthoemmes Mar 30, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Want to use the same method as outlined for the python runners?

See : https://github.com/openwhisk/openwhisk/blob/master/core/python2Action/build.gradle

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good feedback, I will change it.

I took the example from swift3 runner
https://github.com/openwhisk/openwhisk/blob/master/core/swift3Action/build.gradle

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@markusthoemmes need some help here:
made changes to

ext.dockerImageName = 'nodejs8action'
apply from: '../../gradle/docker.gradle'
distDocker.dependsOn 'copyFiles'
distDocker.finalizedBy 'rmFiles'

def runners = files(
    new File(project(':core:nodejsActionBase').projectDir)
)

task copyFiles(type: Copy) {
    from runners
    into '.'
}

task rmFiles(type: Delete) {
    delete runners.collect { it.getName() }
}

But I get errors running distDocker

* What went wrong:
A problem occurred evaluating project ':core:nodejs8Action'.
> Could not find matching constructor for: java.io.File(java.io.File)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nevermind figured it out

project(':core:nodejsActionBase').projectDir

@csantanapr
Copy link
Member Author

The nodejs CTC has voted to move the release date back a few weeks in order to give more time for V8 5.8 among other things. The new target release date for 8.0.0 is May 30th. The new semver-major cutoff date will be May 9th

@jthomas
Copy link
Member

jthomas commented May 31, 2017

It is ready.
https://nodejs.org/en/blog/release/v8.0.0/

@csantanapr
Copy link
Member Author

Yep I know

@csantanapr
Copy link
Member Author

adding nodejs8 will be done in the new repo

@csantanapr csantanapr closed this Oct 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants