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

Updating README for local development #96

Merged
merged 7 commits into from
May 20, 2016
Merged

Updating README for local development #96

merged 7 commits into from
May 20, 2016

Conversation

drmaas
Copy link
Contributor

@drmaas drmaas commented May 19, 2016

No description provided.


## Environment Setup
. git clone git@github.com:spinnaker/rosco.git
. git clone https://github.com/spinnaker/spinnaker.git
Copy link

Choose a reason for hiding this comment

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

Should probably use the same-style url's here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

swagger-ui.html is the actual url it goes to.

@duftler
Copy link

duftler commented May 19, 2016

The file doesn't render properly using github's View button. Please use github-flavored markdown to annotate code snippets and urls.

@duftler
Copy link

duftler commented May 19, 2016

image

. git clone git@github.com:spinnaker/rosco.git
. git clone https://github.com/spinnaker/spinnaker.git
```
git clone git@github.com:spinnaker/rosco.git
Copy link

Choose a reason for hiding this comment

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

One url is git@... and one is https://....

(printf "PING\r\n";) | nc -v localhost 6379
```

# IDE setup
Copy link

Choose a reason for hiding this comment

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

Sorry, what I meant was that the gradle wrapper line, which I think is a comment, should begin with a #.

@@ -0,0 +1,23 @@
<code_scheme name="spinnaker">
Copy link

Choose a reason for hiding this comment

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

If this formatting template is applied to the currently committed codebase, are changes made?

Copy link

Choose a reason for hiding this comment

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

I'm not an expert on intellij, so I'm mainly looking to confirm that if somebody follows the 2 steps in 'Apply groovy code formatting scheme', that no reformatting immediately takes place.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No - you still need to highlight the code you want and apply the reformat command.

@drmaas
Copy link
Contributor Author

drmaas commented May 20, 2016

I found another gap in the documentation - I want to submit a request to Rush, however, since it runs a containerized packer build, it is not able to find my packer template (which is outside of the container).

How do you suggest getting this to work for local development?

@duftler
Copy link

duftler commented May 20, 2016

LGTM.

@duftler
Copy link

duftler commented May 20, 2016

Please squash the commits so I can merge.
This repo doesn't seem to have the 'Squash and merge commits' option enabled in github. I'll see about getting that enabled.

Scratch that, the option is there.

@duftler
Copy link

duftler commented May 20, 2016

Rush relies on the script executor abstraction to run the jobs requested by rosco. There are two implementations, local and docker. Only the local implementation is supported. The docker artifacts are there for (not very compelling) historical reasons. It originally only supported running docker containers and we weren't sure when we were doing the initial refactoring if somebody would want to reenable that support for running non-bake jobs in pipelines (this was the initial domain of rush).

Now that there is solid support for running jobs via the kubernetes integration, this is no longer a concern. As part of the in-progress merging of rush into rosco all the deprecated ScriptExecutorDocker stuff is being dropped.

When you develop locally, you'll need to ensure that packer is available on the path (of rush for the moment, and of rosco shortly).

@duftler
Copy link

duftler commented May 20, 2016

Btw, this ties back into our early conversation about the configDir config property in rosco. Rosco will pass that property on its requests to rush, and rush will need to be able to resolve that path when executing the packer commands.

@duftler duftler merged commit 6f1bc0e into spinnaker:master May 20, 2016
opsmxdemo pushed a commit to OpsMx/rosco that referenced this pull request Sep 15, 2020
Update README for local development.
Add code style guidelines for IntelliJ.
Update Authors.
opsmxdemo pushed a commit to OpsMx/rosco that referenced this pull request Sep 16, 2020
Update README for local development.
Add code style guidelines for IntelliJ.
Update Authors.
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