This repository has been archived by the owner on Mar 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use GitHub actions to build manifest, tag and release.
- Loading branch information
Showing
5 changed files
with
161 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
workflow "Build & Release Manifest" { | ||
on = "push" | ||
resolves = ["tag-master"] | ||
} | ||
|
||
action "build-manifest" { | ||
uses = "./tools/docker/github" | ||
runs = ["bash", "-c", "tools/ci/action_manifest_build.sh"] | ||
} | ||
|
||
action "tag-master" { | ||
needs = "build-manifest" | ||
uses = "./tools/docker/github" | ||
runs = ["python", "tools/ci/tag_master.py"] | ||
secrets = ["GITHUB_TOKEN"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
mkdir -p ~/meta | ||
|
||
WPT_MANIFEST_FILE=~/meta/MANIFEST.json | ||
|
||
./wpt manifest -p $WPT_MANIFEST_FILE | ||
gzip -f --best $WPT_MANIFEST_FILE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
FROM ubuntu:18.04 | ||
|
||
# No interactive frontend during docker build | ||
ENV DEBIAN_FRONTEND=noninteractive \ | ||
DEBCONF_NONINTERACTIVE_SEEN=true | ||
|
||
RUN apt-get -qqy update \ | ||
&& apt-get -qqy install \ | ||
git \ | ||
locales \ | ||
python \ | ||
python-pip \ | ||
tzdata | ||
|
||
RUN pip install --upgrade pip | ||
RUN pip install virtualenv | ||
RUN pip install requests | ||
|
||
ENV TZ "UTC" | ||
RUN echo "${TZ}" > /etc/timezone \ | ||
&& dpkg-reconfigure --frontend noninteractive tzdata | ||
|
||
# Set the locale | ||
RUN locale-gen en_US.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
ENV LANGUAGE en_US:en | ||
ENV LC_ALL en_US.UTF-8 |