quarkiverse / quarkiverse-devops

Scripts to maintain Quarkiverse repositories
2 stars 2 forks source link

Upgrade to GitHub Provider 5.34.0 #178

Closed shivam-sharma7 closed 1 year ago

shivam-sharma7 commented 1 year ago

See letest provider: https://registry.terraform.io/providers/integrations/github/latest/docs/resources/actions_environment_secret

shivam-sharma7 commented 1 year ago

@gastaldi I don't know why CI failing, any help would be apreciated

gastaldi commented 1 year ago

You need to run terraform init --upgrade to also update a lock file

shivam-sharma7 commented 1 year ago

okay

shivam-sharma7 commented 1 year ago

@gastaldi see


shivamsharma@shivam:/mnt/c/Users/shivam sharma/Desktop/Open source project/quarkiverse-devops/terraform-scripts$ terraform init

Initializing the backend...
╷
│ Error: Required token could not be found
│
│ Run the following command to generate a token for app.terraform.io:
│     terraform login
gastaldi commented 1 year ago

@shivam-sharma7 I've force-pushed what changed with terraform init --upgrade

github-actions[bot] commented 1 year ago

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Validation Output ``` Success! The configuration is valid. ```

Terraform Plan 📖success


[command]/home/runner/work/_temp/144896ea-f606-4dac-a7cd-2d4ade4d9321/terraform-bin plan -no-color
Running plan in the remote backend. Output will stream here. Pressing Ctrl-C
will stop streaming the logs, but will not stop the plan running remotely.

Preparing the remote plan...

The remote workspace is configured to work with configuration at
terraform-scripts relative to the target repository.

Terraform will upload the contents of the following directory,
excluding files or directories as defined by a .terraformignore file
at /home/runner/work/quarkiverse-devops/quarkiverse-devops/.terraformignore (if it is present),
in order to capture the filesystem context the remote workspace expects:
    /home/runner/work/quarkiverse-devops/quarkiverse-devops

To view this run in a browser, visit:
https://app.terraform.io/app/quarkiverse/quarkiverse-devops/runs/run-SJ4pg3CRaXNMdrPv

Waiting for the plan to start...

Terraform v1.5.5
on linux_amd64
Initializing plugins and modules...

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.
::debug::Terraform exited with code 0.
::debug::stderr: 
::debug::exitcode: 0

Pusher: @gastaldi, Action: pull_request, Workflow: Terraform

gastaldi commented 1 year ago

Done, thanks for the update!