-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Associate deployment with credentials used to deploy it
If associated, the credentials will be used during deployment tasks. Otherwise, the default credentials will be used. Partially addresses: galaxyproject/cloudlaunch-ui#25
- Loading branch information
Showing
3 changed files
with
47 additions
and
13 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
django-cloudlaunch/cloudlaunch/migrations/0003_deployment_credentials_relationship.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.5 on 2017-12-14 12:26 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('cloudlaunch', '0002_application_display_order'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name='application', | ||
options={}, | ||
), | ||
migrations.AddField( | ||
model_name='applicationdeployment', | ||
name='credentials', | ||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='deployment_creds', to='djcloudbridge.Credentials'), | ||
), | ||
migrations.AlterField( | ||
model_name='application', | ||
name='category', | ||
field=models.ManyToManyField(blank=True, to='cloudlaunch.AppCategory'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters