Skip to content

Conversation

mtreinish
Copy link
Contributor

Summary

The 0.5.0 docs publishing job resulted in failure because the openssl command to decrypt the credentials file for uploading the docs errored. The IFS (internal field separator) variable was getting set too broadly at the the level of the entire script instead of just the tag parsing. This was causing the passing of the secrets for decrypting the credential files to fail. This commit updates the IFS usage so it's not affecting the other commands after we split the tag version. This should fix the deploy job for future releases.

Details and comments

The 0.5.0 docs publishing job resulted in failure because the openssl
command to decrypt the credentials file for uploading the docs errored.
The IFS (internal field separator) variable was getting set too broadly
at the the level of the entire script instead of just the tag parsing.
This was causing the passing of the secrets for decrypting the
credential files to fail. This commit updates the IFS usage so it's
not affecting the other commands after we split the tag version. This
should fix the deploy job for future releases.
@mtreinish mtreinish added the backport stable potential The issue or PR might be minimal and/or import enough to backport to stable label Mar 28, 2023
@mtreinish mtreinish requested a review from coruscating March 28, 2023 22:06
@coruscating coruscating enabled auto-merge March 28, 2023 22:12
@coruscating coruscating added this pull request to the merge queue Mar 28, 2023
Merged via the queue into qiskit-community:main with commit 8fe22c9 Mar 28, 2023
mergify bot pushed a commit that referenced this pull request Mar 28, 2023
### Summary

The 0.5.0 docs publishing job resulted in failure because the openssl
command to decrypt the credentials file for uploading the docs errored.
The IFS (internal field separator) variable was getting set too broadly
at the the level of the entire script instead of just the tag parsing.
This was causing the passing of the secrets for decrypting the
credential files to fail. This commit updates the IFS usage so it's not
affecting the other commands after we split the tag version. This should
fix the deploy job for future releases.

### Details and comments

(cherry picked from commit 8fe22c9)

# Conflicts:
#	tools/deploy_documentation.sh
@mtreinish mtreinish deleted the fix-deploy-docs-script branch March 29, 2023 12:27
@mtreinish
Copy link
Contributor Author

@Mergifyio backport stable/0.5

@mergify
Copy link

mergify bot commented Mar 29, 2023

backport stable/0.5

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Mar 29, 2023
### Summary

The 0.5.0 docs publishing job resulted in failure because the openssl
command to decrypt the credentials file for uploading the docs errored.
The IFS (internal field separator) variable was getting set too broadly
at the the level of the entire script instead of just the tag parsing.
This was causing the passing of the secrets for decrypting the
credential files to fail. This commit updates the IFS usage so it's not
affecting the other commands after we split the tag version. This should
fix the deploy job for future releases.

### Details and comments

(cherry picked from commit 8fe22c9)
coruscating pushed a commit that referenced this pull request Mar 29, 2023
This is an automatic backport of pull request #1110 done by
[Mergify](https://mergify.com).


---


<details>
<summary>Mergify commands and options</summary>

<br />

More conditions and actions can be found in the
[documentation](https://docs.mergify.com/).

You can also trigger Mergify actions by commenting on this pull request:

- `@Mergifyio refresh` will re-evaluate the rules
- `@Mergifyio rebase` will rebase this PR on its base branch
- `@Mergifyio update` will merge the base branch into this PR
- `@Mergifyio backport <destination>` will backport this PR on
`<destination>` branch

Additionally, on Mergify [dashboard](https://dashboard.mergify.com/) you
can:

- look at your merge queues
- generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com
</details>

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport stable potential The issue or PR might be minimal and/or import enough to backport to stable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants