GitLab is a fully-integrated DevOps service that not only provides git repository management but also allows you to collaborate using issue boards, setup build and deployment pipelines. It provides an end-to-end solution that starts from your code and ends with your customers, all without ever having to leave GitLab.
And with Pulumi on GitLab, you truly never have to leave GitLab, not even to provision your infrastructure to run your services on the cloud.
Learn more about GitLab here.
- Log into
app.pulumi.comusing the GitLab Sign-in.
- Click on the organizations dropdown menu and select Add an organization.
- On the next page, you may select your GitLab group, based on which a Pulumi organization will be created.
- Once the organization is created, you can create stacks in your newly created organization, so that other members of your organization can collaborate with you.
Select the organization you created from the organization dropdown menu. You should see a People tab. Select the People tab.
- You will see the People tab if you added the organization on Pulumi or if you are an Owner of the GitLab group on gitlab.com.
- Members must have an active and valid role in your GitLab group, so that you may invite them.
From the People tab, you can invite additional members in your group to also use Pulumi. By inviting members in your group to join Pulumi, you can collaborate with them more easily and share stacks, just like you would collaborate on a project on GitLab.
When you run Pulumi in a GitLab-based repo, the pulumi CLI recognizes the correct metadata based on your repository’s
remote configuration and uses that information to enhance your experience on
Here’s an example of a project hosted on gitlab.com.
Here’s the same project with some activity having links to the commit-hash, and the branch in which this stack was updated.
Click the GitLab sign-in button on https://app.pulumi.com, Pulumi will redirect you to gitlab.com where GitLab will present you with the sign-in options to login into your GitLab account. At that point, you may choose any of the sign-in options GitLab provides to sign-in.
I already have an account on Pulumi with my GitHub account. Will signing-in with my GitLab identity create a new account?
Yes. Signing-in with a GitLab account will create a new account. That means, your stacks and activity will stay with the other account. You can migrate them by performing a
pulumi stack export from your source stack and then importing it using
pulumi stack import in a new stack in your GitLab-based account.
The ability to link multiple identities to the same Pulumi account is in the works and will be coming soon!
One of the benefits of using
app.pulumi.com is to track the state of your stacks. When you are running the pulumi CLI on your machine, you can login into your account by typing
pulumi login. There are two options for you to complete the login process. You can either create an Access Token on
app.pulumi.com or simply press ENTER to let the CLI launch the browser.
If you would like to let the CLI launch the browser, ensure that you are already signed-in using GitLab at
app.pulumi.com using your machine’s default browser. This way, when the browser is launched by the CLI, your Pulumi account based on your GitLab identity would be automatically used.
Not yet. But it is coming soon!
We hope that this new integration is useful to you. Let us know at https://slack.pulumi.io