SFDO-Tooling / CumulusCI

Python framework for building portable automation for Salesforce projects
http://cumulusci.readthedocs.io
BSD 3-Clause "New" or "Revised" License
362 stars 242 forks source link

Error creating 1gp release #3418

Open deb761 opened 2 years ago

deb761 commented 2 years ago

Describe the bug

Using the github action SFDO-Community/standard-workflows/.github/workflows/production-1gp.yml@main has an error accessing the packaging-org-auth-url.

In the same environment on our github repository, the SFDO-Community/standard-workflows/.github/workflows/beta-1gp.yml@main action using the same secrets runs correctly.

Reproduction steps

  1. Use repository with packaging environment and 1GP salesforce package.
  2. Environment "packaging" has DEV_HUB_AUTH_URL and PACKAGING_ORG_AUTH_URL secrets with correct values.
  3. Run SFDO-Community/standard-workflows/.github/workflows/beta-1gp.yml@main action triggered by push to branch.
  4. After completion, run SFDO-Community/standard-workflows/.github/workflows/production-1gp.yml@main.
  5. Workflow fails with: ERROR running auth:sfdxurl:store: Invalid SFDX auth URL. Must be in the format "force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>". Note that the SFDX auth URL uses the "force" protocol, and not "http" or "https". Also note that the "instanceUrl" inside the SFDX auth URL doesn't include the protocol ("https://").

Your CumulusCI and Python versions

CumulusCI version: 3.67.1 (/Users/deb/.local/bin/cci) Python version: 3.8.3 (/Users/deb/.local/pipx/venvs/cumulusci/bin/python)

Operating System

Mac OS 13.0 (22A380)

Windows environment

No response

CumulusCI installation method

pipx

Error Gist

No response

Additional information

https://github.com/Atlas-Assistance-Dogs/atlas-dogs/actions/runs/3362460764/jobs/5574213279

davidmreed commented 2 years ago

@deb761 I believe I know the issue here and I will seek to address it this evening. Sorry for the trouble!