Auto-generate CloudFormation with no-code and no commitment 🚀
Try Now

Announcing Altostra partnership with GitHub

Introducing the new Altostra App and Actions on GitHub Marketplace to streamline Altostra deployments into GitHub CI/CD workflows.
Yev Krupetsky

February 22 2021 · 3 min read

SHARE ON

Announcing Altostra partnership with GitHub

Hello World

For those of you who are new to Altostra, allow us to give you a brief overview.

Altostra is a no-code infrastructure platform for developers and teams.

In these days and age, you can no longer push your source code to a Git repository and go about your next ticket. The new age of cloud-native applications demands more work from developers than ever before.

Developers increasingly gain more responsibility for their applications’ infrastructure and for delivering those applications to multiple cloud environments. When you add logging, monitoring, and other aspects, you get a development team taking on DevOps work.

With Altostra by your side, you can create application infrastructures without writing code or configuration files. You deploy your applications to multiple environments governed by policies and pre-defined configuration sets. You manage your applications in a central, self-serving interface in collaboration with your team.

You do the critical business work and let Altostra do the rest.

Altostra on GitHub Marketplace

GitHub is an integral part of Altostra’s solution, from identity management to application deployments. Therefore, we decided to take it one step further and joined the GitHub Technology Partner Program for the benefit of our mutual users. Altostra is now available on the GitHub Marketplace in two forms:

The Altostra GitHub App enables Altostra to integrate with your GitHub accounts to create and manage project repositories for you and your teams.

A set of GitHub Actions that allow you to integrate Altostra into your CI/CD workflows on GitHub.

Altostra GitHub Actions

Altostra actions are the easy and fast way to integrate Altostra deployments into your GitHub CI/CD workflows.

Today, you can find two key Actions on the GitHub Marketplace, with more actions coming soon.

1. The Login Action

The Login Action is used to set up the Altostra CLI and connect it to your account using your API access token. Place this action in workflow jobs before any other Altostra action or command.

To use this action, add the following as the first step of your deployment job in the GitHub CI/CD workflow:

- id: Login
  uses: altostra/login-action@v1
  with:
    api-token: "${{ secrets.ALTO_API_KEY }}"

2. The Push and Deploy Action

Use the Push and Deploy Action to bundle an Altostra Project Image, push it to your Altostra Repository, and deploy it to an Altostra Environment — all in one step.

To use this action, add the following to your deployment job in the GitHub CI/CD workflow:

- id: Push-Deploy
  uses: altostra/push-deploy-action@v1
  with:
    env-name: Production
    instance-name: github-example
    # Optional, omit to auto-generate from current timestamp
    image-name: v1.0

Better together

Using both the login and push-deploy GitHub Actions, you can configure a full deployment job in your workflows in seconds. Now you have more time for coding and less configuration to do. Here’s an example of how it’s done:

jobs:
  deploy:
    runs-on: ubuntu-latest
    name: Build, Push and Deploy
    steps:

    - name: Login to Altostra
      uses: altostra/login-action@v1
      with:
        api-token: "${{ secrets.ALTO_API_TOKEN }}"

    - name: Checkout repository
      uses: actions/checkout@v2

    - name: Install dependencies
      run: npm ci

    - name: Run tests
      run: npm test

    - name: Build for production
      run: npm run build && npm ci --production

    - name: Deploy with Altostra
      uses: altostra/push-deploy-action@v1
      with:
        env-name: Production
        instance-name: prod-a1

Talk to us

Using the Altostra GitHub App and Actions? Want to share feedback, improvement suggestions, or have a question? We’d be happy to hear from you.

Contact us at support@altostra.com

By submitting this form, you are accepting our Terms of Service and our Privacy Policy

Thanks for subscribing!

Ready to Get Started?

Get Started for Free

Copyright © 2021 Altostra. All rights reserved.