Skip to content
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

chore(ci): adopt METAL_AUTH_TOKEN to align with other tools #201

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

ctreatma
Copy link
Contributor

No description provided.

@@ -58,6 +58,6 @@ jobs:
- name: run tests
run: make testall
env:
METAL_API_TOKEN: ${{ secrets.METAL_API_TOKEN }}
METAL_AUTH_TOKEN: ${{ secrets.METAL_AUTH_TOKEN }}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this change won't take effect until the PR is merged. I'll kick off a manual run of the other test workflow to validate the change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orrrr not...the integration test workflow only has a push trigger on main, so we'll have to take this change on faith.

ifneq ("${METAL_API_TOKEN}", "")
@echo "metal_api_token: ${METAL_API_TOKEN}" > $(INTEGRATION_CONFIG);
ifneq ("${METAL_AUTH_TOKEN}", "")
@echo "metal_api_token: ${METAL_AUTH_TOKEN}" > $(INTEGRATION_CONFIG);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is CI-only, so the metal_api_token module parameter has not been renamed. Renaming that parameter--as well as deprecating and removing the METAL_API_TOKEN env var--is a bigger change with limited benefit at the moment.

@ctreatma
Copy link
Contributor Author

Related to #87

@ctreatma ctreatma merged commit 2ad8a88 into main Aug 6, 2024
3 of 4 checks passed
@ctreatma ctreatma deleted the metal_auth_token branch August 6, 2024 21:48
Copy link

This PR is included in version 0.10.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant