-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
32 additions
and
28 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 |
---|---|---|
@@ -1,12 +1,14 @@ | ||
FROM ubuntu:20.04 | ||
FROM ubuntu:22.04 | ||
|
||
WORKDIR /runner | ||
|
||
COPY . /runner/ | ||
|
||
RUN set -x \ | ||
# && touch Dockerfile composer.json package.json pom.xml requirements.txt \ | ||
&& sed -i -e '/=false/s/false/true/g' /runner/conf/example-deploy.env \ | ||
&& sed -i -e '/ENV_INSTALL_JMETER=/s/true/false/' /runner/conf/example-deploy.env \ | ||
&& chmod +x /runner//deploy.sh \ | ||
&& /runner/deploy.sh --github-action | ||
RUN set -xe; \ | ||
# touch Dockerfile composer.json package.json pom.xml requirements.txt; \ | ||
mkdir data; \ | ||
cp -vf conf/example-deploy.env conf/conf/deploy.env; \ | ||
sed -i -e '/=false/s/false/true/g' data/deploy.env; \ | ||
sed -i -e '/ENV_INSTALL_JMETER=/s/true/false/' data/deploy.env; \ | ||
chmod +x deploy.sh; \ | ||
deploy.sh --github-action |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
_msg step "build image [docker]..." | ||
_msg step "[build] docker build image" | ||
|
||
DOCKER_BUILDKIT=1 docker build ${quiet_flag} \ | ||
docker build ${quiet_flag} \ | ||
--tag "${ENV_DOCKER_REGISTRY}/${ENV_DOCKER_REPO}:${image_tag}" \ | ||
--build-arg IN_CHINA="${ENV_IN_CHINA:-false}" \ | ||
"${gitlab_project_dir}" | ||
|
||
_msg time "end docker build." | ||
_msg time "[build] end docker build" |
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