Skip to content

Registry docs incorrectly reference "Oracle Cloud Infrastructure" #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Sep 2, 2022
53 changes: 32 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,35 @@ concurrency:

jobs:
main:
name: Nx Cloud - Main Job
uses: nrwl/ci/.github/workflows/[email protected]
secrets: inherit
with:
number-of-agents: 3
parallel-commands: |
npx nx-cloud record -- npx nx workspace-lint
npx nx-cloud record -- npx nx format:check
parallel-commands-on-agents: |
npx nx affected --target=lint --parallel=3
npx nx affected --target=test --parallel=3 --ci --code-coverage
final-commands: |
npx nx affected --target=build --parallel=3
npx nx affected --target=e2e --parallel=3

agents:
name: Nx Cloud - Agents
uses: nrwl/ci/.github/workflows/[email protected]
secrets: inherit
with:
number-of-agents: 3
name: Main Job
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set SHA
uses: nrwl/nx-set-shas@v2

- name: Install
run: yarn install --frozen-lockfile

- name: Lint
run: |
yarn nx workspace-lint
yarn nx format:check
yarn nx affected --target=lint --parallel=3

- name: Test
run: |
yarn nx affected --target=test --parallel=3 --ci --code-coverage

- name: Build
run: |
yarn nx affected --target=build --parallel=3

- name: E2E
run: |
yarn nx affected --target=e2e --parallel=3
11 changes: 5 additions & 6 deletions .github/workflows/deploy-landing-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,13 @@ jobs:
- name: Set SHA
uses: nrwl/nx-set-shas@v2

- name: Install and Build
- name: Install
run: yarn install --frozen-lockfile

- name: Build
run: |
yarn install --frozen-lockfile
yarn nx affected --target=postexport --project=landing-page

if [ -d ./dist/apps/landing-page/exported ]; then
echo "is_new_build=true" >> $GITHUB_ENV
fi
[ -d ./dist/apps/landing-page/exported ] && echo "is_new_build=true" >> $GITHUB_ENV

- name: Deploy to Branch
uses: JamesIves/github-pages-deploy-action@v4
Expand Down
2 changes: 1 addition & 1 deletion apps/landing-page/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"executor": "nx:run-commands",
"dependsOn": ["^build"],
"options": {
"command": "yarn docs"
"command": "bash ./scripts/docs.sh"
}
},
"build": {
Expand Down
1 change: 1 addition & 0 deletions libs/docs/src/config/github-docs-url.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const githubDocsUrl = 'https://github.com/devfile/devfile-web/tree/main/libs/docs/src/docs';
3 changes: 1 addition & 2 deletions libs/docs/src/config/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export const githubDocsUrl = 'https://github.com/devfile/devfile-web/tree/main/libs/docs/src/docs';

export * from './github-docs-url';
export * from './version';
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ description: Understanding a devfile registry
A devfile registry is a service that stores and provides devfile stacks
to Kubernetes developer tools like `odo`, Eclipse Che, and the OpenShift
Developer Console. Therefore, you can access devfiles through the
devfile registry. Devfile registries are based on the Oracle Cloud
Infrastructure (OCI) Specification, and devfile stacks are stored as OCI
devfile registry. Devfile registries are based on the Open Container
Initiative (OCI) Specification, and devfile stacks are stored as OCI
artifacts in the registry.

Each devfile stack corresponds to a specific runtime or framework, such
Expand Down
1 change: 0 additions & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"runner": "@nrwl/nx-cloud",
"options": {
"cacheableOperations": [
"prebuild",
"build",
"export",
"postexport",
Expand Down