Skip to content

Commit

Permalink
fix: node image tags (#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
DekusDenial authored Mar 21, 2024
1 parent 50b2449 commit 1e821dd
Show file tree
Hide file tree
Showing 24 changed files with 129 additions and 129 deletions.
4 changes: 2 additions & 2 deletions docs/ja/user-guide/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Screwdriver のコマンドは、ユーザが [screwdriver.yaml](./configuration
jobs:
main:
requires: [~pr, ~commit]
image: node:6
image: node:lts
steps:
- init: sd-cmd exec awscli/[email protected] -i mySecretID -s secretAccessKey -r us-west-2
```
Expand Down Expand Up @@ -142,7 +142,7 @@ habitat:

```yaml
shared:
image: node:8
image: node:lts
jobs:
main:
requires: [~pr, ~commit]
Expand Down
2 changes: 1 addition & 1 deletion docs/ja/user-guide/configuration/annotations.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ shared:
annotations:
foo: &bar # アンカーを作成
requires: [~pr, ~commit]
image: node:8
image: node:lts

jobs:
main:
Expand Down
12 changes: 6 additions & 6 deletions docs/ja/user-guide/configuration/build-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ cache:

jobs:
setnpmcache:
image: node:6
image: node:lts
steps:
- install: npm install
requires: [~commit, ~pr]
usenpmcache:
image: node:6
image: node:lts
steps:
- ls: ls
- install: npm install
Expand All @@ -54,7 +54,7 @@ jobs:
- install: git clone https://github.com/gradle/gradle-site-plugin.git && cd gradle-site-plugin && ./gradlew build
requires: [~commit, ~pr]
usejobcache:
image: node:6
image: node:lts
steps:
- ls-tmp: ls /tmp
- echo: echo hi > /tmp/test
Expand All @@ -79,18 +79,18 @@ cache:
jobs:
setnpmcache:
image: node:12
image: node:lts
steps:
- install: npm install
requires: [~commit, ~pr]
usenpmcache:
image: node:12
image: node:lts
steps:
- ls: ls
- install: npm install
requires: [setnpmcache]
no-usenpmcache:
image: node:12
image: node:lts
steps:
- ls: ls
- run-command: echo 'run command which not uses npmcache.'
Expand Down
4 changes: 2 additions & 2 deletions docs/ja/user-guide/configuration/code-coverage.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ shared:
jobs:
main:
requires: [~pr, ~commit]
image: node:14
image: node:lts
steps:
- install: npm install
- test: npm test
Expand All @@ -75,7 +75,7 @@ jobs:
jobs:
main:
requires: [~pr, ~commit]
image: node:14
image: node:lts
steps:
- install: npm install
- test: npm test
Expand Down
2 changes: 1 addition & 1 deletion docs/ja/user-guide/configuration/externalConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ childPipelines:

jobs:
main:
image: node:8
image: node:lts
steps:
- install: npm install
- publish: npm publish
Expand Down
8 changes: 4 additions & 4 deletions docs/ja/user-guide/configuration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ toc:
<span class="key">main</span>:
<a href="#requires"><span class="key">requires</span>: <span class="value">[~pr, ~commit, ~sd@123:main]</span></a>
<a href="#sourcePaths"><span class="key">sourcePaths</span>: <span class="value">["src/app/", "screwdriver.yaml"]</span></a>
<a href="#image"><span class="key">image</span>: <span class="value">node:6</span></a>
<a href="#image"><span class="key">image</span>: <span class="value">node:lts</span></a>
<a href="#steps"><span class="key">steps</span>:
- <span class="key">init</span>: <span class="value">npm install</span>
- <span class="key">test</span>: <span class="value">npm test</span></a>
Expand All @@ -53,23 +53,23 @@ toc:
- <a href="#teardown"><span class="key">teardown-save-results</span>: <span class="value">cp ./results $SD_ARTIFACTS_DIR</span></a>
<a href="#jobs"><span class="key">deploy-west</span>:
<span class="key">requires</span>: <span class="value">publish</span>
<span class="key">image</span>: <span class="value">node:6</span>
<span class="key">image</span>: <span class="value">node:lts</span>
<span class="key">environment</span>:
<span class="key">DEPLOY_ENV</span>: <span class="value">west</span>
<span class="key">steps</span>:
- <span class="key">init</span>: <span class="value">npm install</span>
- <span class="key">deploy</span>: <span class="value">npm deploy</span></a>
<a href="#jobs"><span class="key">deploy-east</span>:
<span class="key">requires</span>: <span class="value">publish</span>
<span class="key">image</span>: <span class="value">node:6</span>
<span class="key">image</span>: <span class="value">node:lts</span>
<span class="key">environment</span>:
<span class="key">DEPLOY_ENV</span>: <span class="value">east</span>
<span class="key">steps</span>:
- <span class="key">init</span>: <span class="value">npm install</span>
- <span class="key">deploy</span>: <span class="value">npm deploy</span></a>
<a href="#jobs"><span class="key">finished</span>:
<span class="key">requires</span>: <span class="value">[deploy-west, deploy-east]</span>
<span class="key">image</span>: <span class="value">node:6</span>
<span class="key">image</span>: <span class="value">node:lts</span>
<span class="key">steps</span>:
- <span class="key">echo</span>: <span class="value">echo done</span></a>
<a href="#jobs">...</a>
Expand Down
12 changes: 6 additions & 6 deletions docs/ja/user-guide/configuration/jobconfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ toc:
jobs:
main:
requires: [~pr, ~commit]
image: node:6
image: node:lts
steps:
- init: npm install
- test: npm test
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
jobs:
main:
requires: [~pr, ~commit]
image: node:8
image: node:lts
environment:
USER_SHELL_BIN: bash
steps:
Expand Down Expand Up @@ -104,7 +104,7 @@ teardownステップは、ビルドステップが完了や中断または失敗

```
shared:
image: node:8
image: node:lts
steps:
- init: npm install
- pretest: npm lint
Expand All @@ -113,7 +113,7 @@ shared:
jobs:
main:
requires: [~pr, ~commit]
image: node:6
image: node:lts
main2:
requires: [main]
steps:
Expand All @@ -126,14 +126,14 @@ jobs:
jobs:
main:
requires: [~pr, ~commit]
image: node:6
image: node:lts
steps:
- init: npm install
- pretest: npm lint
- test: npm test
main2:
requires: [main]
image: node:8
image: node:lts
steps:
- test: echo Skipping test
Expand Down
2 changes: 1 addition & 1 deletion docs/ja/user-guide/configuration/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ parameters:
screwdriver.yamlの全容は以下の通り:
```yaml
shared:
image: node:8
image: node:lts
parameters:
skip_test: ["no", "yes"]
Expand Down
4 changes: 2 additions & 2 deletions docs/ja/user-guide/configuration/sourcePaths.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ toc:
```yaml
jobs:
main:
image: node:6
image: node:lts
requires: [~pr, ~commit]
sourcePaths: ["src/app/", "screwdriver.yaml"]
steps:
Expand All @@ -65,7 +65,7 @@ Screwdriverはビルドをトリガーしたソースパスを環境変数`SD_SO
```yaml
jobs:
main:
image: node:6
image: node:lts
requires: [~pr, ~commit]
sourcePaths: ["src/app/", "screwdriver.yaml", "!src/app/package.json"]
steps:
Expand Down
28 changes: 14 additions & 14 deletions docs/ja/user-guide/configuration/workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ Screwdriver は全てのパイプラインに対し、SCM のイベントに対
```
jobs:
main:
image: node:14
image: node:lts
requires: [~pr, ~commit]
steps:
- echo: echo hi
second:
image: node:14
image: node:lts
requires: [main]
steps:
- echo: echo bye
Expand All @@ -90,7 +90,7 @@ jobs:

```
shared:
image: node:14
image: node:lts
jobs:
main:
Expand Down Expand Up @@ -120,7 +120,7 @@ Joinに似ていますが、_OR_は`requires`のジョブのいずれかが成

```
shared:
image: node:6
image: node:lts
steps:
- greet: echo hello
jobs:
Expand All @@ -142,7 +142,7 @@ jobs:
以下の例では、`staging`ブランチに対してコミットされると、`staging-commit`ジョブと `all-commit`ジョブが両方トリガーされます。また、`default`ブランチに対してコミットされると、` main`ジョブと `all-commit`ジョブが両方トリガーされます。プルリクエストが`staging`ブランチに対してオープンされると、` staging-pr`ジョブがトリガーされます。
```
shared:
image: node:8
image: node:lts
jobs:
main:
Expand Down Expand Up @@ -177,7 +177,7 @@ _注意: ブランチに対するPRのワークフローは、そのブランチ

```
shared:
image: node:12
image: node:lts
jobs:
all-tag-and-release:
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
```
jobs:
main:
image: node:14
image: node:lts
requires: [~pr, ~commit, ~sd@456:publish]
steps:
- echo: echo hi
Expand All @@ -225,7 +225,7 @@ Pipeline 3 screwdriver.yaml:

```
shared:
image: node:12
image: node:lts
steps:
- echo: echo hi
jobs:
Expand All @@ -241,7 +241,7 @@ Pipeline 2 screwdriver.yaml:

```
shared:
image: node:12
image: node:lts
steps:
- echo: echo hi
jobs:
Expand All @@ -253,7 +253,7 @@ Pipeline 4 screwdriver.yaml:

```
shared:
image: node:12
image: node:lts
steps:
- echo: echo hi
jobs:
Expand Down Expand Up @@ -284,7 +284,7 @@ jobs:

```
shared:
image: node:14
image: node:lts
jobs:
job1:
requires: [~commit, ~pr]
Expand Down Expand Up @@ -314,7 +314,7 @@ jobs:

```
shared:
image: node:14
image: node:lts
jobs:
job1:
freezeWindows: ['* * ? 3 *']
Expand Down Expand Up @@ -343,7 +343,7 @@ jobs:

```
shared:
image: node:8
image: node:lts
jobs:
detached:
Expand All @@ -361,7 +361,7 @@ jobs:

```
shared:
image: node:8
image: node:lts
subscribe:
scmUrls:
- [email protected]:supra08/functional-workflow.git: ['~commit', '~pr']
Expand Down
Loading

0 comments on commit 1e821dd

Please sign in to comment.