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

feat: new template golang-cli for repo-repo-scaffolding plugin #1231

Merged
merged 1 commit into from
Nov 15, 2022

Conversation

aFlyBird0
Copy link
Member

@aFlyBird0 aFlyBird0 commented Nov 10, 2022

Signed-off-by: Bird aflybird0@gmail.com

Pre-Checklist

Note: please complete ALL items in the following checklist.

  • I have read through the CONTRIBUTING.md documentation.
  • My code has the necessary comments and documentation (if needed).
  • I have added relevant tests

Description

  • use cobra to generate code template
  • use gorealeaser to release app by pushing tags

Related Issues

close #1230

New Behavior (screenshots if needed)

config file

---
# core config
varFile: "" # If not empty, use the specified external variables config file
toolFile: "" # If not empty, use the specified external tools config file
state: # state config, backend can be local or s3
  backend: local
  options:
    stateFile: devstream-repo-scaffolding-golang-cli.state
---
tools:
  - name: repo-scaffolding
    instanceID: golang-cli-scaffolding
    options:
      destinationRepo:
        owner: aFlyBird0
        org: ""
        repo: dtm-test-golang-cli
        branch: main
        repoType: github
      sourceRepo:
        org: aFlyBird0
        repo: dtm-repo-scaffolding-golang-cli
        repoType: github
      vars:
        AppName: gocli

image

image

image

image

image

Signed-off-by: Bird <aflybird0@gmail.com>
@aFlyBird0 aFlyBird0 requested review from IronCore864 and a team as code owners November 10, 2022 08:33
Copy link
Contributor

@steinliber steinliber left a comment

Choose a reason for hiding this comment

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

LGTM

@IronCore864
Copy link
Member

Should we create a repo at devstream-io/dtm-repo-scaffolding-golang-cli? @aFlyBird0

@aFlyBird0
Copy link
Member Author

Should we create a repo at devstream-io/dtm-repo-scaffolding-golang-cli? @aFlyBird0

Yes, I think so. I will create it.

@aFlyBird0 aFlyBird0 merged commit 90f0222 into devstream-io:main Nov 15, 2022
@aFlyBird0 aFlyBird0 deleted the repo-scaffolding-golang-cli branch December 12, 2022 04:16
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.

🍀 Proposal: new template golang-cli for repo-repo-scaffolding plugin
3 participants