Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • POD POD
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 57
    • Issues 57
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MemriMemri
  • PODPOD
  • Merge requests
  • !208

unsafe mode

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Koen van der Veen requested to merge unsafe_plugin_mode into dev Jun 18, 2021
  • Overview 25
  • Commits 13
  • Pipelines 13
  • Changes 4

Introduces unsafe mode:

  • adds cli argument --insecure-plugin-script my_plugin_name=/path/to/my/script
  • when running a plugin, matches passed container with the part before the "="
  • if it matches, set standard environment variables & executes the files defined in the part after the "="

@vasili, please review and let me know what I need to update in order to get this to dev branch quality. This has been manually tested on my local machine with both docker plugins and insecure plugins. Both worked correctly

Edited Jun 22, 2021 by Koen van der Veen
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: unsafe_plugin_mode