Skip to content

A plugin for Hashicorp Waypoint for pushing build artifacts to GitLab

Notifications You must be signed in to change notification settings

paladin-devops/waypoint-plugin-gitlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Waypoint GitLab Plugin

Plugin for Hashicorp Waypoint to push artifacts to a GitLab registry

Usage

Inputs

  • name = name of the package being pushed
  • version = version # of the package
  • project_id = GitLab project ID
  • file_name = name of the file to upload to GitLab
  • token = GitLab API token for pushing to registry

Example

project = "hello-go"

plugin "gitlab" {
  type {
    registry = true
    mapper = true
  }
}

app "hello-go" {
  build {
    use "go" {
      source      = "./"
      output_name = "hello"
    }
    registry {
      use "gitlab" {
        name       = "hello-app"
        version    = "1.0.0"
        project_id = 123456789
        file_name  = "hello"
        token      = "MY_GITLAB_TOKEN"
      }
    }
  }

  deploy {
    use "exec" {
      command = ["echo", "Build", "complete!"]
    }
  }
}

About

A plugin for Hashicorp Waypoint for pushing build artifacts to GitLab

Resources

Stars

Watchers

Forks

Packages

No packages published