Repository File Args
data class RepositoryFileArgs(val authorEmail: Output<String>? = null, val authorName: Output<String>? = null, val branch: Output<String>? = null, val commitMessage: Output<String>? = null, val content: Output<String>? = null, val executeFilemode: Output<Boolean>? = null, val filePath: Output<String>? = null, val project: Output<String>? = null, val startBranch: Output<String>? = null) : ConvertibleToJava<RepositoryFileArgs>
Import
A Repository File can be imported using an id made up of <project-id>:<branch-name>:<file-path>
, e.g.
$ pulumi import gitlab:index/repositoryFile:RepositoryFile this 1:main:foo/bar.txt
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(authorEmail: Output<String>? = null, authorName: Output<String>? = null, branch: Output<String>? = null, commitMessage: Output<String>? = null, content: Output<String>? = null, executeFilemode: Output<Boolean>? = null, filePath: Output<String>? = null, project: Output<String>? = null, startBranch: Output<String>? = null)
Properties
Link copied to clipboard
Email of the commit author.
Link copied to clipboard
Name of the commit author.
Link copied to clipboard
Commit message.
Link copied to clipboard
File content. If the content is not yet base64 encoded, it will be encoded automatically. No other encoding is currently supported, because of a GitLab API bug.
Link copied to clipboard
Enables or disables the execute flag on the file. Note: requires GitLab 14.10 or newer.
Link copied to clipboard
Name of the branch to start the new commit from.