Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,761
    • Issues 44,761
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,332
    • Merge requests 1,332
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #195173
Closed
Open
Issue created Jan 06, 2020 by Orit Golowinski@ogolowinskiDeveloper

POC for running GitHub Actions or Orbs from the Gitlab-ci.yml file

Problem to solve

We want to be able to run GitHub actions and/or Circle CI orbs from GitLab

Intended users

  • Sasha (Software Developer)
  • Devon (DevOps Engineer)

Further details

build:

  image: ubuntu-latest
  
  script:
    
    - uses: actions/checkout@sha256
      
      with:
        
        - my_config
    
    - uses: setup-node
@SHA256   
    - npm install
    
    - npm publish



 build2:
  
  image: ubuntu-latest
  
  script:
    
    - uses: actions/aws_builder:sha256
      
      with:
        
        - aws_secret:
$AWS_SECRET       
        - aws_username:
$AWS_USERNAME

GitHub Actions (How we think it would be interpreted to .gitlab-ci.yml) https://gitlab.com/gitlab-org/gitlab/uploads/4feb5d04baef38b7450943f406043b42/image.png

GitHub Actions (How we think it would be interpreted to .gitlab-ci.yml with AWS variables) image

Circle CI Orbs (How we think it would be interpreted to .gitlab-ci.yml) image

Recording of discussion of AWS deployments https://gitlab.zoom.us/rec/share/38hMDevhyEdObqvfsGWGQLcbPa39X6a81SgXqacOyPkJC98pL-aFwzYUk5CnwpY

Proposal

The purpose of this issue is to successfully run a GitHub action or Circle CI orb from the .gitlab-ci.yml file.

Steps of the POC:

  • Decide which method is easier and more compatible with .gitlab-ci.yml
  • Select an action/orb with intermediate complexity (transferring parameters)
  • Successfully running the action/orb directly to/from AWS
  • Create documentation of what is needed in order to use actions/orbs from the .gitlab-ci.yml, including which environment variables and secrets

Permissions and Security

Documentation

Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Links / references

  • https://circleci.com/orbs/registry/orb/circleci/aws-s3
  • https://help.github.com/en/actions/automating-your-workflow-with-github-actions/publishing-nodejs-packages [https://circleci.com/docs/2.0/reusing-config/ ]
  • (https://circleci.com/docs/2.0/reusing-config/%E2%80%A9)
  • https://circleci.com/orbs/registry/orb/circleci/aws-s3![image](/uploads/cc8c7508fca30179f7bb692e16e43e88/image.png)
Edited Jan 21, 2020 by Jason Yavorska
Assignee
Assign to
Time tracking