-
Notifications
You must be signed in to change notification settings - Fork 7
Chore/update data docs #585
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
base: master
Are you sure you want to change the base?
Conversation
Signed by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
Signed by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
Updated count on pages Signed by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
Signed by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
Signed by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
docs/workloads/azure/data/getting_started/requirements_data_azure.md
Outdated
Show resolved
Hide resolved
docs/workloads/azure/data/getting_started/requirements_data_azure.md
Outdated
Show resolved
Hide resolved
| @@ -0,0 +1,4 @@ | |||
| ```bash | |||
| cd ~/demos | |||
| stacks-cli scaffold -c ./stacks.yml | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our file was named scaffold.yml
| git remote show origin | ||
|
|
||
| # If required, set your local branch to main | ||
| git branch -M main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can only do the rename after the initial commit.
Updated versions of Docusarus components Signed by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
| | <img src={require('../images/powershell.png').default} width="20"></img> | <CreateEnvfilePowershell /> | | ||
| | <img src={require('../images/bash.png').default} width="20"></img> | <CreateEnvfileBash /> | | ||
|
|
||
| Update the credentials file with the Azure Service Principal and the Azure DevOps PAT. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Update the credentials file with the Azure Service Principal and the Azure DevOps PAT. | |
| Update the generated credentials file (located in the project in the `local` directory) with the Azure Service Principal and the Azure DevOps PAT. |
| | Shell | Command | | ||
| |---|---| | ||
| | <img src={require('../images/powershell.png').default} width="20"></img> | <SourceNetEnvsPowershell /> | | ||
| | <img src={require('../images/bash.png').default} width="20"></img> | <SourceNetEnvsBash /> | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Getting an error at this step:
> source local/envfile_networking.bash
dirname: invalid option -- 'b'
Try 'dirname --help' for more information.
-bash: /credentials.bash: No such file or directory
Updating the first line in the envfiles to just . local/credentials.bash seems to fix it.
| - [Git repository](./requirements_data_azure#git-repository) | ||
| - [Azure Subscription](./requirements_data_azure#azure-subscription) | ||
| - Service Principal with Contributor role on the above subscription | ||
| - [Azure DevOps tenant](./requirements_data_azure#cicd---azure-devops) | ||
| - Azure DevOps Personal Access Token (PAT) | ||
| - [Tools](./requirements_data_azure#infrastructure-deployment) | ||
| - Docker Engine | ||
| - Taskctl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - [Git repository](./requirements_data_azure#git-repository) | |
| - [Azure Subscription](./requirements_data_azure#azure-subscription) | |
| - Service Principal with Contributor role on the above subscription | |
| - [Azure DevOps tenant](./requirements_data_azure#cicd---azure-devops) | |
| - Azure DevOps Personal Access Token (PAT) | |
| - [Tools](./requirements_data_azure#infrastructure-deployment) | |
| - Docker Engine | |
| - Taskctl | |
| - [Git repository](./requirements_data_azure#git-repository) | |
| - [Azure Subscription](./requirements_data_azure#azure-subscription) | |
| - Storage container for Terraform state | |
| - Service Principal with Contributor role on the above subscription | |
| - [Azure DevOps project](./requirements_data_azure#cicd---azure-devops) | |
| - Azure DevOps Personal Access Token (PAT) | |
| - [Tools](./requirements_data_azure#infrastructure-deployment) | |
| - Docker Engine | |
| - Taskctl |
|
|
||
| | Shell | Command | | ||
| |---|---| | ||
| | <img src={require('../images/powershell.png').default} width="20"></img> <br /> <img src={require('../images/bash.png').default} width="20"></img> | <TerraformDeployTasks /> | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I run taskctl infra:plan I get this error:
│ Error: the url of the Azure DevOps is required
│
│ with provider["registry.terraform.io/microsoft/azuredevops"],
│ on providers.tf line 21, in provider "azuredevops":
│ 21: provider "azuredevops" {
I think this could be because in the envfile, these are empty:
# URL of the ADO organisation to target
export TF_VAR_ado_org_url=""
# Name of the project in which the variable group will be created
export TF_VAR_ado_project_id=""
If these need to be populated manually, it needs adding into the docs.
|
|
||
| | Shell | Command | | ||
| |---|---| | ||
| | <img src={require('../images/powershell.png').default} width="20"></img> <br /> <img src={require('../images/bash.png').default} width="20"></img> | <TerraformDeployPipeline /> | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I run taskctl infrastructure I get this error:
Attempting to select or create workspace: nonprod
DEBUG: terraform workspace select -or-create=true nonprod
terraform workspace select -or-create=true nonprod
Permitted exit codes: 0
Exit code: 0
/usr/bin/chown: missing operand after ‘/workspace/.taskctl/deploy/terraform/networking/.terraform’
Try '/usr/bin/chown --help' for more information.
/usr/bin/chgrp: missing operand after ‘/workspace/.taskctl/deploy/terraform/networking/.terraform’
Try '/usr/bin/chgrp --help' for more information.
Error: pipeline infrastructure failed: exit status 1
FATA[0006] pipeline infrastructure failed: exit status 1
|
Updated this branch with changes from 2025-06-11 (Update Docusaurus to 3.8) |
Creating Draft PR to be able to add comments when testing.
📲 What
A description of the change.
🤔 Why
Why it's needed, background context.
🛠 How
More in-depth discussion of the change or implementation.
👀 Evidence
Screenshots / external resources / links / etc.
Link to documentation updated with changes impacted in the PR.
🕵️ How to test
Notes on how a reviewer can test the changes, e.g. how to run the tests.
✅ Acceptance criteria Checklist