Skip to content

[POC] Use Travis CI GithubAction #12212

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

Closed
wants to merge 6 commits into from

Conversation

OskarStark
Copy link
Contributor

No description provided.

@TheGarious
Copy link
Contributor

TheGarious commented Aug 26, 2019

@OskarStark

Look in this repository github : Link

You need added a token from Travis CI.

action "Test on Travis CI" {
  uses = "travis-ci/actions@master"
  secrets = [
    "TRAVIS_TOKEN",
  ]
}

@TheGarious
Copy link
Contributor

Try this :

uses = "travis-ci/actions@master"
secrets = [
    ${{ secrets.TRAVIS_TOKEN }},
]

@TheGarious
Copy link
Contributor

Can you try with this code

workflow "Launch Travis" {
  on: [push, pull_request]
  resolves = ["travis-ci"]
}

action "travis-ci" {
  uses = "travis-ci/actions@master"
  secrets = [
      ${{ secrets.TRAVIS_TOKEN }},
  ]
}

@TheGarious
Copy link
Contributor

With my build.yaml i have got access denied i need generate a token. But for this repo, i think is good.

@OskarStark OskarStark closed this Sep 4, 2019
@OskarStark OskarStark reopened this Sep 4, 2019
@OskarStark OskarStark changed the base branch from master to 3.4 September 4, 2019 07:06
@OskarStark
Copy link
Contributor Author

I don't know why its not working :(

@TheGarious
Copy link
Contributor

Again an Access Denied :/..

@TheGarious
Copy link
Contributor

I send a message for support Travis. I investigate why we have got again this error.

@OskarStark
Copy link
Contributor Author

Thank you

@javiereguiluz
Copy link
Member

Oskar, is this still POC? What can we do to move it forward? thanks!

@OskarStark
Copy link
Contributor Author

@TheGarious contacted @nicolas-grekas about a problem here, so yes its not working right now, but it should be 👍

@TheGarious can you give Javier some more context here? Thank you 🙏

@TheGarious
Copy link
Contributor

Hello @javiereguiluz and @OskarStark,

I work in my private repository for find a solution for this problem. After that i give some instruction at @nicolas-grekas for finish this POC.

Thanks

@OskarStark
Copy link
Contributor Author

Thank you

@TheGarious
Copy link
Contributor

Travis send me after few weeks ... multiple link for help me to resolve this problem.

https://github.com/BanzaiMan/travis-ci-action
https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets

I work this week-end for finish this implementation 👍

@OskarStark
Copy link
Contributor Author

Thanks 🙏

@TheGarious
Copy link
Contributor

Hello @OskarStark , i try since few day to understand their documentation and can't test into my public repository.

I sended an email at GithubAction, included a link into this pull request for finish this.

@OskarStark
Copy link
Contributor Author

Any news on this @TheGarious ?

@TheGarious
Copy link
Contributor

No, i send an email at github support, i can't now test github action into my personnal repository... If you want transfert a response from github support ?

OskarStark added a commit that referenced this pull request Feb 10, 2020
This PR was submitted for the master branch but it was squashed and merged into the 3.4 branch instead (closes #13061).

Discussion
----------

Use Sphinx GithubAction instead of Travis

This PR

- [x] closes #12212
- [x] adds a GithubAction to provide much faster feedback
- [x] removes TravisCI from the Checks
- [x] uses the same python version `3.7` like SymfonyCloud, before Travis used `2.7`

@javiereguiluz can you explain why do you need on SymfonyCloud:
https://github.com/symfony/symfony-docs/blob/a69aece424ef2dd8a969219f797b1ffb55230097/.symfony.cloud.yaml#L55

Commits
-------

9144aab Address comments by @localheinzwq
5b2a1ca Formatting + name steps
fb25022 Use one workflow file
5f3f62a Use GithubAction instead of Travis
@OskarStark OskarStark deleted the try-travis-github-action branch December 7, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants