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: switch from travis to gh actions (fixes #169) #170

Merged
merged 8 commits into from
Jun 26, 2022
Merged

Conversation

actionless
Copy link
Member

No description provided.

@Elv13
Copy link
Member

Elv13 commented Jun 26, 2022

Huge thanks for this. Do you want to merge that already and iterate with new PRs for the fixes or want to play whack a mole for a few iterations?

@aajjbb
Copy link
Contributor

aajjbb commented Jun 26, 2022

Should this also include a change in README.md to remove the travis reference?

@Elv13
Copy link
Member

Elv13 commented Jun 26, 2022

The issue is more that Travis removed itself. They switched off all open source projects free accounts once they consumed some "credits". I paid for the commercial version for 6months until amazing people helped to move the main repo to GitHub actions. I knew when I stopped paying it would break the -www repo, but it wasn't worth paying 1000$US a year for this repo alone.

@actionless
Copy link
Member Author

i think it's ready now

@Elv13 Elv13 merged commit d595da7 into master Jun 26, 2022
@actionless
Copy link
Member Author

now gon be the most interesting part 😹

@actionless
Copy link
Member Author

actionless commented Jun 26, 2022

apparently it needs token to be set in secrets?

https://github.com/awesomeWM/awesome-www/runs/7063206869?check_suite_focus=true#step:14:691

@actionless actionless deleted the gh-actions branch June 26, 2022 20:26
@actionless
Copy link
Member Author

and also it doesn't show the commit range correctly🙁 : https://github.com/awesomeWM/awesome-www/runs/7063206869?check_suite_focus=true#step:14:35

@Elv13
Copy link
Member

Elv13 commented Jun 26, 2022

I gave you the rights to manage the secrets for -www, you should be able to set them now

@actionless
Copy link
Member Author

no, i don't (neither for /awesome/ repo itself)

@Elv13
Copy link
Member

Elv13 commented Jun 26, 2022

you really should. Maybe it sent you an email with an invite link?

image

@Elv13
Copy link
Member

Elv13 commented Jun 26, 2022

Anyway, if for whatever reason its broken, give me instructions and I will try to set them.

@actionless
Copy link
Member Author

now i can see the secrets for www repo, but not for the main one

i need to copy the same secret from https://github.com/awesomeWM/awesome/settings/secrets/actions to https://github.com/awesomeWM/awesome-www/settings/secrets/actions

@actionless
Copy link
Member Author

(i guess key itself should be somewhere in the settings of this repo, but i can't view them neither: https://github.com/awesomeWM/awesomeWM.github.io)

@Elv13
Copy link
Member

Elv13 commented Jun 26, 2022

The AWESOME_ROBOT_TOKEN secret?

@actionless
Copy link
Member Author

yup

@actionless
Copy link
Member Author

the key i think should be at https://github.com/awesomeWM/awesomeWM.github.io/settings/keys

@Elv13
Copy link
Member

Elv13 commented Jun 26, 2022

@blueyed Can you add it to -www. I can change it, but I can't view it.

@actionless
Copy link
Member Author

i think you can just add a new key there as well if you can't view existing one: https://github.com/awesomeWM/awesomeWM.github.io/settings/keys

@Elv13
Copy link
Member

Elv13 commented Jun 26, 2022

I think it in a normal github account, not the project one ( https://github.com/awesome-robot ). I don't control that account. Let's wait a couple days and see if Daniel replies.

@actionless
Copy link
Member Author

no, i mean you can use just a deployment key frmo there: https://github.com/awesomeWM/awesomeWM.github.io/settings/keys

@actionless
Copy link
Member Author

(with write access)

@Elv13
Copy link
Member

Elv13 commented Jun 26, 2022

Right now there isn't any. I am pretty sure it was just using the robot account so far. Is it worth changing that?

@actionless
Copy link
Member Author

i think it shouldn't be much difference - as you sharing that token only with github, not with some additional third-parties like travis

@Elv13
Copy link
Member

Elv13 commented Jun 26, 2022

Ok, go ahead, I made you admin of awesomeWM.github.io

@actionless
Copy link
Member Author

my bad, i tried - it allowing to generate only ssh key but not the token :(

@actionless
Copy link
Member Author

i could generate a token from my own account in order just to test all ci step work

@actionless
Copy link
Member Author

actionless commented Jun 26, 2022

(and after testing remove the token and wait next for @blueyed to put the correct token instead of it)

@Elv13
Copy link
Member

Elv13 commented Jun 26, 2022

As a temporary solution maybe. Long term we need to find a way to manage the robot account in a way that doesn't involve a single point of failure.

But right now, getting -www to work again is worth a few hacks. It being broken is a rather big problem and I am glad you are taking upon fixing that, so go ahead.

@actionless
Copy link
Member Author

actionless commented Jun 26, 2022

now it works (i removed my personal token, so it just empty string now)

also somebody would need to set: $CLOUDFLARE_ZONE $CLOUDFLARE_AUTH_EMAIL $CLOUDFLARE_AUTH_KEY

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.

None yet

3 participants