Skip to content

Commit e69fd00

Browse files
committed
Test CI.
1 parent c3940a1 commit e69fd00

File tree

1 file changed

+3
-73
lines changed

1 file changed

+3
-73
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,7 @@ name: ci
33
on:
44
push:
55
branches:
6-
- main
7-
pull_request:
8-
branches:
9-
- main
10-
workflow_dispatch:
11-
inputs:
12-
release-type:
13-
type: choice
14-
description: A new version is published with the corresponding version bump if not set to None.
15-
options:
16-
- 'None'
17-
- 'Pre-release'
18-
- 'Patch'
19-
- 'Minor'
20-
- 'Major'
21-
default: 'None'
6+
- test-ci
227

238
concurrency:
249
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -27,61 +12,6 @@ concurrency:
2712
jobs:
2813
build-and-verify:
2914
name: Build and verify
30-
uses: arm-debug/vscode-workflows/.github/workflows/[email protected]
31-
secrets:
32-
EXTENSIONS_REPO_ACCESS_APP_ID: ${{secrets.EXTENSIONS_REPO_ACCESS_APP_ID}}
33-
EXTENSIONS_REPO_ACCESS_PRIVATE_KEY: ${{secrets.EXTENSIONS_REPO_ACCESS_PRIVATE_KEY}}
34-
GH_PACKAGES_TOKEN: ${{ secrets.GH_PACKAGES_TOKEN }}
35-
ARM_ARTIFACTORY_PASSWORD: ${{secrets.ARM_ARTIFACTORY_PASSWORD}}
36-
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
37-
with:
38-
package-manager: 'npm'
39-
enable-code-climate: true
40-
enable-ksc-next-preview: false
41-
test-on-self-hosted-ubuntu-only: false
42-
release-type: ${{ inputs.release-type }}
43-
release-and-publish:
44-
name: Release and publish
45-
needs: build-and-verify
46-
uses: arm-debug/vscode-workflows/.github/workflows/[email protected]
47-
if: ${{ github.event_name == 'workflow_dispatch' && inputs.release-type != 'None' && github.ref == 'refs/heads/main' }}
48-
with:
49-
api-types-registry-url: 'https://registry.npmjs.org'
50-
release-type: ${{inputs.release-type}}
51-
open-source: true
52-
secrets:
53-
OPEN_VSX_TOKEN: ${{secrets.OPEN_VSX_TOKEN}}
54-
VS_MARKETPLACE_TOKEN: ${{secrets.VS_MARKETPLACE_TOKEN}}
55-
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56-
EXTENSIONS_REPO_ACCESS_PRIVATE_KEY: ${{secrets.EXTENSIONS_REPO_ACCESS_PRIVATE_KEY}}
57-
EXTENSIONS_REPO_ACCESS_APP_ID: ${{secrets.EXTENSIONS_REPO_ACCESS_APP_ID}}
58-
ARM_SOFTWARE_TOKEN: ${{secrets.ARM_SOFTWARE_TOKEN}}
59-
check-copyright:
60-
name: Check Copyright Headers
61-
runs-on: ubuntu-latest
62-
env:
63-
IMAGE_NAME: ghcr.io/google/addlicense:v1.1.1
64-
steps:
65-
- uses: actions/checkout@v2
66-
- run: docker pull $IMAGE_NAME
67-
- run: docker run -v ${PWD}:/src $IMAGE_NAME -c "Arm Limited" -check src tests *.ts *.js
68-
sync-upstream:
69-
runs-on: ubuntu-latest
70-
needs: release-and-publish
15+
runs-on: [self-hosted, self-hosted-ubuntu-latest, arm64, aws-debug-prod]
7116
steps:
72-
- id: get-app-token
73-
uses: getsentry/action-github-app-token@d4b5da6c5e37703f8c3b3e43abb5705b46e159cc
74-
with:
75-
app_id: ${{ secrets.DEVELOPER_TOOLS_APP_ID }}
76-
private_key: ${{ secrets.DEVELOPER_TOOLS_PRIVATE_KEY }}
77-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
78-
with:
79-
fetch-depth: 0
80-
- name: Push to Upstream
81-
run: |
82-
git remote add upstream https://x-access-token:[email protected]/arm-developer-tools/vscode-windowsperf.git
83-
git push upstream main:main
84-
git push upstream v$VERSION
85-
env:
86-
GH_TOKEN: ${{ steps.get-app-token.outputs.token }}
87-
VERSION: ${{ needs.release-and-publish.outputs.version }}
17+
- run: echo "Hello, runners!"

0 commit comments

Comments
 (0)