Skip to content

Commit

Permalink
chore(ci): remove circleci (#11465)
Browse files Browse the repository at this point in the history
Signed-off-by: Marie Bremner <marwhal@fb.com>
  • Loading branch information
themarwhal committed Feb 9, 2022
1 parent a6e195e commit b66d3b1
Show file tree
Hide file tree
Showing 22 changed files with 12 additions and 1,360 deletions.
847 changes: 0 additions & 847 deletions .circleci/config.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ RUN ldconfig -v
##### Install Python requirements
RUN pip3 install --quiet --upgrade --no-cache-dir "setuptools==49.6.0"

### install python3-aioeventlet from the magma apt repo (from .circleci/config.yml)
### install python3-aioeventlet from the magma apt repo
COPY orc8r/tools/ansible/roles/pkgrepo/files/jfrog.pub /tmp/
RUN apt-key add /tmp/jfrog.pub && \
echo "deb https://facebookconnectivity.jfrog.io/artifactory/list/dev-focal/ focal main" > /etc/apt/sources.list.d/fbc.list && \
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/autolabel-pullrequests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ on: # yamllint disable-line rule:truthy
types: [opened, reopened, synchronize]
paths:
- 'ci-scripts/**'
- '.circleci/**'
- 'circleci/**'
- '.github/**'
- 'cn/**'
- 'cwf/**'
Expand Down Expand Up @@ -53,8 +51,6 @@ jobs:
for (const f of pulledFiles['data']) {
switch (true) {
case /^ci-scripts\/.*/.test(f.filename):
case /^\.circleci\/.*/.test(f.filename):
case /^circleci\/.*/.test(f.filename):
case /^\.github\/workflows\/.*/.test(f.filename):
case /^third_party\/build\/.*/.test(f.filename):
case /^orc8r\/tools\/packer\/.*/.test(f.filename):
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install python prerequisites
run: pip3 install fabric3 jsonpickle requests PyYAML PyGithub
- run: |
cd ${MAGMA_ROOT}/circleci/release
cd ${MAGMA_ROOT}/.github/workflows/scripts
fab find_release_commits
- name: Extract commit title
if: failure()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ runs:
shell: bash
run: |
# The assumption here is that packages.tar.gz was copied out and untarred
# in $MAGMA_ROOT/circleci in the magma_integ_test step
echo "${{ inputs.PATH_TO_EXEC }} ${{ inputs.EXECUTABLE_NAME }}"
cd "${{ inputs.PATH_TO_EXEC }}"
ls -R
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cwag-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
with:
go-version: '1.15.7'
- name: Run golang_before_install.sh script
run: ./circleci/golang_before_install.sh
run: ./.github/workflows/scripts/golang_before_install.sh
- name: Run go mod download with retry
uses: nick-invision/retry@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cwf-operator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
with:
go-version: '1.15.7'
- name: Run golang_before_install.sh script
run: ./circleci/golang_before_install.sh
run: ./.github/workflows/scripts/golang_before_install.sh
- name: Run go mod download with retry
uses: nick-invision/retry@v2
with:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/feg-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ jobs:
go-version: '1.15.7'
- run: go version
- name: Run golang_before_install.sh script
run: |
./circleci/golang_before_install.sh
run: ./.github/workflows/scripts/golang_before_install.sh
- name: Run go mod download with retry
uses: nick-invision/retry@v2
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fossa-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Run fossa analyze script
run: |
echo "Running fossa-analyze-go.sh"
sudo ${MAGMA_ROOT}/circleci/fossa-analyze-go.sh
sudo ${MAGMA_ROOT}/.github/workflows/scripts/fossa-analyze-go.sh
- name: Extract commit title
id: commit
if: failure() && github.event_name == 'push'
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# approvers-ci
/.circleci/ @magma/approvers-ci
/circleci/ @magma/approvers-ci
/ci-scripts/ @magma/approvers-ci
/.github/workflows/ @magma/approvers-ci
/third_party/build/ @magma/approvers-ci
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<a href="https://github.com/magma/magma/graphs/contributors"><img src="https://img.shields.io/github/contributors/magma/magma" alt="GitHub contributors"></a>
<a href="https://github.com/magma/magma/commits/master"><img src="https://img.shields.io/github/last-commit/magma/magma" alt="GitHub last commit"></a>
<a href="https://github.com/magma/magma/commits/master"><img src="https://img.shields.io/github/commit-activity/y/magma/magma" alt="GitHub commit activity the past week"></a>
<a href="https://circleci.com/gh/magma/magma"><img src="https://circleci.com/gh/magma/magma.svg?style=shield" alt="CircleCI"></a>
<a href="https://codecov.io/gh/magma/magma"><img src="https://codecov.io/gh/magma/magma/branch/master/graph/badge.svg" alt="CodeCov"></a>
<a href="docs/readmes/lte/hil_tests.md"><img src="http://ens-spirent-test-summary.com.s3-us-west-1.amazonaws.com/sanity/hilsanityres.svg" alt="HIL AGW tests"></a>
</p>
Expand Down
5 changes: 2 additions & 3 deletions ci-scripts/JenkinsFile-CWAG-integ-test
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pipeline {
}
steps{
script {
sh "./circleci/golang_before_install.sh"
sh "./.github/workflows/scripts/golang_before_install.sh"
dir("cwf/gateway"){
sh "go mod download"
sh "make -C ${MAGMA_ROOT}/cwf/gateway precommit"
Expand Down Expand Up @@ -131,8 +131,7 @@ pipeline {
}

// On failure, transfer logs of key services from docker containers and
// copy to the log directory. This will get stored as an artifact in the
// circleCI config.
// copy to the log directory. This will get stored as an artifact.
// Following lines to be translated in to Jenkins DSL yet
if (test_results) {
currentBuild.result = 'FAILURE'
Expand Down
5 changes: 2 additions & 3 deletions ci-scripts/JenkinsFile-CWAG-integ-test-libvirt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pipeline {
}
steps{
script {
sh "./circleci/golang_before_install.sh"
sh "./.github/workflows/scripts/golang_before_install.sh"
dir("cwf/gateway"){
sh "go mod download"
sh "make -C ${MAGMA_ROOT}/cwf/gateway precommit"
Expand Down Expand Up @@ -156,8 +156,7 @@ pipeline {
}

// On failure, transfer logs of key services from docker containers and
// copy to the log directory. This will get stored as an artifact in the
// circleCI config.
// copy to the log directory. This will get stored as an artifact.
// Following lines to be translated in to Jenkins DSL yet
if (test_results) {
currentBuild.result = 'FAILURE'
Expand Down
24 changes: 0 additions & 24 deletions circleci/docker/builder/Dockerfile

This file was deleted.

Loading

0 comments on commit b66d3b1

Please sign in to comment.