Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ezdeploy #99

Merged
merged 92 commits into from
Mar 23, 2021
Merged

Ezdeploy #99

merged 92 commits into from
Mar 23, 2021

Conversation

Breanna-Stryker
Copy link
Contributor

@Breanna-Stryker Breanna-Stryker commented Mar 21, 2021

Description

This pull wraps up the first iteration of ezdeploy. Testing is pending, as of 3/21 there appears to be an issue with the azure CLI, will retry 3/22. Pre-deployment packaging for AGC isn't fully completed, pending remote deployment tests.

Issue reference

The issue this PR will close: #30, #31, #32, #33, #20, #69, #40

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • [X ] Code compiles or validates correctly
  • BASH scripts have been validated using shellcheck
  • All tests pass (manual and automated)
  • The documentation is updated to cover any new or changed features
  • Markdown files have been linted using the recommended linter. (See .vscode/extensions.json.)
  • Relevant issues are linked to this PR

Bree Stryker and others added 30 commits March 1, 2021 10:36
Bring Main Branch to Working Branch
* add the shellcheck extension to the devcontainer (#70)

Co-authored-by: Glenn Musa <glennmusa@users.noreply.github.com>

* Enable Azure Security Center in MLZ subscriptions (#55)

* Updated documentation in script

* - Added execution flag to shell scripts
- Added configure_asc.sh script
- Added code to create subs array to mlz_tf_setup.sh
- Added code to call configure_asc.sh from mlz_tf_setup.sh

* - Added executable flag to unzipprovider.sh script

* - Added executable flag to check scripts

* - Updated loop code for workspace setting

* - Created folder for ASC scripts
- Copied generate_names.sh script into ASC folder

* - Removed ASC calling code from setup script
- Updated naming in asc script
- Added ASC naming to generate script

* - Moved LAWS name generation into generate names
- Moved generate names call into loop
- Updated wait loop to use variables

* - Removed message for elapsed time
- Added quotes consistently for echo's

* - Updated Copyright statement
- Added set -e
- Modified variables to use env & location from vars file

* - Corrected counter logic
- Corrected description in names script

* output number of attempts remaining

* add a comment that this may fail

* - Removed creater comment

* unusually typo

Co-authored-by: Glenn Musa <glennmusa@users.noreply.github.com>

Co-authored-by: Glenn Musa <4622125+glennmusa@users.noreply.github.com>
Co-authored-by: Glenn Musa <glennmusa@users.noreply.github.com>
Co-authored-by: Byron Boudreaux <16844071+Phydeauxman@users.noreply.github.com>
src/scripts/config/generate_names.sh Outdated Show resolved Hide resolved
src/scripts/pre_transfer_setup.sh Outdated Show resolved Hide resolved
Comment on lines +6 to +9
# shellcheck disable=SC1090,SC1091
# SC1090: Can't follow non-constant source. Use a directive to specify location.
# SC1091: Not following. Shellcheck can't follow non-constant source.
# SC2154: "var is referenced but not assigned". These values come from an external file.
Copy link
Contributor

@glennmusa glennmusa Mar 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getting lots of shellcheck warnings because SC2154 isn't disabled on L6, unfamiliar here so I don't want to make an update and miss something that is a true positive

@brooke-hamilton brooke-hamilton merged commit 4ca3dd5 into main Mar 23, 2021
@brooke-hamilton brooke-hamilton deleted the ezdeploy branch March 23, 2021 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI Login
4 participants