Skip to content

Commit ce29e7e

Browse files
authored
Registry docs incorrectly reference "Oracle Cloud Infrastructure" (#27)
Signed-off-by: Paul Schultz <[email protected]>
1 parent 94f98d9 commit ce29e7e

File tree

7 files changed

+42
-33
lines changed

7 files changed

+42
-33
lines changed

Diff for: .github/workflows/ci.yml

+32-21
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,35 @@ concurrency:
1111

1212
jobs:
1313
main:
14-
name: Nx Cloud - Main Job
15-
uses: nrwl/ci/.github/workflows/[email protected]
16-
secrets: inherit
17-
with:
18-
number-of-agents: 3
19-
parallel-commands: |
20-
npx nx-cloud record -- npx nx workspace-lint
21-
npx nx-cloud record -- npx nx format:check
22-
parallel-commands-on-agents: |
23-
npx nx affected --target=lint --parallel=3
24-
npx nx affected --target=test --parallel=3 --ci --code-coverage
25-
final-commands: |
26-
npx nx affected --target=build --parallel=3
27-
npx nx affected --target=e2e --parallel=3
28-
29-
agents:
30-
name: Nx Cloud - Agents
31-
uses: nrwl/ci/.github/workflows/[email protected]
32-
secrets: inherit
33-
with:
34-
number-of-agents: 3
14+
name: Main Job
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v2
20+
with:
21+
fetch-depth: 0
22+
23+
- name: Set SHA
24+
uses: nrwl/nx-set-shas@v2
25+
26+
- name: Install
27+
run: yarn install --frozen-lockfile
28+
29+
- name: Lint
30+
run: |
31+
yarn nx workspace-lint
32+
yarn nx format:check
33+
yarn nx affected --target=lint --parallel=3
34+
35+
- name: Test
36+
run: |
37+
yarn nx affected --target=test --parallel=3 --ci --code-coverage
38+
39+
- name: Build
40+
run: |
41+
yarn nx affected --target=build --parallel=3
42+
43+
- name: E2E
44+
run: |
45+
yarn nx affected --target=e2e --parallel=3

Diff for: .github/workflows/deploy-landing-page.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,13 @@ jobs:
2828
- name: Set SHA
2929
uses: nrwl/nx-set-shas@v2
3030

31-
- name: Install and Build
31+
- name: Install
32+
run: yarn install --frozen-lockfile
33+
34+
- name: Build
3235
run: |
33-
yarn install --frozen-lockfile
3436
yarn nx affected --target=postexport --project=landing-page
35-
36-
if [ -d ./dist/apps/landing-page/exported ]; then
37-
echo "is_new_build=true" >> $GITHUB_ENV
38-
fi
37+
[ -d ./dist/apps/landing-page/exported ] && echo "is_new_build=true" >> $GITHUB_ENV
3938
4039
- name: Deploy to Branch
4140
uses: JamesIves/github-pages-deploy-action@v4

Diff for: apps/landing-page/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"executor": "nx:run-commands",
88
"dependsOn": ["^build"],
99
"options": {
10-
"command": "yarn docs"
10+
"command": "bash ./scripts/docs.sh"
1111
}
1212
},
1313
"build": {

Diff for: libs/docs/src/config/github-docs-url.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const githubDocsUrl = 'https://github.com/devfile/devfile-web/tree/main/libs/docs/src/docs';

Diff for: libs/docs/src/config/index.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
export const githubDocsUrl = 'https://github.com/devfile/devfile-web/tree/main/libs/docs/src/docs';
2-
1+
export * from './github-docs-url';
32
export * from './version';

Diff for: libs/docs/src/docs/no-version/understanding-a-devfile-registry.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ description: Understanding a devfile registry
66
A devfile registry is a service that stores and provides devfile stacks
77
to Kubernetes developer tools like `odo`, Eclipse Che, and the OpenShift
88
Developer Console. Therefore, you can access devfiles through the
9-
devfile registry. Devfile registries are based on the Oracle Cloud
10-
Infrastructure (OCI) Specification, and devfile stacks are stored as OCI
9+
devfile registry. Devfile registries are based on the Open Container
10+
Initiative (OCI) Specification, and devfile stacks are stored as OCI
1111
artifacts in the registry.
1212

1313
Each devfile stack corresponds to a specific runtime or framework, such

Diff for: nx.json

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"runner": "@nrwl/nx-cloud",
1919
"options": {
2020
"cacheableOperations": [
21-
"prebuild",
2221
"build",
2322
"export",
2423
"postexport",

0 commit comments

Comments
 (0)