Bug 1572853 [wpt PR 18359] - [ci] Convert GitHub Actions files to new format, a=testonly
authorMike Pennisi <mike@mikepennisi.com>
Wed, 14 Aug 2019 10:55:54 +0000
changeset 488105 0aae506696a208d22908d30d0332ba69abc46cf8
parent 488104 3e2785bf3ff908eb5e233b6f96ef2fad8f09c501
child 488106 fdf1fd7f2b166ff67e2d3a356786dc03a9c7846b
push id36435
push usercbrindusan@mozilla.com
push dateThu, 15 Aug 2019 09:46:49 +0000
treeherdermozilla-central@0db07ff50ab5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1572853, 18359
milestone70.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1572853 [wpt PR 18359] - [ci] Convert GitHub Actions files to new format, a=testonly Automatic update from web-platform-tests [ci] Convert GitHub Actions files to new format GitHub.com is changing the supported configuration file format for its "Actions" feature [1]. Update to the new format. This change set was produced using the tooling provided by GitHub.com [2]. [1] > The documentation at https://developer.github.com/actions and > support for the HCL syntax in GitHub Actions will be deprecated on > September 30, 2019. Documentation for the new limited public beta > using the YAML syntax is available on https://help.github.com. See > "Automating your workflow with GitHub Actions" for documentation > using the YAML syntax. https://developer.github.com/actions/ [2] https://github.com/actions/migrate -- wpt-commits: c9280b10826e8865ca6dc44f10d6d831ab8c5e41 wpt-pr: 18359
testing/web-platform/tests/.github/main.workflow
testing/web-platform/tests/.github/workflows/pull_request.yml
testing/web-platform/tests/.github/workflows/push-build-publish-documentation-website.yml
testing/web-platform/tests/.github/workflows/push-build-release-manifest.yml
deleted file mode 100644
--- a/testing/web-platform/tests/.github/main.workflow
+++ /dev/null
@@ -1,32 +0,0 @@
-workflow "Build & Release Manifest" {
-  on = "push"
-  resolves = ["manifest-build-and-tag"]
-}
-
-action "manifest-build-and-tag" {
-  uses = "./tools/docker/github"
-  runs = ["python", "tools/ci/manifest_build.py"]
-  secrets = ["GITHUB_TOKEN"]
-}
-
-workflow "Build & Publish Documentation Website" {
-  on = "push"
-  resolves = ["website-build-and-publish"]
-}
-
-action "website-build-and-publish" {
-  uses = "./tools/docker/documentation"
-  runs = ["/bin/bash", "tools/ci/website_build.sh"]
-  secrets = ["DEPLOY_TOKEN"]
-}
-
-workflow "Synchronize the Pull Request Preview" {
-  on = "pull_request"
-  resolves = "update-pr-preview"
-}
-
-action "update-pr-preview" {
-  uses = "./tools/docker/github"
-  runs = ["python", "tools/ci/update_pr_preview.py", "https://api.github.com"]
-  secrets = ["GITHUB_TOKEN"]
-}
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/.github/workflows/pull_request.yml
@@ -0,0 +1,14 @@
+on: pull_request
+name: Synchronize the Pull Request Preview
+jobs:
+  update-pr-preview:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@master
+    - name: update-pr-preview
+      uses: ./tools/docker/github
+      env:
+        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+      with:
+        entrypoint: python
+        args: tools/ci/update_pr_preview.py https://api.github.com
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/.github/workflows/push-build-publish-documentation-website.yml
@@ -0,0 +1,14 @@
+on: push
+name: Build & Publish Documentation Website
+jobs:
+  website-build-and-publish:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@master
+    - name: website-build-and-publish
+      uses: ./tools/docker/documentation
+      env:
+        DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
+      with:
+        entrypoint: /bin/bash
+        args: tools/ci/website_build.sh
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/.github/workflows/push-build-release-manifest.yml
@@ -0,0 +1,14 @@
+on: push
+name: Build & Release Manifest
+jobs:
+  manifest-build-and-tag:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@master
+    - name: manifest-build-and-tag
+      uses: ./tools/docker/github
+      env:
+        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+      with:
+        entrypoint: python
+        args: tools/ci/manifest_build.py