-
Notifications
You must be signed in to change notification settings - Fork 33
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
my-stamps.ru: migrate away from DigitalOcean #1631
Labels
Milestone
Comments
php-coder
added
area/infrastructure
ADR/needed
A decision has been made and it needs to be documented
labels
Aug 10, 2023
php-coder
added a commit
that referenced
this issue
Aug 10, 2023
… from GitHub Actions Part of #1631 [skip ci]
php-coder
added a commit
that referenced
this issue
Aug 23, 2023
$ cd src/main/frontend $ npm install @action-validator/core @action-validator/cli --save-dev $ npx action-validator ~/git/mystamps/.github/workflows/provision-by-terraform.yml { "actionType": "workflow", "errors": [ { "code": "parse_error", "detail": "could not find expected ':' at line 87 column 7, while scanning a simple key at line 76 column 9", "path": "", "title": "Parse Error", "location": { "index": 3416, "line": 87, "column": 7 } } ] } Correction for e59534e commit Part of #1631 [skip ci]
php-coder
added a commit
that referenced
this issue
Oct 17, 2023
…ode no changes will be made Part of #1631 [skip ci]
php-coder
added a commit
that referenced
this issue
Oct 24, 2023
This change reduces differences between prod.inventory and mystamps.inventory to let us merge them later. Part of #1631 [skip ci]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Reasons to change the hosting:
Requirements:
Plan:
tfenv
to fixtfenv: command not found
tfenv
andterraform
cat: /home/runner/work/mystamps/mystamps/tfenv/version: No such file or directory. Version could not be resolved (set by /home/runner/work/mystamps/mystamps/tfenv/version or tfenv use <version>)
(executetfenv use
after installation)terraform init
terraform plan
Error: No configuration files
-detailed-exitcode
optionterraform.tfstate
file ingenerated-terraform
branchpass a token ascommit encrypted-var
option or as env variableTF_VAR_<name>
terraform.tfvars
file (withdo_token
)generated-terraform
branch to the nested folderterraform.tfvars
file (+ always clean it up)terraform.tfstate
file (+ always clean it up)-state=terraform.tfstate
option and-var-file=terraform.tfvars
terraform.tfvars.example
file and update.gitignore
)terraform apply
or not (and how to deal with terraform's plan and possibly modified state file)sensitive
(https://www.digitalocean.com/community/tutorials/how-to-protect-sensitive-data-in-terraform) (requires terraform >= 0.14; see Update Terraform to 0.15.x #1613)--syntax-check
modeinfra/vagrant/provisioning/prod.inventory
infra/vagrant/provisioning/vars/prod.yml
ERROR! the role 'php-coder.oraclejdk' was not found
ERROR! Expecting requirements file to be a dict with the key 'collections' that contains a list of collections to install
--check
mode (resolution: as we can't fully rely on check mode (becauseshell
andcommand
are always get executed), let's not use it)Failed to connect to the host via ssh: Host key verification failed
(disable host key checking)Failed to connect to the host via ssh: no such identity: /Users/coder/.ssh/mystamps_rsa: No such file or directory
(commitmystamps_rsa
)Could not find or access '../../../target/mystamps.war
(need to build WAR file)--diff
option (and setdiff: no
to the tasks with sensitive information) (resolution: we decided to not use check mode, so this option isn't needed either)deploy.sh
). The latter has a benefit that it can be run locally, as well (easier to debug)See also similar issue for the past migration: #399
The text was updated successfully, but these errors were encountered: