Skip to content
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #745 from zhxu73/argo_deploy
Browse files Browse the repository at this point in the history
Release v37-0
  • Loading branch information
zhxu73 authored Aug 13, 2020
2 parents e53287c + f992cb2 commit 9235481
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,18 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
- <in case of vulnerabilities>
-->

## [Unreleased](https://github.com/cyverse/atmosphere/compare/v36-9...HEAD) - YYYY-MM-DD
## [Unreleased](https://github.com/cyverse/atmosphere/compare/v37-0...HEAD) - YYYY-MM-DD



## [v37-0](https://github.com/cyverse/atmosphere/compare/v36-9...v37-0) - 2020-08-13
### Added
- script to create access token for users
([#744](https://github.com/cyverse/atmosphere/pull/744))

### Changed
- Using argo workflow to run ansible playbooks to deploy instance

([#744](https://github.com/cyverse/atmosphere/pull/744))

## [v36-9](https://github.com/cyverse/atmosphere/compare/v36-8...v36-9) - 2020-06-16
### Fixed
Expand Down
4 changes: 2 additions & 2 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ else
fi

# Validate argo config
cat $SECRETS_DIR/argo.config.yml | python -c "import yaml, json, sys; print(json.dumps(yaml.safe_load(sys.stdin.read())));" | tee /tmp/argo_config.json
jsonschema -i /tmp/argo_config.json argo_config.schema
cat $SECRETS_DIR/argo/config.yml | python -c "import yaml, json, sys; print(json.dumps(yaml.safe_load(sys.stdin.read())));" > /tmp/argo_config.json
jsonschema -i /tmp/argo_config.json /opt/dev/atmosphere/docker/argo_config.schema
rm /tmp/argo_config.json

# Start services
Expand Down
2 changes: 1 addition & 1 deletion service/argo/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def read_argo_config(config_file_path=None, provider_uuid=None):
all_config = yaml.safe_load(config_file.read())

# validate config
if isinstance(all_config, dict):
if not isinstance(all_config, dict):
raise ArgoConfigFileError("config root not key-value")
if "default" not in all_config:
raise ArgoConfigFileError("default missing")
Expand Down

0 comments on commit 9235481

Please sign in to comment.